15 #include "privacyitem.h"
21 const int packetType,
const std::string& value )
22 : m_type( type ), m_action( action ), m_packetType( packetType ),
33 if( m_type == item.
type()
34 && m_action == item.
action()
36 && m_value == item.
value() )
This is an abstraction of a single item of a privacy list, describing an allowed or forbidden action.
PrivacyItem(const ItemType type=TypeUndefined, const ItemAction action=ActionAllow, const int packetType=0, const std::string &value=EmptyString)
bool operator==(const PrivacyItem &item) const
ItemAction action() const
const std::string value() const
The namespace for the gloox library.