summaryrefslogtreecommitdiff
path: root/core/launcher/serverinterface.h
authorzecke <zecke>2004-04-19 07:12:16 (UTC)
committer zecke <zecke>2004-04-19 07:12:16 (UTC)
commit0b59a16b5a5a179c46ddb3f8c585dbca59b2826e (patch) (side-by-side diff)
tree3780a3ae09806e781582aefb23ad3040bc15d816 /core/launcher/serverinterface.h
parent359b681f32d5c3ac2ea3bfd39a3637d211338bf7 (diff)
downloadopie-0b59a16b5a5a179c46ddb3f8c585dbca59b2826e.zip
opie-0b59a16b5a5a179c46ddb3f8c585dbca59b2826e.tar.gz
opie-0b59a16b5a5a179c46ddb3f8c585dbca59b2826e.tar.bz2
Small interface update. If we add doctypes disable the viewport() for
updates
Diffstat (limited to 'core/launcher/serverinterface.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/serverinterface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/launcher/serverinterface.h b/core/launcher/serverinterface.h
index e57ea51..132766f 100644
--- a/core/launcher/serverinterface.h
+++ b/core/launcher/serverinterface.h
@@ -41,24 +41,26 @@ public:
virtual void typeRemoved( const QString& type ) = 0;
// These functions notify when an application is added or removed and to which category it belongs
virtual void applicationAdded( const QString& type, const AppLnk& doc ) = 0;
virtual void applicationRemoved( const QString& type, const AppLnk& doc ) = 0;
virtual void allApplicationsRemoved() = 0;
// Useful for wait icons, or running application lists etc
enum ApplicationState { Launching, Running, Terminated };
virtual void applicationStateChanged( const QString& name, ApplicationState state ) = 0;
static const AppLnkSet& appLnks();
// These functions notify of adding, removal and changes of document links used in the documents tab for example
+ virtual void aboutToAddBegin() {}
+ virtual void aboutToAddEnd() {}
virtual void documentAdded( const DocLnk& doc ) = 0;
virtual void documentRemoved( const DocLnk& doc ) = 0;
virtual void allDocumentsRemoved() = 0;
virtual void documentChanged( const DocLnk& oldDoc, const DocLnk& newDoc ) = 0;
virtual void storageChanged( const QList<FileSystem> & ) = 0;
virtual void applicationScanningProgress( int percent ) = 0;
virtual void documentScanningProgress( int percent ) = 0;
// Tells the server if the GUI needs to be updated about documents or applnks
virtual bool requiresApplications() const = 0;