X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2Fapplescript.m;h=b278c946036be78e114f380bf08925aaf5d233d7;hb=6ee1e193fd896ab9a4729fde14f009d9ce629815;hp=97ff247110b6fd35c7e88451a3ed586559c9e0c5;hpb=3305b049e7f587b23359a1c9047fb5763d19c1dc;p=vlc diff --git a/modules/gui/macosx/applescript.m b/modules/gui/macosx/applescript.m index 97ff247110..b278c94603 100644 --- a/modules/gui/macosx/applescript.m +++ b/modules/gui/macosx/applescript.m @@ -10,7 +10,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -30,7 +30,7 @@ #include "open.h" /***************************************************************************** - * VLGetURLScriptCommand implementation + * VLGetURLScriptCommand implementation *****************************************************************************/ @implementation VLGetURLScriptCommand @@ -77,7 +77,7 @@ /***************************************************************************** - * VLControlScriptCommand implementation + * VLControlScriptCommand implementation *****************************************************************************/ /* * This entire control command needs a better design. more object oriented. @@ -95,9 +95,9 @@ { return nil; } - + VLCControls * o_controls = (VLCControls *)[[NSApp delegate] getControls]; - + if ( o_controls ) { if ( [o_command isEqualToString:@"play"] ) @@ -152,7 +152,7 @@ *****************************************************************************/ @implementation NSApplication(ScriptSupport) -- (BOOL) scriptFullscreenMode { +- (BOOL) scriptFullscreenMode { VLCControls * o_controls = (VLCControls *)[[self delegate] getControls]; return [o_controls isFullscreen];