tempobjectfp << "\t" "members" "\t";
DumpNameList(tempobjectfp, ug->GetMembers());
tempobjectfp << "\n"
- "\t" "}" "\n";
+ "\t" "}" "\n";
objectfp << tempobjectfp.str();
}
<< boost::errinfo_api_function("rename")
<< boost::errinfo_errno(errno)
<< boost::errinfo_file_name(tempFilename));
- }
-
+ }
}
%attribute %string "icon_image",
%attribute %string "icon_image_alt",
- %attribute %name(Endpoint) "command_endpoint",
+ %attribute %name(Endpoint) "command_endpoint",
}
%type Host %inherits Checkable {
%attribute %number "*"
},
- %attribute %name(Endpoint) "command_endpoint",
+ %attribute %name(Endpoint) "command_endpoint",
}
%type User {
Checkable::Ptr checkable = Checkable::GetOwnerByCommentID(comment->GetId());
- Host::Ptr host;
- Service::Ptr service;
- tie(host, service) = GetHostService(checkable);
+ Host::Ptr host;
+ Service::Ptr service;
+ tie(host, service) = GetHostService(checkable);
return host;
}
Checkable::Ptr checkable = Checkable::GetOwnerByCommentID(comment->GetId());
- Host::Ptr host;
- Service::Ptr service;
- tie(host, service) = GetHostService(checkable);
+ Host::Ptr host;
+ Service::Ptr service;
+ tie(host, service) = GetHostService(checkable);
return service;
}
Checkable::Ptr checkable = Checkable::GetOwnerByDowntimeID(downtime->GetId());
- Host::Ptr host;
- Service::Ptr service;
- tie(host, service) = GetHostService(checkable);
+ Host::Ptr host;
+ Service::Ptr service;
+ tie(host, service) = GetHostService(checkable);
return host;
}
Checkable::Ptr checkable = Checkable::GetOwnerByDowntimeID(downtime->GetId());
- Host::Ptr host;
- Service::Ptr service;
- tie(host, service) = GetHostService(checkable);
+ Host::Ptr host;
+ Service::Ptr service;
+ tie(host, service) = GetHostService(checkable);
return service;
}
{
public:
static void ScriptFunc(const Checkable::Ptr& service,
- const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
+ const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
private:
PluginEventTask(void);
static void ScriptFunc(const Notification::Ptr& notification,
const User::Ptr& user, const CheckResult::Ptr& cr, int itype,
const String& author, const String& comment,
- const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
+ const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
private:
PluginNotificationTask(void);
}
%type GelfWriter {
- %attribute %string "host",
- %attribute %string "port",
- %attribute %string "source"
+ %attribute %string "host",
+ %attribute %string "port",
+ %attribute %string "source"
}