summaryrefslogtreecommitdiff
authoralwin <alwin>2005-03-17 13:47:55 (UTC)
committer alwin <alwin>2005-03-17 13:47:55 (UTC)
commit8c3f9c35425a2f2dbbbee61e6aa3e9a312ccba0e (patch) (side-by-side diff)
tree6f3a2413b962b718f43f50b6c70c3f7cad23f1e7
parente9865193fc0acdb84e0317f1188a70ca6f546ade (diff)
downloadopie-8c3f9c35425a2f2dbbbee61e6aa3e9a312ccba0e.zip
opie-8c3f9c35425a2f2dbbbee61e6aa3e9a312ccba0e.tar.gz
opie-8c3f9c35425a2f2dbbbee61e6aa3e9a312ccba0e.tar.bz2
I had to change interface. so the used UUID has changed, too!
But now these plugins may give a list of EffectiveEvents back.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/ui/oholidayplugin.h3
-rw-r--r--libopie2/opiepim/ui/oholidaypluginif.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/libopie2/opiepim/ui/oholidayplugin.h b/libopie2/opiepim/ui/oholidayplugin.h
index 2e8c09e..52db0eb 100644
--- a/libopie2/opiepim/ui/oholidayplugin.h
+++ b/libopie2/opiepim/ui/oholidayplugin.h
@@ -1,26 +1,29 @@
#ifndef _HOLIDAY_PLUGIN_H
#define _HOLIDAY_PLUGIN_H
#include <qstring.h>
#include <qstringlist.h>
#include <qdatetime.h>
#include <qmap.h>
+class EffectiveEvent;
+
namespace Opie {
namespace Datebook {
class HolidayPlugin
{
public:
HolidayPlugin(){};
virtual ~HolidayPlugin(){};
virtual QString description()=0;
virtual QStringList entries(const QDate&)=0;
virtual QStringList entries(unsigned year, unsigned month, unsigned day)=0;
virtual QMap<QDate,QStringList> entries(const QDate&,const QDate&)=0;
+ virtual QValueList<EffectiveEvent> events(const QDate&,const QDate&)=0;
};
}
}
#endif
diff --git a/libopie2/opiepim/ui/oholidaypluginif.h b/libopie2/opiepim/ui/oholidaypluginif.h
index 99ed563..825d3ad 100644
--- a/libopie2/opiepim/ui/oholidaypluginif.h
+++ b/libopie2/opiepim/ui/oholidaypluginif.h
@@ -1,20 +1,20 @@
#ifndef _O_HOLIDAY_PLUGIN_IF_H
#define _O_HOLIDAY_PLUGIN_IF_H
#include <opie2/odebug.h>
#include <qpe/qcom.h>
#ifndef QT_NO_COMPONENT
-//"b981b4e9-6d5d-4ee0-a193-f8d0e443809b"
-#define IID_HOLIDAY_PLUGIN QUuid( 0xb981b4e9, 0x6d5d, 0x4ee0, 0xa1, 0x93,0xf8, 0xd0, 0xe4, 0x43, 0x80, 0x9b)
+//017f90d4-34fc-4dc5-aed7-498c6da6571e
+#define IID_HOLIDAY_PLUGIN QUuid(0x017f90d4,0x34fc,0x4dc5,0xae,0xd7,0x49,0x8c,0x6d,0xa6,0x57,0x1e)
#endif
namespace Opie {
namespace Datebook {
class HolidayPlugin;
class HolidayPluginIf:public QUnknownInterface
{
public:
HolidayPluginIf():QUnknownInterface(){}
virtual ~HolidayPluginIf(){}