chatstatehandler.h
/*
Copyright (c) 2005-2023 by Jakob Schröter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold or distributed
other than expressed in the named license agreement.
This software is distributed without any warranty.
*/
#ifndef CHATSTATEHANDLER_H__
#define CHATSTATEHANDLER_H__
#include "gloox.h"
namespace gloox
{
class JID;
class GLOOX_API ChatStateHandler
{
public:
virtual ~ChatStateHandler() {}
virtual void handleChatState( const JID& from, ChatStateType state ) = 0;
};
}
#endif // CHATSTATEHANDLER_H__
gloox::ChatStateHandler
A virtual interface that enables an object to be notified about a remote entity's Chat States (XEP-00...
Definition chatstatehandler.h:32
gloox::ChatStateHandler::~ChatStateHandler
virtual ~ChatStateHandler()
Definition chatstatehandler.h:37
gloox::ChatStateHandler::handleChatState
virtual void handleChatState(const JID &from, ChatStateType state)=0
gloox::JID
An abstraction of a JID.
Definition jid.h:31
gloox
The namespace for the gloox library.
Definition adhoc.cpp:28
gloox::ChatStateType
ChatStateType
Definition gloox.h:1105