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>
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_STREAM_TITLE @"Stream Title"
26 #define ITUNES_STORE_URL @"Store URL"
27 #define ITUNES_TOTAL_TIME @"Total Time"
28 #define ITUNES_YEAR @"Year"
30 @interface ESiTunesPlugin
: AIPlugin
<AIContentFilter
> {
31 NSDictionary
*iTunesCurrentInfo
;
33 NSDictionary
*substitutionDict
;
34 NSDictionary
*phraseSubstitutionDict
;