diff --git a/include/transport/storagebackend.h b/include/transport/storagebackend.h index a2e9be4d47c002e81509a36c1853ca377c3e6960..d3736e52faa3f985f60c5f9225e0d40bda423a47 100644 --- a/include/transport/storagebackend.h +++ b/include/transport/storagebackend.h @@ -36,12 +36,43 @@ struct UserInfo { bool vip; ///< true if user is VIP }; +typedef enum +{ + TYPE_UNKNOWN = 0, /**< Unknown type. */ + TYPE_SUBTYPE, /**< Subtype. */ + TYPE_CHAR, /**< Character. */ + TYPE_UCHAR, /**< Unsigned character. */ + TYPE_BOOLEAN, /**< Boolean. */ + TYPE_SHORT, /**< Short integer. */ + TYPE_USHORT, /**< Unsigned short integer. */ + TYPE_INT, /**< Integer. */ + TYPE_UINT, /**< Unsigned integer. */ + TYPE_LONG, /**< Long integer. */ + TYPE_ULONG, /**< Unsigned long integer. */ + TYPE_INT64, /**< 64-bit integer. */ + TYPE_UINT64, /**< 64-bit unsigned integer. */ + TYPE_STRING, /**< String. */ + TYPE_OBJECT, /**< Object pointer. */ + TYPE_POINTER, /**< Generic pointer. */ + TYPE_ENUM, /**< Enum. */ + TYPE_BOXED /**< Boxed pointer with specific type. */ + +} SettingType; + +struct SettingVariableInfo { + int type; + std::string s; + int i; + bool b; +}; + struct BuddyInfo { long id; std::string alias; std::string legacyName; std::string subscription; std::vector groups; + std::map settings; int flags; };