summaryrefslogtreecommitdiff
path: root/server/service.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-02-12 20:36:08 +0200
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2013-02-12 20:36:08 +0200
commit1d41574c6e8e7bbf3705645feb429df6281ccb83 (patch)
treed0bf256321aef49dd386a9c459104c2fb019ca64 /server/service.cpp
parentc98a83a1591b1bcb58b3ed29bdbfb1446948f466 (diff)
working on service support
Diffstat (limited to 'server/service.cpp')
-rw-r--r--server/service.cpp18
1 files changed, 18 insertions, 0 deletions
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<service_info> 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;
+}
+
+};