summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/ui/oholidaypluginif.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libopie2/opiepim/ui/oholidaypluginif.h b/libopie2/opiepim/ui/oholidaypluginif.h
index 874e5a3..99ed563 100644
--- a/libopie2/opiepim/ui/oholidaypluginif.h
+++ b/libopie2/opiepim/ui/oholidaypluginif.h
@@ -1,11 +1,10 @@
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#include <opie2/odebug.h> 3#include <opie2/odebug.h>
4#include <qpe/qcom.h> 4#include <qpe/qcom.h>
5#include <qpe/quuid.h>
6 5
7#ifndef QT_NO_COMPONENT 6#ifndef QT_NO_COMPONENT
8//"b981b4e9-6d5d-4ee0-a193-f8d0e443809b" 7//"b981b4e9-6d5d-4ee0-a193-f8d0e443809b"
9#define IID_HOLIDAY_PLUGIN QUuid( 0xb981b4e9, 0x6d5d, 0x4ee0, 0xa1, 0x93,0xf8, 0xd0, 0xe4, 0x43, 0x80, 0x9b) 8#define IID_HOLIDAY_PLUGIN QUuid( 0xb981b4e9, 0x6d5d, 0x4ee0, 0xa1, 0x93,0xf8, 0xd0, 0xe4, 0x43, 0x80, 0x9b)
10#endif 9#endif
11 10
@@ -34,13 +33,13 @@ public:
34 *iface = 0; 33 *iface = 0;
35 if (uuid == IID_HOLIDAY_PLUGIN || uuid == IID_QUnknown) { 34 if (uuid == IID_HOLIDAY_PLUGIN || uuid == IID_QUnknown) {
36 *iface = this; 35 *iface = this;
37 } else { 36 } else {
38 return QS_FALSE; 37 return QS_FALSE;
39 } 38 }
40 if (*iface) *iface->addRef(); 39 if (*iface) (*iface)->addRef();
41 return QS_OK; 40 return QS_OK;
42 } 41 }
43 42
44 // from qcom 43 // from qcom
45 Q_REFCOUNT 44 Q_REFCOUNT
46 45