Commit 1637adb2 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: simplify AppleScript API category

parent 7b21794c
...@@ -40,17 +40,11 @@ ...@@ -40,17 +40,11 @@
*****************************************************************************/ *****************************************************************************/
@interface NSApplication(ScriptSupport) @interface NSApplication(ScriptSupport)
- (BOOL)scriptFullscreenMode; @property (readwrite) BOOL scriptFullscreenMode;
- (void)setScriptFullscreenMode: (BOOL)mode; @property (readwrite) int audioVolume;
@property (readwrite) int currentTime;
- (int)audioVolume; @property (readonly) int durationOfCurrentItem;
- (void)setAudioVolume: (int)mode; @property (readonly) NSString *pathOfCurrentItem;
@property (readonly) NSString *nameOfCurrentItem;
- (int)currentTime;
- (void)setCurrentTime: (int)mode;
- (int) durationOfCurrentItem;
- (NSString*) pathOfCurrentItem;
- (NSString*) nameOfCurrentItem;
@end @end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment