diff options
Diffstat (limited to 'plugins/Scriver/src/chat/services.cpp')
-rw-r--r-- | plugins/Scriver/src/chat/services.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/Scriver/src/chat/services.cpp b/plugins/Scriver/src/chat/services.cpp index bd55310277..cb1375c491 100644 --- a/plugins/Scriver/src/chat/services.cpp +++ b/plugins/Scriver/src/chat/services.cpp @@ -636,22 +636,22 @@ static INT_PTR Service_GetAddEventPtr(WPARAM wParam, LPARAM lParam) void HookEvents(void)
{
- HookEvent_Ex(ME_CLIST_PREBUILDCONTACTMENU, CList_PrebuildContactMenu);
+ HookEvent(ME_CLIST_PREBUILDCONTACTMENU, CList_PrebuildContactMenu);
}
void CreateServiceFunctions(void)
{
- CreateServiceFunction_Ex(MS_GC_REGISTER, Service_Register);
- CreateServiceFunction_Ex(MS_GC_NEWSESSION, Service_NewChat);
- CreateServiceFunction_Ex(MS_GC_EVENT, Service_AddEvent);
- CreateServiceFunction_Ex(MS_GC_GETEVENTPTR, Service_GetAddEventPtr);
- CreateServiceFunction_Ex(MS_GC_GETINFO, Service_GetInfo);
- CreateServiceFunction_Ex(MS_GC_GETSESSIONCOUNT, Service_GetCount);
-
- CreateServiceFunction_Ex("GChat/DblClickEvent", CList_EventDoubleclickedSvc);
- CreateServiceFunction_Ex("GChat/PrebuildMenuEvent", CList_PrebuildContactMenuSvc);
- CreateServiceFunction_Ex("GChat/JoinChat", CList_JoinChat);
- CreateServiceFunction_Ex("GChat/LeaveChat", CList_LeaveChat);
+ CreateServiceFunction(MS_GC_REGISTER, Service_Register);
+ CreateServiceFunction(MS_GC_NEWSESSION, Service_NewChat);
+ CreateServiceFunction(MS_GC_EVENT, Service_AddEvent);
+ CreateServiceFunction(MS_GC_GETEVENTPTR, Service_GetAddEventPtr);
+ CreateServiceFunction(MS_GC_GETINFO, Service_GetInfo);
+ CreateServiceFunction(MS_GC_GETSESSIONCOUNT, Service_GetCount);
+
+ CreateServiceFunction("GChat/DblClickEvent", CList_EventDoubleclickedSvc);
+ CreateServiceFunction("GChat/PrebuildMenuEvent", CList_PrebuildContactMenuSvc);
+ CreateServiceFunction("GChat/JoinChat", CList_JoinChat);
+ CreateServiceFunction("GChat/LeaveChat", CList_LeaveChat);
}
void CreateHookableEvents(void)
|