summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2012-09-27 16:31:32 +0000
committerAlexander Lantsev <aunsane@gmail.com>2012-09-27 16:31:32 +0000
commit7b20bdca3b22c66a58b2ecf2735cb32417496681 (patch)
tree9653fe495a2338586cdaec8ce2aee167ca631608 /protocols/Skype/src/skype_proto.h
parent93b1c035da40df23e3eef4a1efd10dfe9c451375 (diff)
- fixed previous commit issues
git-svn-id: http://svn.miranda-ng.org/main/trunk@1684 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r--protocols/Skype/src/skype_proto.h22
1 files changed, 20 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h
index 7d25d5dd49..43a430c153 100644
--- a/protocols/Skype/src/skype_proto.h
+++ b/protocols/Skype/src/skype_proto.h
@@ -5,7 +5,11 @@
struct CSkypeProto;
+typedef void (__cdecl CSkypeProto::*SkypeThreadFunc) (void*);
typedef INT_PTR (__cdecl CSkypeProto::*SkypeServiceFunc)(WPARAM, LPARAM);
+typedef int (__cdecl CSkypeProto::*SkypeEventFunc)(WPARAM, LPARAM);
+typedef INT_PTR (__cdecl CSkypeProto::*SkypeServiceFuncParam)(WPARAM, LPARAM, LPARAM);
+
struct CSkypeProto : public PROTO_INTERFACE, public MZeroedObject
{
@@ -64,6 +68,7 @@ public:
int __cdecl OnModulesLoaded(WPARAM, LPARAM);
int __cdecl OnPreShutdown(WPARAM, LPARAM);
int __cdecl OnOptionsInit(WPARAM, LPARAM);
+ int __cdecl OnAccountManagerInit(WPARAM wParam, LPARAM lParam);
char* ModuleName();
bool IsOffline();
@@ -75,8 +80,19 @@ protected:
HANDLE hNetlibUser;
void Log( const char* fmt, ... );
- INT_PTR __cdecl SvcCreateAccMgrUI(WPARAM wParam, LPARAM lParam);
- void CreateProtoService(const char* szService, SkypeServiceFunc serviceProc);
+
+
+
+ void CreateService(const char* szService, SkypeServiceFunc serviceProc);
+ //void CreateServiceParam(const char* szService, SkypeServiceFunc serviceProc, LPARAM lParam);
+
+ //HANDLE CreateHookableEvent(const char* szService);
+ void HookEvent(const char*, SkypeEventFunc);
+ //int SendBroadcast(HANDLE hContact, int type, int result, HANDLE hProcess, LPARAM lParam);
+
+ //void ForkThread(SkypeThreadFunc, void*);
+ //HANDLE ForkThreadEx(SkypeThreadFunc, void*, UINT* threadID = NULL);
+
TCHAR* GetSettingString(const char *szSetting, TCHAR* defVal = NULL);
TCHAR* GetSettingString(HANDLE hContact, const char *szSetting, TCHAR* defVal = NULL);
@@ -84,5 +100,7 @@ protected:
TCHAR* GetDecodeSettingString(const char *szSetting, TCHAR* defVal = NULL);
TCHAR* GetDecodeSettingString(HANDLE hContact, const char *szSetting, TCHAR* defVal = NULL);
+
static INT_PTR CALLBACK SkypeAccountProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
+ static INT_PTR CALLBACK SkypeOptionsProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
}; \ No newline at end of file