From 66526765714b08969548a414d3fa87dbe333242d Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 28 Jul 2012 19:25:08 +0000 Subject: "!Deprecated" folders moved from root directory to plugins git-svn-id: http://svn.miranda-ng.org/main/trunk@1230 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/!NotAdopted/Skype/skypeproxy/skypeproxy.h | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 plugins/!NotAdopted/Skype/skypeproxy/skypeproxy.h (limited to 'plugins/!NotAdopted/Skype/skypeproxy/skypeproxy.h') diff --git a/plugins/!NotAdopted/Skype/skypeproxy/skypeproxy.h b/plugins/!NotAdopted/Skype/skypeproxy/skypeproxy.h new file mode 100644 index 0000000000..8ce122990b --- /dev/null +++ b/plugins/!NotAdopted/Skype/skypeproxy/skypeproxy.h @@ -0,0 +1,36 @@ +/*** Skype API ***/ +//Messages +#define SKYPECONTROLAPI_ATTACH_SUCCESS 0 +#define SKYPECONTROLAPI_ATTACH_PENDING_AUTHORIZATION 1 +#define SKYPECONTROLAPI_ATTACH_REFUSED 2 +#define SKYPECONTROLAPI_ATTACH_NOT_AVAILABLE 3 +#define SKYPECONTROLAPI_ATTACH_API_AVAILABLE 0x8001 + +// Errors +#define MISC_ERROR 1 +#define USER_NOT_FOUND 2 +#define USER_NOT_ONLINE 3 +#define USER_BLOCKED 4 +#define TYPE_UNSUPPORTED 5 +#define SENDER_NOT_FRIEND 6 +#define SENDER_NOT_AUTHORIZED 7 + + +/*** Debugging macros ***/ +#define OUTPUT(a) printf("* %s\n", a); +#define LOG(a, b) printf("- %s: %s\n", a, b); +#define LOGL(a, b) printf("- %s: %d\n", a, b); + +/*** Program settings ***/ +#define PING_INTERVAL 10000 // Ping every 10000 msec to see if Skype is still available +#define USE_AUTHENTICATION 0x01 // Program supports authentication -> Comment to disable! + +/*** Commands ***/ +#define AUTHENTICATE 0x01 +#define CAPABILITIES 0x02 + +/*** Sockets ***/ +#pragma comment(lib, "ws2_32") + +/*** Prototypes ***/ +void WatchDogTimer(char *); \ No newline at end of file -- cgit v1.2.3