diff options
Diffstat (limited to 'Swiften/Chat/ChatStateNotifier.h')
m--------- | Swiften | 0 | ||||
-rw-r--r-- | Swiften/Chat/ChatStateNotifier.h | 26 |
2 files changed, 0 insertions, 26 deletions
diff --git a/Swiften b/Swiften new file mode 160000 +Subproject 8213ba16d0043d2461f4b031c881d61dda5a38c diff --git a/Swiften/Chat/ChatStateNotifier.h b/Swiften/Chat/ChatStateNotifier.h deleted file mode 100644 index 0ef4255..0000000 --- a/Swiften/Chat/ChatStateNotifier.h +++ /dev/null @@ -1,26 +0,0 @@ -#pragma once - -#include <boost/signals.hpp> -#include <boost/shared_ptr.hpp> - -#include "Swiften/Elements/ChatState.h" - -namespace Swift { - class ChatStateNotifier { - public: - ChatStateNotifier(); - void setContactHas85Caps(bool hasCaps); - void setUserIsTyping(); - void userSentMessage(); - void userCancelledNewMessage(); - void receivedMessageFromContact(bool hasActiveElement); - bool contactShouldReceiveStates(); - - boost::signal<void (ChatState::ChatStateType)> onChatStateChanged; - private: - bool contactHas85Caps_; - bool isInConversation_; - bool contactHasSentActive_; - bool userIsTyping_; - }; -} |