Changeset View
Changeset View
Standalone View
Standalone View
libraries/win32/gloox/include/gloox/capabilities.h
/* | /* | ||||
Copyright (c) 2007-2019 by Jakob Schröter <js@camaya.net> | Copyright (c) 2007-2019 by Jakob Schröter <js@camaya.net> | ||||
This file is part of the gloox library. http://camaya.net/gloox | This file is part of the gloox library. http://camaya.net/gloox | ||||
This software is distributed under a license. The full license | This software is distributed under a license. The full license | ||||
agreement can be found in the file LICENSE in this distribution. | agreement can be found in the file LICENSE in this distribution. | ||||
This software may not be copied, modified, sold or distributed | This software may not be copied, modified, sold or distributed | ||||
other than expressed in the named license agreement. | other than expressed in the named license agreement. | ||||
This software is distributed without any warranty. | This software is distributed without any warranty. | ||||
*/ | */ | ||||
#if !defined( GLOOX_MINIMAL ) || defined( WANT_CAPABILITIES ) | |||||
#ifndef CAPABILITIES_H__ | #ifndef CAPABILITIES_H__ | ||||
#define CAPABILITIES_H__ | #define CAPABILITIES_H__ | ||||
#include "disconodehandler.h" | #include "disconodehandler.h" | ||||
#include "stanzaextension.h" | #include "stanzaextension.h" | ||||
#include "tag.h" | #include "tag.h" | ||||
#include <string> | #include <string> | ||||
namespace gloox | namespace gloox | ||||
{ | { | ||||
class Disco; | class Disco; | ||||
class Tag; | class Tag; | ||||
/** | /** | ||||
* @brief This is an implementation of @xep{0115} (Entity Capabilities). | * @brief This is an implementation of @xep{0115} (Entity Capabilities). | ||||
* | * | ||||
* XEP Version: 1.5-15 | * XEP Version: 1.5 | ||||
* | |||||
* @author Jakob Schröter <js@camaya.net> | * @author Jakob Schröter <js@camaya.net> | ||||
* @since 1.0 | * @since 1.0 | ||||
*/ | */ | ||||
class GLOOX_API Capabilities : public StanzaExtension, public DiscoNodeHandler | class GLOOX_API Capabilities : public StanzaExtension, public DiscoNodeHandler | ||||
{ | { | ||||
public: | public: | ||||
/** | /** | ||||
▲ Show 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | private: | ||||
std::string m_hash; | std::string m_hash; | ||||
std::string m_ver; | std::string m_ver; | ||||
bool m_valid; | bool m_valid; | ||||
}; | }; | ||||
} | } | ||||
#endif // CAPABILITIES_H__ | #endif // CAPABILITIES_H__ | ||||
#endif // GLOOX_MINIMAL |
Wildfire Games · Phabricator