Changeset 489

Show
Ignore:
Timestamp:
04/12/05 13:14:21 (4 years ago)
Author:
abauer
Message:

Changed the plugins to the new plugin api.

Fixed a bug in the kdepim unit tests, where the unit tests would
pick up the currently installed plugin instead of the newly
compiled one.

Location:
plugins
Files:
8 modified

Legend:

Unmodified
Added
Removed
  • plugins/evolution2/src/evolution2_sync.c

    r469 r489  
    300300} 
    301301 
    302 void get_info(OSyncPluginInfo *info) { 
     302void get_info(OSyncEnv *env) 
     303{ 
     304        OSyncPluginInfo *info = osync_plugin_new_info(env); 
    303305        info->name = "evo2-sync"; 
    304306        info->version = 1; 
  • plugins/file-sync/src/file_sync.c

    r478 r489  
    378378} 
    379379 
    380 void get_info(OSyncPluginInfo *info) 
    381 { 
     380void get_info(OSyncEnv *env) 
     381{ 
     382        OSyncPluginInfo *info = osync_plugin_new_info(env); 
    382383        info->name = "file-sync"; 
    383384        info->longname = "File Synchronization Plugin"; 
  • plugins/kdepim/src/kdepim_sync.cpp

    r455 r489  
    176176 
    177177extern "C" { 
    178 void get_info(OSyncPluginInfo *info) 
    179 { 
     178void get_info(OSyncEnv *env) 
     179{ 
     180        OSyncPluginInfo *info = osync_plugin_new_info(env); 
    180181    info->version = 1; 
    181182    info->name = "kdepim"; 
  • plugins/kdepim/tests/check_contact

    r475 r489  
    99fi 
    1010export KDE_DEBUG=true 
    11 osyncplugin kdepim --type contact || exit 1 
     11osyncplugin kdepim --type contact --plugindir ../.libs || exit 1 
  • plugins/kdepim/tests/check_event

    r475 r489  
    1010 
    1111export KDE_DEBUG=true 
    12 osyncplugin kdepim --type event || exit 1 
     12osyncplugin kdepim --type event --plugindir ../.libs || exit 1 
  • plugins/kdepim/tests/check_note

    r455 r489  
    1111dcop knotes MainApplication-Interface quit 
    1212knotes 
    13 osyncplugin kdepim --type note || exit 1 
     13osyncplugin kdepim --type note --plugindir ../.libs || exit 1 
    1414dcop knotes MainApplication-Interface quit 
  • plugins/kdepim/tests/check_todo

    r475 r489  
    99fi 
    1010export KDE_DEBUG=true 
    11 osyncplugin kdepim --type todo || exit 1 
     11osyncplugin kdepim --type todo --plugindir ../.libs || exit 1 
  • plugins/python-module/src/python_module.c

    r487 r489  
    437437} 
    438438 
    439 void register_plugins(OSyncEnv *env) 
     439void get_info(OSyncEnv *env) 
    440440{ 
    441441        /* Python initialization */