summaryrefslogtreecommitdiff
path: root/libopie2
Side-by-side diff
Diffstat (limited to 'libopie2') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/examples/opiecore/oplugins/oplugins.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/libopie2/examples/opiecore/oplugins/oplugins.cpp b/libopie2/examples/opiecore/oplugins/oplugins.cpp
index 4aa2da5..26623be 100644
--- a/libopie2/examples/opiecore/oplugins/oplugins.cpp
+++ b/libopie2/examples/opiecore/oplugins/oplugins.cpp
@@ -10,2 +10,3 @@ using Opie::Core::OPluginItem;
using Opie::Core::OGenericPluginLoader;
+using Opie::Core::OPluginLoader;
@@ -33,2 +34,11 @@ int main( void ) {
+ OPluginLoader loader2("today",true);
+ OPluginItem::List lst2 = loader2.allAvailable( true );
+ debugLst( lst2 );
+
+ for( OPluginItem::List::Iterator it = lst.begin(); it != lst.end(); ++it ){
+ TodayPluginInterface* iface = loader2.load<TodayPluginInterface>( *it, IID_TodayPluginInterface );
+ }
+
+
/*