コード例 #1
0
NSCAPI::errorReturn nscapi::core_wrapper::reload(std::string module) const {
	if (!fNSAPIReload)
		throw nscapi::nscapi_exception("NSCore has not been initiated...");
	return fNSAPIReload(module.c_str());
}
コード例 #2
0
ファイル: nscapi_core_wrapper.cpp プロジェクト: mickem/nscp
bool nscapi::core_wrapper::reload(std::string module) const {
	if (!fNSAPIReload)
		throw nsclient::nsclient_exception("NSCore has not been initiated...");
	return NSCAPI::api_ok(fNSAPIReload(module.c_str()));
}