Changeset View
Changeset View
Standalone View
Standalone View
libraries/win32/gloox/include/gloox/dataform.h
/* | /* | ||||
Copyright (c) 2005-2019 by Jakob Schröter <js@camaya.net> | Copyright (c) 2005-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_DATAFORM ) || defined( WANT_ADHOC ) | |||||
#ifndef DATAFORM_H__ | #ifndef DATAFORM_H__ | ||||
#define DATAFORM_H__ | #define DATAFORM_H__ | ||||
#include "dataformfieldcontainer.h" | #include "dataformfieldcontainer.h" | ||||
#include "adhocplugin.h" | #include "adhocplugin.h" | ||||
#include <string> | #include <string> | ||||
#include <list> | #include <list> | ||||
Show All 21 Lines | TypeResult, /**< The forms-processing entity is returning data (e.g., search | ||||
* generic data set. */ | * generic data set. */ | ||||
TypeInvalid /**< The form is invalid. Only possible if the form was created | TypeInvalid /**< The form is invalid. Only possible if the form was created | ||||
* from an Tag which doesn't correctly describe a Data Form. */ | * from an Tag which doesn't correctly describe a Data Form. */ | ||||
}; | }; | ||||
/** | /** | ||||
* @brief An abstraction of a @xep{0004} Data Form. | * @brief An abstraction of a @xep{0004} Data Form. | ||||
* | * | ||||
* | * XEP Version: 2.9 | ||||
* | * | ||||
* @author Jakob Schröter <js@camaya.net> | * @author Jakob Schröter <js@camaya.net> | ||||
* @since 0.7 | * @since 0.7 | ||||
*/ | */ | ||||
class GLOOX_API DataForm : public AdhocPlugin, public DataFormFieldContainer | class GLOOX_API DataForm : public AdhocPlugin, public DataFormFieldContainer | ||||
{ | { | ||||
public: | public: | ||||
/** | /** | ||||
▲ Show 20 Lines • Show All 130 Lines • ▼ Show 20 Lines | private: | ||||
DataFormReported* m_reported; | DataFormReported* m_reported; | ||||
ItemList m_items; | ItemList m_items; | ||||
}; | }; | ||||
} | } | ||||
#endif // DATAFORM_H__ | #endif // DATAFORM_H__ | ||||
#endif // GLOOX_MINIMAL |
Wildfire Games · Phabricator