/*****************************************************************************
* applescript.h: MacOS X AppleScript support
*****************************************************************************
- * Copyright (C) 2002-2003 the VideoLAN team
+ * Copyright (C) 2002-2003, 2005, 2007 VLC authors and VideoLAN
* $Id$
*
* Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
* 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;
+- (BOOL)scriptFullscreenMode;
+- (void)setScriptFullscreenMode: (BOOL)mode;
+
+- (double)audioVolume;
+- (void)setAudioVolume: (double)mode;
+
+- (int)currentTime;
+- (void)setCurrentTime: (int)mode;
+- (int) durationOfCurrentItem;
+- (NSString*) pathOfCurrentItem;
+- (NSString*) nameOfCurrentItem;
+
+@end