]> cgit.babelmonkeys.de Git - mpdbot.git/blobdiff - src/PEPThread.h
Move MPD connection in a separate class
[mpdbot.git] / src / PEPThread.h
index b483fc289f9348591569917ac25c650fc5f78859..049c4d913a9126e7c127b074ee0edc02770e0772 100644 (file)
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-@interface PEPThread: OFThread
-- (void)MPD_connect;
-- (OFMutableDictionary*)MPD_responseFromSocket: (OFTCPSocket*)sock;
+#import "MPDConnection.h"
 
-OFTCPSocket *sock;
-OFString *mpd_host;
-uint16_t mpd_port;
+@interface PEPThread: OFThread
+MPDConnection *conn;
 @end