-rw-r--r-- | libopie2/opiepim/ui/oholidayplugin.h | 8 | ||||
-rw-r--r-- | libopie2/opiepim/ui/oholidaypluginif.h | 7 |
2 files changed, 7 insertions, 8 deletions
diff --git a/libopie2/opiepim/ui/oholidayplugin.h b/libopie2/opiepim/ui/oholidayplugin.h index f4958c8..50dfe13 100644 --- a/libopie2/opiepim/ui/oholidayplugin.h +++ b/libopie2/opiepim/ui/oholidayplugin.h | |||
@@ -1,12 +1,12 @@ | |||
1 | #ifndef _HOLIDAY_PLUGIN_H | 1 | #ifndef _HOLIDAY_PLUGIN_H |
2 | #define _HOLIDAY_PLUGIN_H | 2 | #define _HOLIDAY_PLUGIN_H |
3 | 3 | ||
4 | namespace Opie { | ||
5 | namespace Datebook { | ||
6 | |||
7 | #include <qstring.h> | 4 | #include <qstring.h> |
8 | #include <qstringlist.h> | 5 | #include <qstringlist.h> |
9 | #include <qdate.h> | 6 | #include <qdatetime.h> |
7 | |||
8 | namespace Opie { | ||
9 | namespace Datebook { | ||
10 | 10 | ||
11 | class HolidayPlugin | 11 | class HolidayPlugin |
12 | { | 12 | { |
diff --git a/libopie2/opiepim/ui/oholidaypluginif.h b/libopie2/opiepim/ui/oholidaypluginif.h index 6d36f08..874e5a3 100644 --- a/libopie2/opiepim/ui/oholidaypluginif.h +++ b/libopie2/opiepim/ui/oholidaypluginif.h | |||
@@ -1,13 +1,12 @@ | |||
1 | #ifndef _O_HOLIDAY_PLUGIN_IF_H | 1 | #ifndef _O_HOLIDAY_PLUGIN_IF_H |
2 | #define _O_HOLIDAY_PLUGIN_IF_H | 2 | #define _O_HOLIDAY_PLUGIN_IF_H |
3 | |||
4 | #include <opie2/odebug.h> | 3 | #include <opie2/odebug.h> |
5 | |||
6 | #include <qpe/qcom.h> | 4 | #include <qpe/qcom.h> |
5 | #include <qpe/quuid.h> | ||
7 | 6 | ||
8 | #ifndef QT_NO_COMPONENT | 7 | #ifndef QT_NO_COMPONENT |
9 | //"b981b4e9-6d5d-4ee0-a193-f8d0e443809b" | 8 | //"b981b4e9-6d5d-4ee0-a193-f8d0e443809b" |
10 | #define IID_HOLIDAY_PLUGIN QUuid(0xb981b4e9, 0x6d5d, 0x4ee0 0xa1, 0x93,0xf8, 0xd0, 0xe4, 0x43, 0x80, 0x9b) | 9 | #define IID_HOLIDAY_PLUGIN QUuid( 0xb981b4e9, 0x6d5d, 0x4ee0, 0xa1, 0x93,0xf8, 0xd0, 0xe4, 0x43, 0x80, 0x9b) |
11 | #endif | 10 | #endif |
12 | 11 | ||
13 | namespace Opie { | 12 | namespace Opie { |
@@ -24,7 +23,7 @@ public: | |||
24 | virtual HolidayPlugin*plugin()=0; | 23 | virtual HolidayPlugin*plugin()=0; |
25 | }; | 24 | }; |
26 | 25 | ||
27 | template<class T>HolidayPluginWrapper:public HolidayPluginIf | 26 | template<class T> class HolidayPluginWrapper:public HolidayPluginIf |
28 | { | 27 | { |
29 | public: | 28 | public: |
30 | HolidayPluginWrapper():HolidayPluginIf(),_plugin(0){} | 29 | HolidayPluginWrapper():HolidayPluginIf(),_plugin(0){} |