diff options
author | George Hazan <ghazan@miranda.im> | 2017-02-01 18:35:23 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-02-01 18:35:23 +0300 |
commit | e3917c5232297633df816d23abea42e3c27c1b69 (patch) | |
tree | aefecabbabdde09e568a2cd5c7eeb0b7388d38e6 /plugins/mRadio/i_service.inc | |
parent | 2eb26dc2acbcd30ae9f3673dae89ba647f594564 (diff) |
minor code cleaning
Diffstat (limited to 'plugins/mRadio/i_service.inc')
-rw-r--r-- | plugins/mRadio/i_service.inc | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/plugins/mRadio/i_service.inc b/plugins/mRadio/i_service.inc index 740b9378ff..9b953c40e7 100644 --- a/plugins/mRadio/i_service.inc +++ b/plugins/mRadio/i_service.inc @@ -115,8 +115,6 @@ function Service_LoadIcon(wParam:WPARAM;lParam:LPARAM):int_ptr;cdecl; begin
case loword(wParam) of
PLI_PROTOCOL: result:=LoadImage(hInstance,MAKEINTRESOURCE(IDI_MAIN),IMAGE_ICON,16,16,LR_SHARED);
-// PLI_ONLINE : result:=0;
-// PLI_OFFLINE : result:=0;
else
result:=0;
end;
@@ -183,14 +181,14 @@ end; procedure CreateProtoServices;
begin
- prh0:=CreateProtoService(PS_GETCAPS ,@Service_GetCaps);
- prh1:=CreateProtoService(PS_ADDTOLIST ,@Service_AddToList);
- prh2:=CreateProtoService(PS_CREATEADVSEARCHUI,@Service_ExtSearchUI);
- prh3:=CreateProtoService(PS_SEARCHBYADVANCED ,@Service_SearchByAdvanced);
- prh4:=CreateProtoService(PS_BASICSEARCH ,@Service_SearchBasic);
- prh5:=CreateProtoService(PS_GETNAME ,@Service_GetName);
- prh6:=CreateProtoService(PS_LOADICON ,@Service_LoadIcon);
- prh7:=CreateProtoService(PS_GETSTATUS ,@Service_GetStatus);
- prh8:=CreateProtoService(PS_SETSTATUS ,@Service_SetStatus);
- prh9:=CreateProtoService(PSS_GETAWAYMSG ,@Service_GetAwayMsg);
+ prh0:=CreateProtoService(PS_GETCAPS, @Service_GetCaps);
+ prh1:=CreateProtoService(PS_ADDTOLIST, @Service_AddToList);
+ prh2:=CreateProtoService(PS_CREATEADVSEARCHUI, @Service_ExtSearchUI);
+ prh3:=CreateProtoService(PS_SEARCHBYADVANCED, @Service_SearchByAdvanced);
+ prh4:=CreateProtoService(PS_BASICSEARCH, @Service_SearchBasic);
+ prh5:=CreateProtoService(PS_GETNAME, @Service_GetName);
+ prh6:=CreateProtoService(PS_LOADICON, @Service_LoadIcon);
+ prh7:=CreateProtoService(PS_GETSTATUS, @Service_GetStatus);
+ prh8:=CreateProtoService(PS_SETSTATUS, @Service_SetStatus);
+ prh9:=CreateProtoService(PSS_GETAWAYMSG, @Service_GetAwayMsg);
end;
|