summaryrefslogtreecommitdiff
path: root/Protocols/IAX/IAXProto.h
diff options
context:
space:
mode:
Diffstat (limited to 'Protocols/IAX/IAXProto.h')
-rw-r--r--Protocols/IAX/IAXProto.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Protocols/IAX/IAXProto.h b/Protocols/IAX/IAXProto.h
index 32d0ad8..df399f9 100644
--- a/Protocols/IAX/IAXProto.h
+++ b/Protocols/IAX/IAXProto.h
@@ -95,7 +95,7 @@ public:
virtual int __cdecl UserIsTyping( HANDLE hContact, int type ) { return 0; }
- virtual int __cdecl OnEvent( PROTOEVENTTYPE iEventType, WPARAM wParam, LPARAM lParam ) { return 1; }
+ virtual int __cdecl OnEvent( PROTOEVENTTYPE iEventType, WPARAM wParam, LPARAM lParam );
int iaxc_callback(iaxc_event &e);
@@ -106,6 +106,10 @@ private:
HANDLE CreateProtoEvent(const char* szService);
int SendBroadcast(HANDLE hContact, int type, int result, HANDLE hProcess, LPARAM lParam);
+ int __cdecl OnModulesLoaded(WPARAM wParam, LPARAM lParam);
+ int __cdecl OnOptionsInit(WPARAM wParam,LPARAM lParam);
+ int __cdecl OnPreShutdown(WPARAM wParam,LPARAM lParam);
+
void ShowMessage(bool error, TCHAR *fmt, ...);
void Disconnect();
INT_PTR __cdecl CreateAccMgrUI(WPARAM wParam, LPARAM lParam);