1 /* 2 Project: MPDCon 3 4 Copyright (C) 2012 5 6 Author: Sebastian Reitenbach 7 8 Created: 2012-09-02 9 10 Lyrics Inspector 11 12 This application is free software; you can redistribute it and/or 13 modify it under the terms of the GNU General Public 14 License as published by the Free Software Foundation; either 15 version 2 of the License, or (at your option) any later version. 16 17 This application is distributed in the hope that it will be useful, 18 but WITHOUT ANY WARRANTY; without even the implied warranty of 19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 Library General Public License for more details. 21 22 You should have received a copy of the GNU General Public 23 License along with this library; if not, write to the Free 24 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. 25 */ 26 27 #include <AppKit/AppKit.h> 28 #include "MPDController.h" 29 30 @interface LyricsInspector : NSWindowController <NSXMLParserDelegate> 31 { 32 id artist; 33 id lyricsText; 34 id title; 35 36 MPDController *mpdController; 37 NSMutableString *lyricsURL; 38 } 39 + (id) sharedLyricsInspector; 40 41 - (void) updateLyrics; 42 - (void) openURL: (id)sender; 43 @end 44