int EQW::CountLaunchers(bool active_only) { if(active_only) return(launcher_list.GetLauncherCount()); vector<string> it(EQW::ListLaunchers()); return(it.size()); }
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); }