Changeset 6026 for pjproject/trunk/pjsip/src/pjsua2/presence.cpp
- Timestamp:
- Jun 12, 2019 6:00:35 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua2/presence.cpp
r5969 r6026 37 37 /////////////////////////////////////////////////////////////////////////////// 38 38 39 void BuddyConfig::readObject(const ContainerNode &node) throw(Error)39 void BuddyConfig::readObject(const ContainerNode &node) PJSUA2_THROW(Error) 40 40 { 41 41 ContainerNode this_node = node.readContainer("BuddyConfig"); … … 45 45 } 46 46 47 void BuddyConfig::writeObject(ContainerNode &node) const throw(Error)47 void BuddyConfig::writeObject(ContainerNode &node) const PJSUA2_THROW(Error) 48 48 { 49 49 ContainerNode this_node = node.writeNewContainer("BuddyConfig"); … … 124 124 * Create buddy and register the buddy to PJSUA-LIB. 125 125 */ 126 void Buddy::create(Account &account, const BuddyConfig &cfg) throw(Error) 126 void Buddy::create(Account &account, const BuddyConfig &cfg) 127 PJSUA2_THROW(Error) 127 128 { 128 129 pjsua_buddy_config pj_cfg; … … 155 156 * Get detailed buddy info. 156 157 */ 157 BuddyInfo Buddy::getInfo() const throw(Error)158 BuddyInfo Buddy::getInfo() const PJSUA2_THROW(Error) 158 159 { 159 160 pjsua_buddy_info pj_bi; … … 168 169 * Enable/disable buddy's presence monitoring. 169 170 */ 170 void Buddy::subscribePresence(bool subscribe) throw(Error)171 void Buddy::subscribePresence(bool subscribe) PJSUA2_THROW(Error) 171 172 { 172 173 PJSUA2_CHECK_EXPR( pjsua_buddy_subscribe_pres(id, subscribe) ); … … 177 178 * Update the presence information for the buddy. 178 179 */ 179 void Buddy::updatePresence(void) throw(Error)180 void Buddy::updatePresence(void) PJSUA2_THROW(Error) 180 181 { 181 182 PJSUA2_CHECK_EXPR( pjsua_buddy_update_pres(id) ); … … 185 186 * Send instant messaging outside dialog. 186 187 */ 187 void Buddy::sendInstantMessage(const SendInstantMessageParam &prm) throw(Error) 188 void Buddy::sendInstantMessage(const SendInstantMessageParam &prm) 189 PJSUA2_THROW(Error) 188 190 { 189 191 BuddyInfo bi = getInfo(); … … 211 213 */ 212 214 void Buddy::sendTypingIndication(const SendTypingIndicationParam &prm) 213 throw(Error)215 PJSUA2_THROW(Error) 214 216 { 215 217 BuddyInfo bi = getInfo();
Note: See TracChangeset
for help on using the changeset viewer.