summaryrefslogtreecommitdiff
authorzecke <zecke>2004-05-10 21:12:29 (UTC)
committer zecke <zecke>2004-05-10 21:12:29 (UTC)
commitd6759c4a53426e01c2bec7d00d703b76da992d78 (patch) (side-by-side diff)
tree3370ea649fa3eedd6f607fa0f2b4864c8dca22ab
parent23a70b8db47ea571bf9a35f4ff8f5696a6c9c1d3 (diff)
downloadopie-d6759c4a53426e01c2bec7d00d703b76da992d78.zip
opie-d6759c4a53426e01c2bec7d00d703b76da992d78.tar.gz
opie-d6759c4a53426e01c2bec7d00d703b76da992d78.tar.bz2
Initial draft for the GUI configurator
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/opluginconfig.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/libopie2/opieui/opluginconfig.h b/libopie2/opieui/opluginconfig.h
new file mode 100644
index 0000000..1ff4858
--- a/dev/null
+++ b/libopie2/opieui/opluginconfig.h
@@ -0,0 +1,38 @@
+/*
+ * LGPLv2 zecke@handhelds.org
+ */
+#ifndef ODP_OPIE_UI_OPLUGIN_CONFIG_H
+#define ODP_OPIE_UI_OPLUGIN_CONFIG_H
+
+#include <qwidget.h>
+
+namespace Opie {
+namespace Core {
+ class OPluginManager;
+ class OGenericPluginLoader;
+}
+namespace Ui {
+class OPluginConfig : public QWidget {
+public:
+ enum Mode { Queued, Immediate };
+ OPluginConfig( QWidget* wid, const char*, WFlags fl );
+ OPluginConfig( OGenericPluginManager* manager, QWidget* wid,
+ const char* name, WFlags fl );
+ OPluginConfig( OPluginLoader* loader, QWidget* wid, const char* name,
+ WFlags fl );
+
+ ~OPluginConfig();
+
+ void setMode( enum Mode );
+ Mode mode()const;
+
+ void insert( const OPluginManager* );
+ void insert( const OPluginLoader* , const QString& name );
+
+ void load();
+ void save();
+};
+}
+}
+
+#endif