mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 14:12:43 -04:00
More fixes to JSON API
Remove unnecessary dangerous method from RsLoginHelper Fix documentation for RsServiceControl::getServiceName that was breaking JSON API and causing compilation warning
This commit is contained in:
parent
5245765964
commit
1694e37c58
3 changed files with 1 additions and 12 deletions
|
@ -284,12 +284,6 @@ struct RsLoginHelper
|
||||||
* @return true if already logged in, false otherwise
|
* @return true if already logged in, false otherwise
|
||||||
*/
|
*/
|
||||||
bool isLoggedIn();
|
bool isLoggedIn();
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Close RetroShare session
|
|
||||||
* @jsonapi{development}
|
|
||||||
*/
|
|
||||||
void closeSession();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -141,7 +141,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @brief getServiceName lookup the name of a service.
|
* @brief getServiceName lookup the name of a service.
|
||||||
* @jsonapi{development}
|
* @jsonapi{development}
|
||||||
* @param[in] service_id service to look up
|
* @param[in] serviceId service to look up
|
||||||
* @return name of service
|
* @return name of service
|
||||||
*/
|
*/
|
||||||
virtual std::string getServiceName(uint32_t serviceId) = 0;
|
virtual std::string getServiceName(uint32_t serviceId) = 0;
|
||||||
|
|
|
@ -2014,11 +2014,6 @@ bool RsLoginHelper::isLoggedIn()
|
||||||
return RsControl::instance()->isReady();
|
return RsControl::instance()->isReady();
|
||||||
}
|
}
|
||||||
|
|
||||||
void RsLoginHelper::closeSession()
|
|
||||||
{
|
|
||||||
RsControl::instance()->rsGlobalShutDown();
|
|
||||||
}
|
|
||||||
|
|
||||||
void RsLoginHelper::Location::serial_process(
|
void RsLoginHelper::Location::serial_process(
|
||||||
RsGenericSerializer::SerializeJob j,
|
RsGenericSerializer::SerializeJob j,
|
||||||
RsGenericSerializer::SerializeContext& ctx )
|
RsGenericSerializer::SerializeContext& ctx )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue