mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-10 17:59:32 -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
libretroshare/src
@ -284,12 +284,6 @@ struct RsLoginHelper
|
||||
* @return true if already logged in, false otherwise
|
||||
*/
|
||||
bool isLoggedIn();
|
||||
|
||||
/**
|
||||
* @brief Close RetroShare session
|
||||
* @jsonapi{development}
|
||||
*/
|
||||
void closeSession();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -141,7 +141,7 @@ public:
|
||||
/**
|
||||
* @brief getServiceName lookup the name of a service.
|
||||
* @jsonapi{development}
|
||||
* @param[in] service_id service to look up
|
||||
* @param[in] serviceId service to look up
|
||||
* @return name of service
|
||||
*/
|
||||
virtual std::string getServiceName(uint32_t serviceId) = 0;
|
||||
|
@ -2014,11 +2014,6 @@ bool RsLoginHelper::isLoggedIn()
|
||||
return RsControl::instance()->isReady();
|
||||
}
|
||||
|
||||
void RsLoginHelper::closeSession()
|
||||
{
|
||||
RsControl::instance()->rsGlobalShutDown();
|
||||
}
|
||||
|
||||
void RsLoginHelper::Location::serial_process(
|
||||
RsGenericSerializer::SerializeJob j,
|
||||
RsGenericSerializer::SerializeContext& ctx )
|
||||
|
Loading…
x
Reference in New Issue
Block a user