Allow localization of the Alert Text label in the Display an Alert action
[adiumx.git] / Source / ESiTunesPlugin.h
blob30bf31516b8f520d71903d00ccd1c94726a030aa
1 // ESiTunesPlugin.h
2 // Adium
3 //
4 // Started by Evan Schoenberg on 6/11/05.
5 // Assigned to Kiel Gillard (Trac Ticket #316)
7 #import <Adium/AIPlugin.h>
8 #import <Adium/AIContentControllerProtocol.h>
10 typedef enum {
11 AUTODISABLES = 0,
12 ALWAYS_ENABLED = 1,
13 ENABLED_IF_ITUNES_PLAYING = 2,
14 RESPONDER_IS_WEBVIEW = 3
15 } KGiTunesPluginMenuItemKind;
17 #define Adium_iTunesTrackChangedNotification @"Adium_iTunesTrackChangedNotification"
19 #define ITUNES_ALBUM @"Album"
20 #define ITUNES_ARTIST @"Artist"
21 #define ITUNES_COMPOSER @"Composer"
22 #define ITUNES_GENRE @"Genre"
23 #define ITUNES_PLAYER_STATE @"Player State"
24 #define ITUNES_NAME @"Name"
25 #define ITUNES_STORE_URL @"Store URL"
26 #define ITUNES_TOTAL_TIME @"Total Time"
27 #define ITUNES_YEAR @"Year"
29 @interface ESiTunesPlugin : AIPlugin <AIContentFilter> {
30 NSDictionary *iTunesCurrentInfo;
32 NSDictionary *substitutionDict;
33 NSDictionary *phraseSubstitutionDict;
34 BOOL iTunesIsStopped;
35 BOOL iTunesIsPaused;
38 @end