diff options
Diffstat (limited to 'VKPC/Controller.h')
-rw-r--r-- | VKPC/Controller.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/VKPC/Controller.h b/VKPC/Controller.h new file mode 100644 index 0000000..8de646f --- /dev/null +++ b/VKPC/Controller.h @@ -0,0 +1,33 @@ +// +// Controller.h +// VKPC +// +// Created by Eugene on 10/23/14. +// Copyright (c) 2014 Eugene Z. All rights reserved. +// + +#import <Foundation/Foundation.h> +#import "Playlist.h" + +@interface Controller : NSObject <PlaylistDelegate> + ++ (void)prev; ++ (void)next; ++ (void)playpause; ++ (void)operateTrack:(NSString *)trackID; ++ (NSString *)findRunningAppAndPrepareASForCommand:(NSString *)command; ++ (void)sendCommand:(NSString *)command; ++ (void)handleClient:(NSDictionary *)json; + ++ (BOOL)isASBrowser:(NSInteger)browser; ++ (NSString *)JSONForCommand:(NSString *)command data:(NSObject *)data; + + +#ifdef DEBUG ++ (void)debugInject; ++ (void)debugSendPlay; ++ (void)debugCopyJS; ++ (void)debugCopyAS; +#endif + +@end |