author | alwin <alwin> | 2005-03-18 12:49:14 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-18 12:49:14 (UTC) |
commit | b7996a25adab32e6f2e4d278a9d9801ad66f90c7 (patch) (unidiff) | |
tree | f90bf3aa5cd274c467a8ff3e84566fdfa6a1a6c5 /core/pim/datebook/datebooktypes.h | |
parent | d7fdcc3dac4a1d8cbd823d17ea52d17cb67b16f8 (diff) | |
download | opie-b7996a25adab32e6f2e4d278a9d9801ad66f90c7.zip opie-b7996a25adab32e6f2e4d278a9d9801ad66f90c7.tar.gz opie-b7996a25adab32e6f2e4d278a9d9801ad66f90c7.tar.bz2 |
made plugins configureable, eg, if them will load or not (or switch on/off
at runtime)
events generated from plugins will not editable and so on (check for a
wrong Uid) so them are just text inside datebook.
Diffstat (limited to 'core/pim/datebook/datebooktypes.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/datebook/datebooktypes.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/pim/datebook/datebooktypes.h b/core/pim/datebook/datebooktypes.h index f944e84..2966814 100644 --- a/core/pim/datebook/datebooktypes.h +++ b/core/pim/datebook/datebooktypes.h | |||
@@ -13,6 +13,7 @@ namespace Datebook { | |||
13 | } | 13 | } |
14 | namespace Core { | 14 | namespace Core { |
15 | class OPluginLoader; | 15 | class OPluginLoader; |
16 | class OPluginManager; | ||
16 | } | 17 | } |
17 | } | 18 | } |
18 | 19 | ||
@@ -35,6 +36,11 @@ public: | |||
35 | virtual QValueList<EffectiveEvent> getEffectiveEvents(const QDate &from,const QDate &to ); | 36 | virtual QValueList<EffectiveEvent> getEffectiveEvents(const QDate &from,const QDate &to ); |
36 | virtual QValueList<EffectiveEvent> getEffectiveEvents(const QDateTime &start); | 37 | virtual QValueList<EffectiveEvent> getEffectiveEvents(const QDateTime &start); |
37 | 38 | ||
39 | void reloadPlugins(); | ||
40 | |||
41 | Opie::Core::OPluginLoader*pluginLoader(){return m_pluginLoader;} | ||
42 | Opie::Core::OPluginManager*pluginManager(){return m_pluginManager;} | ||
43 | |||
38 | protected: | 44 | protected: |
39 | void init(); | 45 | void init(); |
40 | void deinit(); | 46 | void deinit(); |
@@ -46,6 +52,7 @@ protected: | |||
46 | }; | 52 | }; |
47 | QValueList<HPlugin*>_pluginlist; | 53 | QValueList<HPlugin*>_pluginlist; |
48 | Opie::Core::OPluginLoader*m_pluginLoader; | 54 | Opie::Core::OPluginLoader*m_pluginLoader; |
55 | Opie::Core::OPluginManager*m_pluginManager; | ||
49 | }; | 56 | }; |
50 | 57 | ||
51 | class DateBookDBHoliday:virtual public DateBookDBHack { | 58 | class DateBookDBHoliday:virtual public DateBookDBHack { |