Return to Snippet

Revision: 63849
at June 13, 2013 01:00 by iHaz3-Dev


Initial Code
//
//  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.

Initial URL

                                

Initial Description

                                

Initial Title
Sharing Twitter and Facebook Native

Initial Tags
twitter

Initial Language
C