Diffstat (limited to 'examples/todayplugin/examplepluginimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | examples/todayplugin/examplepluginimpl.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/examples/todayplugin/examplepluginimpl.h b/examples/todayplugin/examplepluginimpl.h new file mode 100644 index 0000000..2c10583 --- a/dev/null +++ b/examples/todayplugin/examplepluginimpl.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* | ||
2 | * examplepluginimpl.h | ||
3 | * | ||
4 | * copyright : (c) 2004 by Maximilian Reiß | ||
5 | * email : harlekin@handhelds.org | ||
6 | * | ||
7 | */ | ||
8 | /*************************************************************************** | ||
9 | * * | ||
10 | * This program is free software; you can redistribute it and/or modify * | ||
11 | * it under the terms of the GNU General Public License as published by * | ||
12 | * the Free Software Foundation; either version 2 of the License, or * | ||
13 | * (at your option) any later version. * | ||
14 | * * | ||
15 | ***************************************************************************/ | ||
16 | |||
17 | #ifndef EXAMPLE_PLUGIN_IMPL_H | ||
18 | #define EXAMPLE_PLUGIN_IMPL_H | ||
19 | |||
20 | #include <opie/todayplugininterface.h> | ||
21 | |||
22 | class ExamplePlugin; | ||
23 | |||
24 | class ExamplePluginImpl : public TodayPluginInterface{ | ||
25 | |||
26 | public: | ||
27 | ExamplePluginImpl(); | ||
28 | virtual ~ExamplePluginImpl(); | ||
29 | |||
30 | QRESULT queryInterface( const QUuid &, QUnknownInterface** ); | ||
31 | Q_REFCOUNT | ||
32 | |||
33 | virtual TodayPluginObject *guiPart(); | ||
34 | |||
35 | private: | ||
36 | ExamplePlugin *examplePlugin; | ||
37 | ulong ref; | ||
38 | }; | ||
39 | |||
40 | #endif | ||