summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/MainController.h')
-rw-r--r--Swift/Controllers/MainController.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/Controllers/MainController.h b/Swift/Controllers/MainController.h
index cf04e59..ef9c79e 100644
--- a/Swift/Controllers/MainController.h
+++ b/Swift/Controllers/MainController.h
@@ -66,6 +66,7 @@ namespace Swift {
class MUCSearchWindowFactory;
class StatusTracker;
class VCardStorageFactory;
+ class MUCRegistry;
class MainController {
public:
@@ -96,7 +97,7 @@ namespace Swift {
void handleError(const ClientError& error);
void handleServerDiscoInfoResponse(boost::shared_ptr<DiscoInfo>, const boost::optional<ErrorPayload>&);
void handleEventQueueLengthChange(int count);
- void handleOwnVCardReceived(VCard::ref vCard);
+ void handleVCardReceived(const JID& j, VCard::ref vCard);
void sendPresence(boost::shared_ptr<Presence> presence);
void handleInputIdleChanged(bool);
void logout();
@@ -159,6 +160,7 @@ namespace Swift {
int timeBeforeNextReconnect_;
Timer::ref reconnectTimer_;
StatusTracker* statusTracker_;
+ MUCRegistry* mucRegistry_;
typedef std::map<String, VCardStorage*> VCardStorageMap;
VCardStorageMap vcardStorages_;