From 1d41574c6e8e7bbf3705645feb429df6281ccb83 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 12 Feb 2013 20:36:08 +0200 Subject: working on service support --- server/service.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'server/service.cpp') diff --git a/server/service.cpp b/server/service.cpp index ab9d7a1..004def3 100644 --- a/server/service.cpp +++ b/server/service.cpp @@ -14,3 +14,21 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#include "headers.h" + +namespace service +{ + + std::list installed_services; + +bool service_info::operator==(const std::string &name) +{ + return name == this->name; +} + +bool service_info::command::operator==(const std::string &command) +{ + return command == this->command; +} + +}; -- cgit v1.2.3