summaryrefslogtreecommitdiff
Unidiff
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 @@
1/*
2 * LGPLv2 zecke@handhelds.org
3 */
4#ifndef ODP_OPIE_UI_OPLUGIN_CONFIG_H
5#define ODP_OPIE_UI_OPLUGIN_CONFIG_H
6
7#include <qwidget.h>
8
9namespace Opie {
10namespace Core {
11 class OPluginManager;
12 class OGenericPluginLoader;
13}
14namespace Ui {
15class OPluginConfig : public QWidget {
16public:
17 enum Mode { Queued, Immediate };
18 OPluginConfig( QWidget* wid, const char*, WFlags fl );
19 OPluginConfig( OGenericPluginManager* manager, QWidget* wid,
20 const char* name, WFlags fl );
21 OPluginConfig( OPluginLoader* loader, QWidget* wid, const char* name,
22 WFlags fl );
23
24 ~OPluginConfig();
25
26 void setMode( enum Mode );
27 Mode mode()const;
28
29 void insert( const OPluginManager* );
30 void insert( const OPluginLoader* , const QString& name );
31
32 void load();
33 void save();
34};
35}
36}
37
38#endif