Esempio n. 1
0
int EQW::CountLaunchers(bool active_only) {
	if(active_only)
		return(launcher_list.GetLauncherCount());
	
	vector<string> it(EQW::ListLaunchers());
	return(it.size());
}
Esempio n. 2
0
void EQW__GetLauncherCount(WebInterface *i, const std::string& method, const std::string& id, const Json::Value& params) {
	Json::Value ret = launcher_list.GetLauncherCount();
	i->SendResponse(id, ret);
}