author | harlekin <harlekin> | 2003-02-10 21:17:33 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-02-10 21:17:33 (UTC) |
commit | de272b8c47c3960a3fe574317fe2e6fb0c32e4af (patch) (unidiff) | |
tree | 43903d05e5e517d31f4d64d541af66ea3e609de9 /libopie | |
parent | 2bc5aaa5c480c2b8924593f1010c7efd3bd50693 (diff) | |
download | opie-de272b8c47c3960a3fe574317fe2e6fb0c32e4af.zip opie-de272b8c47c3960a3fe574317fe2e6fb0c32e4af.tar.gz opie-de272b8c47c3960a3fe574317fe2e6fb0c32e4af.tar.bz2 |
added a virtual refresh to the interface, in future each plugin decides how much happens during refresh call
-rw-r--r-- | libopie/todayplugininterface.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libopie/todayplugininterface.h b/libopie/todayplugininterface.h index 5bf5564..6ee2a06 100644 --- a/libopie/todayplugininterface.h +++ b/libopie/todayplugininterface.h | |||
@@ -61,12 +61,18 @@ public: | |||
61 | /** | 61 | /** |
62 | * If the plugin should take part in the periodic refresh | 62 | * If the plugin should take part in the periodic refresh |
63 | */ | 63 | */ |
64 | virtual bool excludeFromRefresh() const = 0; | 64 | virtual bool excludeFromRefresh() const = 0; |
65 | 65 | ||
66 | /** | 66 | /** |
67 | * Refresh that plugins view. For updating the plugins | ||
68 | * | ||
69 | */ | ||
70 | virtual void refresh() {}; | ||
71 | |||
72 | /** | ||
67 | * minimum height the plugin at least should have | 73 | * minimum height the plugin at least should have |
68 | */ | 74 | */ |
69 | // virtual int minHeight() const = 0; | 75 | // virtual int minHeight() const = 0; |
70 | 76 | ||
71 | /** | 77 | /** |
72 | * maximum height that should be used before starting scrolling | 78 | * maximum height that should be used before starting scrolling |