From: Florian Zeitz Date: Thu, 22 Dec 2011 20:03:54 +0000 (+0100) Subject: Properly declare ivars X-Git-Url: https://cgit.babelmonkeys.de/?a=commitdiff_plain;h=4119a69a36303a285f2c2472c53f3a0906889fc7;p=mpdbot.git Properly declare ivars --- diff --git a/src/MPDConnection.h b/src/MPDConnection.h index e776e6e..a60d93c 100644 --- a/src/MPDConnection.h +++ b/src/MPDConnection.h @@ -21,9 +21,11 @@ */ @interface MPDConnection: OFObject +{ OFTCPSocket *sock; OFString *mpd_host; uint16_t mpd_port; +} - (void)connect; - (OFMutableDictionary*)response; diff --git a/src/PEPThread.h b/src/PEPThread.h index 049c4d9..a752eca 100644 --- a/src/PEPThread.h +++ b/src/PEPThread.h @@ -23,5 +23,7 @@ #import "MPDConnection.h" @interface PEPThread: OFThread +{ MPDConnection *conn; +} @end diff --git a/src/mpdbot.m b/src/mpdbot.m index dc7689e..84f864d 100644 --- a/src/mpdbot.m +++ b/src/mpdbot.m @@ -29,8 +29,10 @@ #define NS_DISCO_INFO @"http://jabber.org/protocol/disco#info" @interface AppDelegate: OFObject +{ OFString *discoID; PEPThread *pepper; +} @end OF_APPLICATION_DELEGATE(AppDelegate)