70 |
70 |
71 /* |
71 /* |
72 Defines a propery |
72 Defines a propery |
73 \param key XQPublishAndSubscribeSettingsKey which defines the propery details |
73 \param key XQPublishAndSubscribeSettingsKey which defines the propery details |
74 \param type Propery type (NOTE: TypeDouble is not supported by Publish and Subscribe.) |
74 \param type Propery type (NOTE: TypeDouble is not supported by Publish and Subscribe.) |
75 \return True if the property was succesfully defined, otherwise return false. |
75 \return True if the property was successfully defined, otherwise return false. |
76 */ |
76 */ |
77 bool XQPublishAndSubscribeUtils::defineProperty(const XQPublishAndSubscribeSettingsKey& key, XQSettingsManager::Type type) |
77 bool XQPublishAndSubscribeUtils::defineProperty(const XQPublishAndSubscribeSettingsKey& key, XQSettingsManager::Type type) |
78 { |
78 { |
79 return d->defineProperty(key, type); |
79 return d->defineProperty(key, type); |
80 } |
80 } |
83 Defines a propery with security policies |
83 Defines a propery with security policies |
84 \param key XQPublishAndSubscribeSettingsKey which defines the propery details |
84 \param key XQPublishAndSubscribeSettingsKey which defines the propery details |
85 \param type Propery type (NOTE: TypeDouble is not supported by Publish and Subscribe.) |
85 \param type Propery type (NOTE: TypeDouble is not supported by Publish and Subscribe.) |
86 \param readPolicy Policy definition for read operations |
86 \param readPolicy Policy definition for read operations |
87 \param writePolicy Policy definition for write operations |
87 \param writePolicy Policy definition for write operations |
88 \return True if the property was succesfully defined, otherwise return false. |
88 \return True if the property was successfully defined, otherwise return false. |
89 */ |
89 */ |
90 bool XQPublishAndSubscribeUtils::defineProperty(const XQPublishAndSubscribeSettingsKey& key, XQSettingsManager::Type type, |
90 bool XQPublishAndSubscribeUtils::defineProperty(const XQPublishAndSubscribeSettingsKey& key, XQSettingsManager::Type type, |
91 const XQPublishAndSubscribeSecurityPolicy& readPolicy, const XQPublishAndSubscribeSecurityPolicy& writePolicy) |
91 const XQPublishAndSubscribeSecurityPolicy& readPolicy, const XQPublishAndSubscribeSecurityPolicy& writePolicy) |
92 { |
92 { |
93 return d->defineProperty(key, type, readPolicy, writePolicy); |
93 return d->defineProperty(key, type, readPolicy, writePolicy); |
94 } |
94 } |
95 |
95 |
96 /* |
96 /* |
97 Deletes a propery |
97 Deletes a propery |
98 \param key XQPublishAndSubscribeSettingsKey which defines the propery details |
98 \param key XQPublishAndSubscribeSettingsKey which defines the propery details |
99 \return True if the property was succesfully defined, otherwise return false. |
99 \return True if the property was successfully defined, otherwise return false. |
100 */ |
100 */ |
101 bool XQPublishAndSubscribeUtils::deleteProperty(const XQPublishAndSubscribeSettingsKey& key) |
101 bool XQPublishAndSubscribeUtils::deleteProperty(const XQPublishAndSubscribeSettingsKey& key) |
102 { |
102 { |
103 return d->deleteProperty(key); |
103 return d->deleteProperty(key); |
104 } |
104 } |