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() )
The namespace for the gloox library.
bool operator==(const PrivacyItem &item) const
PrivacyItem(const ItemType type=TypeUndefined, const ItemAction action=ActionAllow, const int packetType=0, const std::string &value=EmptyString)
This is an abstraction of a single item of a privacy list, describing an allowed or forbidden action...
ItemAction action() const
const std::string value() const