From 4119a69a36303a285f2c2472c53f3a0906889fc7 Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Thu, 22 Dec 2011 21:03:54 +0100 Subject: [PATCH] Properly declare ivars --- src/MPDConnection.h | 2 ++ src/PEPThread.h | 2 ++ src/mpdbot.m | 2 ++ 3 files changed, 6 insertions(+) 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) -- 2.39.5