/ Published in: C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// // NPAppDelegate.h // CDNowPlaying // // Created by Cubi-Development 26/5/2013. // Copyright (c) 2013 Cubi-Development Inc. All rights reserved. // // // ^^^___^^^^^^_^^^^^_^^^^^^^^^___^^^^^^^^^^^^^^^_^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^_^^^ // ^^/^__\^^^_|^|__^(_)^^^^^^^/^^^\_____^^^_____|^|^___^^_^__^^_^__^___^^^___^_^__^|^|_^ // ^/^/^|^|^|^|^'_^\|^|_____^/^/\^/^_^\^\^/^/^_^\^|/^_^\|^'_^\|^'_^`^_^\^/^_^\^'_^\|^__| // /^/__|^|_|^|^|_)^|^|_____/^/_//^^__/\^V^/^^__/^|^(_)^|^|_)^|^|^|^|^|^|^^__/^|^|^|^|_^ // \____/\__,_|_.__/|_|^^^^/___,'^\___|^\_/^\___|_|\___/|^.__/|_|^|_|^|_|\___|_|^|_|\__| // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^|_|^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // #import <Cocoa/Cocoa.h> #import "iTunes.h" extern NSString * const ShouldShowArtist; extern NSString * const ShouldShowAlbum; extern NSString * const ShouldShowArtwork; extern NSString * const ShouldShowRating; extern NSString * const ShouldShowURL; @interface NPAppDelegate : NSObject <NSApplicationDelegate,NSSharingServiceDelegate> { NSWindow *window; IBOutlet NSMenu *statusMenu; NSStatusItem *statusItem; IBOutlet NSMenuItem *twitter; IBOutlet NSMenuItem *login; IBOutlet NSMenuItem *showArtistMenuItem; IBOutlet NSMenuItem *showAlbumMenuItem; IBOutlet NSMenuItem *showArtworkMenuItem; IBOutlet NSMenuItem *showRatingMenuItem; IBOutlet NSMenuItem *showShareURLMenuItem; } @property (strong) IBOutlet NSMenuItem *login; @property (nonatomic, retain) IBOutlet NSMenuItem *showArtistMenuItem; @property (nonatomic, retain) IBOutlet NSMenuItem *showAlbumMenuItem; @property (nonatomic, retain) IBOutlet NSMenuItem *showArtworkMenuItem; @property (nonatomic, retain) IBOutlet NSMenuItem *showRatingMenuItem; @property (nonatomic, retain) IBOutlet NSMenuItem *showShareURLMenuItem; @end // Copyright (c) 2013 Cubi-Development Inc. All rights reserved.