]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/applescript.h
macosx: use position formatter for start and stop time in open panel
[vlc] / modules / gui / macosx / applescript.h
index a47a3324ba37128548050b2544583ea823ad241f..1021687bf93e8b29a1df15cac62cfcd930d817a7 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * applescript.h: MacOS X AppleScript support
  *****************************************************************************
- * Copyright (C) 2002-2003 the VideoLAN team
+ * Copyright (C) 2002-2012 VLC authors and VideoLAN
  * $Id$
  *
  * Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
@@ -21,6 +21,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#import <Cocoa/Cocoa.h>
+
 /*****************************************************************************
  * VLGetURLScriptCommand interface
  *****************************************************************************/
 *****************************************************************************/
 @interface NSApplication(ScriptSupport)
 
-- (BOOL) scriptFullscreenMode;
-- (void) setScriptFullscreenMode: (BOOL) mode;
+@property (readwrite) BOOL scriptFullscreenMode;
+@property (readwrite) int audioVolume;
+@property (readwrite) int currentTime;
+@property (readonly) int durationOfCurrentItem;
+@property (readonly) NSString *pathOfCurrentItem;
+@property (readonly) NSString *nameOfCurrentItem;
+
 @end