Changeset c630d09 in nscp for modules/CheckExternalScripts/commands.hpp
- Timestamp:
- 05/13/12 23:13:25 (13 months ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2
- Children:
- 1cc8566
- Parents:
- df109f9
- File:
-
- 1 edited
-
modules/CheckExternalScripts/commands.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
modules/CheckExternalScripts/commands.hpp
r67c6d04 rc630d09 120 120 static void read_object(boost::shared_ptr<nscapi::settings_proxy> proxy, object_type &object) { 121 121 object.set_command(object.value); 122 std::wstring alias; 122 123 //if (object.alias == _T("default")) 123 124 // Pupulate default template! … … 144 145 _T("COMMAND"), _T("Command to execute")) 145 146 146 (_T("alias"), sh::wstring_key(& object.alias),147 _T("ALIAS"), _T("The alias (service name) to report to server") )147 (_T("alias"), sh::wstring_key(&alias), 148 _T("ALIAS"), _T("The alias (service name) to report to server"), true) 148 149 149 150 (_T("parent"), nscapi::settings_helper::wstring_key(&object.parent, _T("default")), … … 166 167 settings.register_all(); 167 168 settings.notify(); 169 if (!alias.empty()) 170 object.alias = alias; 168 171 169 172 /*
Note: See TracChangeset
for help on using the changeset viewer.








