summaryrefslogtreecommitdiff
path: root/plugins/mRadio
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mRadio')
-rw-r--r--plugins/mRadio/i_hotkey.inc38
1 files changed, 19 insertions, 19 deletions
diff --git a/plugins/mRadio/i_hotkey.inc b/plugins/mRadio/i_hotkey.inc
index 44e4910699..380c714623 100644
--- a/plugins/mRadio/i_hotkey.inc
+++ b/plugins/mRadio/i_hotkey.inc
@@ -30,33 +30,33 @@ begin
FillChar(hkrec,SizeOf(hkrec),0);
- hkrec.cbSize :=HOTKEYDESC_SIZE_V1;
- hkrec.pszSection.a :=PluginName;
- hkrec.pszService :=MS_RADIO_HOTKEY;
+ hkrec.cbSize := SizeOf(hkrec);
+ hkrec.pszSection.a := PluginName;
+ hkrec.pszService := MS_RADIO_HOTKEY;
- hkrec.DefHotKey :=DefRadioKeyPlay;
- hkrec.pszName :=HKN_PLAYPAUSE;
- hkrec.pszDescription.a:='Play/Pause';
- hkrec.lParam :=MRC_PAUSE;
+ hkrec.DefHotKey := DefRadioKeyPlay;
+ hkrec.pszName := HKN_PLAYPAUSE;
+ hkrec.pszDescription.a:= 'Play/Pause';
+ hkrec.lParam := MRC_PAUSE;
CallService(MS_HOTKEY_REGISTER,0,lparam(@hkrec));
- hkrec.DefHotKey :=DefRadioKeyStop;
- hkrec.pszName :=HKN_STOP;
- hkrec.pszDescription.a:='Stop';
- hkrec.lParam :=MRC_STOP;
+ hkrec.DefHotKey := DefRadioKeyStop;
+ hkrec.pszName := HKN_STOP;
+ hkrec.pszDescription.a:= 'Stop';
+ hkrec.lParam := MRC_STOP;
CallService(MS_HOTKEY_REGISTER,0,lparam(@hkrec));
- hkrec.DefHotKey :=DefRadioKeyMute;
- hkrec.pszName :=HKN_MUTE;
- hkrec.pszDescription.a:='Mute';
- hkrec.lParam :=MRC_MUTE;
+ hkrec.DefHotKey := DefRadioKeyMute;
+ hkrec.pszName := HKN_MUTE;
+ hkrec.pszDescription.a:= 'Mute';
+ hkrec.lParam := MRC_MUTE;
CallService(MS_HOTKEY_REGISTER,0,lparam(@hkrec));
//??
- hkrec.DefHotKey :=DefRadioKeyRecord;
- hkrec.pszName :=HKN_RECORD;
- hkrec.pszDescription.a:='Start/Stop Record';
- hkrec.lParam :=MRC_RECORD;
+ hkrec.DefHotKey := DefRadioKeyRecord;
+ hkrec.pszName := HKN_RECORD;
+ hkrec.pszDescription.a:= 'Start/Stop Record';
+ hkrec.lParam := MRC_RECORD;
CallService(MS_HOTKEY_REGISTER,0,lparam(@hkrec));
end;