summaryrefslogtreecommitdiffstats
path: root/ksplashml/ksplashiface.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksplashml/ksplashiface.h')
-rw-r--r--ksplashml/ksplashiface.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/ksplashml/ksplashiface.h b/ksplashml/ksplashiface.h
new file mode 100644
index 000000000..2e8e7a8fc
--- /dev/null
+++ b/ksplashml/ksplashiface.h
@@ -0,0 +1,38 @@
+/***************************************************************************
+ * Copyright Ravikiran Rajagopal 2003 *
+ * ravi@ee.eng.ohio-state.edu *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License (version 2) as *
+ * published by the Free Software Foundation. (The original KSplash/ML *
+ * codebase (upto version 0.95.3) is BSD-licensed.) *
+ * *
+ ***************************************************************************/
+
+#ifndef __KSPLASHIFACE_H__
+#define __KSPLASHIFACE_H__
+
+#include <dcopobject.h>
+
+#include <qstring.h>
+
+/** @short DCOP interface for KSplash. */
+class KSplashIface : virtual public DCOPObject
+{
+ K_DCOP
+public:
+ KSplashIface( const char *name = "ksplash" ) : DCOPObject(name) {}
+
+k_dcop:
+ virtual ASYNC upAndRunning( QString ) = 0;
+ virtual ASYNC setMaxProgress(int) = 0;
+ virtual ASYNC setProgress(int) = 0;
+ virtual ASYNC setStartupItemCount( int count ) = 0;
+ virtual ASYNC programStarted( QString programIcon, QString programName, QString description ) = 0;
+ virtual ASYNC startupComplete() = 0;
+ virtual ASYNC close() = 0;
+ virtual ASYNC hide() = 0;
+ virtual ASYNC show() = 0;
+};
+
+#endif