summaryrefslogtreecommitdiff
path: root/plugins/mRadio
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-12-02 16:08:13 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-12-02 16:08:13 +0000
commit355e14dd8faf38ca8c8e4293c13923a027352427 (patch)
tree610f99175e72f6dbee27200af49293bb8ccab284 /plugins/mRadio
parent281f79e6392c15a76689867ad21fde5700823b5c (diff)
menu guids for pascal
git-svn-id: http://svn.miranda-ng.org/main/trunk@15804 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/mRadio')
-rw-r--r--plugins/mRadio/i_tray.inc6
-rw-r--r--plugins/mRadio/i_visual.inc2
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/mRadio/i_tray.inc b/plugins/mRadio/i_tray.inc
index 58e894e2bf..ff8b76a585 100644
--- a/plugins/mRadio/i_tray.inc
+++ b/plugins/mRadio/i_tray.inc
@@ -132,6 +132,7 @@ var
ico:pAnsiChar;
begin
FillChar(mi, sizeof(mi), 0);
+ SET_UID(@mi, 'CF40B5D0-B21E-4B10-B943-F35FDD343B97');
mi.flags :=CMIF_UNICODE;
mi.szName.w:=cPluginName;
mi.hIcon :=IcoLib_GetIcon(IcoBtnSettings,0);
@@ -139,6 +140,7 @@ begin
FillChar(mi, sizeof(mi), 0);
mi.root:=trayradioparent;
+ SET_UID(@mi, '7375ED25-F6C5-41F3-8EC2-55162E85E59D');
if PluginStatus=ID_STATUS_ONLINE then
begin
@@ -170,6 +172,7 @@ begin
mi.position :=1;
traymute:=Menu_AddTrayMenuItem(@mi);
+ SET_UID(@mi, '00041DD6-72DF-4F05-810F-C09CBA092C17');
mi.hIcon:=0;
mi.flags:=CMIF_UNICODE;
if CallService(MS_RADIO_COMMAND,MRC_STATUS,RD_STATUS_GET)<>RD_STATUS_PLAYING then
@@ -186,18 +189,21 @@ begin
mi.pszService:='mRadio/TrayPlayPause';
trayplay:=Menu_AddTrayMenuItem(@mi);
+ SET_UID(@mi, '9AD92E78-38FA-4855-9B50-F96C590D54DA');
mi.szName.w :='Stop';
mi.position :=3;
srvtraystop:=CreateServiceFunction('mRadio/TrayStop',@TrayStop);
mi.pszService:='mRadio/TrayStop';
Menu_AddTrayMenuItem(@mi);
+ SET_UID(@mi, 'AC6A4BFA-7A47-4B56-A914-9CBD137E64BC');
mi.szName.w :='Quick Open';
mi.position :=4;
mi.pszService:=MS_RADIO_QUICKOPEN;
mi.hIcon :=IcoLib_GetIcon(IcoBtnOpen,0);
Menu_AddTrayMenuItem(@mi);
+ SET_UID(@mi, '4F9ED4D1-5264-4194-934A-21E2DC5116CA');
mi.hIcon :=0;
mi.szName.w :='Play Station';
mi.position :=1000;
diff --git a/plugins/mRadio/i_visual.inc b/plugins/mRadio/i_visual.inc
index 768412d7ef..2f95f0daa2 100644
--- a/plugins/mRadio/i_visual.inc
+++ b/plugins/mRadio/i_visual.inc
@@ -33,10 +33,12 @@ var
mi:TMO_MenuItem;
begin
FillChar(mi, sizeof(mi), 0);
+ SET_UID(@mi, 'DA1F1DA5-0C78-4FD5-B705-5F2C22EBDAD4');
mi.pszService:=MS_RADIO_RECORD;
mi.szName.a :='Start/Stop Record';
hCMenuItemRec:=Menu_AddContactMenuItem(@mi);
+ SET_UID(@mi, '03C42002-709A-48CA-A9AF-450BEBDBE3E0');
mi.hIcon :=IcoLib_GetIcon(IcoBtnOn,0);
mi.pszService :=MS_RADIO_PLAYSTOP;
mi.szName.a :='Start/Stop broadcasting';