------------------------------------------------------------ revno: 27 committer: poy <p...@123gen.com> branch nick: dcpp-plugin-sdk-cpp timestamp: Sun 2013-06-02 13:49:37 +0200 message: update defs modified: pluginsdk/PluginDefs.h
-- lp:dcpp-plugin-sdk-cpp https://code.launchpad.net/~dcplusplus-team/dcpp-plugin-sdk-cpp/trunk Your team Dcplusplus-team is subscribed to branch lp:dcpp-plugin-sdk-cpp. To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcpp-plugin-sdk-cpp/trunk/+edit-subscription
=== modified file 'pluginsdk/PluginDefs.h' --- pluginsdk/PluginDefs.h 2013-05-30 18:56:29 +0000 +++ pluginsdk/PluginDefs.h 2013-06-02 11:49:37 +0000 @@ -58,20 +58,20 @@ /* Recommended interfaces */ #define DCINTF_CONFIG "generic.plugins.DCConfig" /* Config management */ -#define DCINTF_CONFIG_VER 2 +#define DCINTF_CONFIG_VER 1 #define DCINTF_LOGGING "generic.plugins.DCLog" /* Logging functions */ #define DCINTF_LOGGING_VER 1 /* Optional interfaces */ #define DCINTF_DCPP_CONNECTIONS "dcpp.network.DCConnection" /* Peer connections */ -#define DCINTF_DCPP_CONNECTIONS_VER 2 +#define DCINTF_DCPP_CONNECTIONS_VER 1 #define DCINTF_DCPP_HUBS "dcpp.network.DCHub" /* Hubs */ #define DCINTF_DCPP_HUBS_VER 1 #define DCINTF_DCPP_QUEUE "dcpp.queue.DCQueue" /* Download Queue */ -#define DCINTF_DCPP_QUEUE_VER 2 +#define DCINTF_DCPP_QUEUE_VER 1 #define DCINTF_DCPP_UTILS "dcpp.utils.DCUtils" /* Utility and convenience functions */ #define DCINTF_DCPP_UTILS_VER 1 @@ -339,15 +339,16 @@ uint32_t apiVersion; const char* (DCAPI *get_path) (PathType type); + ConfigStrPtr (DCAPI *get_install_path) (const char* guid); void (DCAPI *set_cfg) (const char* guid, const char* setting, ConfigValuePtr val); ConfigValuePtr (DCAPI *get_cfg) (const char* guid, const char* setting, ConfigType type); + /* Return the language used by the host as an IETF language tag. */ + ConfigStrPtr (DCAPI *get_language) (); + ConfigValuePtr (DCAPI *copy) (const ConfigValuePtr val); void (DCAPI *release) (ConfigValuePtr val); - - /* Version 2 functions */ - ConfigStrPtr (DCAPI *get_install_path) (const char* guid); } DCConfig, *DCConfigPtr; /* Logging functions */ @@ -369,7 +370,6 @@ void (DCAPI *send_protocol_cmd) (ConnectionDataPtr hConn, const char* cmd); void (DCAPI *terminate_conn) (ConnectionDataPtr hConn, Bool graceless); - /* Version 2 functions */ UserDataPtr (DCAPI *get_user) (ConnectionDataPtr hConn); } DCConnection, *DCConnectionPtr; @@ -408,12 +408,10 @@ void (DCAPI *remove_download) (QueueDataPtr hItem); void (DCAPI *set_priority) (QueueDataPtr hItem, QueuePrio priority); + Bool (DCAPI *pause) (QueueDataPtr hItem); QueueDataPtr (DCAPI *copy) (const QueueDataPtr hItem); void (DCAPI *release) (QueueDataPtr hCopy); - - /* Version 2 functions */ - Bool (DCAPI *pause) (QueueDataPtr hItem); } DCQueue, *DCQueuePtr; /* Utility and convenience functions */
_______________________________________________ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : linuxdcpp-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp