r7965 - software/gofind

Miriam Ruiz miriam at alioth.debian.org
Sat Aug 23 21:38:16 UTC 2008


Author: miriam
Date: 2008-08-23 21:38:16 +0000 (Sat, 23 Aug 2008)
New Revision: 7965

Added:
   software/gofind/cfgmanager.cpp
   software/gofind/cfgmanager.h
Modified:
   software/gofind/Makefile
Log:
Fixed test compilation issues
Added class for managing configuration



Modified: software/gofind/Makefile
===================================================================
--- software/gofind/Makefile	2008-08-23 04:06:41 UTC (rev 7964)
+++ software/gofind/Makefile	2008-08-23 21:38:16 UTC (rev 7965)
@@ -4,7 +4,7 @@
 LDFLAGS= 
 LIBS= -lept -lept-core -lapt-pkg -lxapian `pkg-config libtagcoll2 boolstuff-0.1 --libs`
 
-OBJS= Engine.o Environment.o filter.o gofind.o taghandler.o boolparser.o slre.o utf8.o
+OBJS= Engine.o Environment.o filter.o gofind.o taghandler.o cfgmanager.o boolparser.o slre.o utf8.o
 
 gofind: $(OBJS)
 	g++ -o $@ $+ $(LDFLAGS) $(LIBS)
@@ -15,7 +15,7 @@
 %.o: %.c
 	gcc -o $@ -c $+ $(CFLAGS)
 
-TEST_OBJS=  filter.test.o taghandler.test.o slre.test.o utf8.test.o CuTest.o test.o
+TEST_OBJS=  filter.test.o taghandler.test.o cfgmanager.test.o boolparser.test.o slre.test.o utf8.test.o CuTest.o test.o
 
 test: $(TEST_OBJS)
 	g++ -o $@ $+ $(LDFLAGS) $(LIBS)

Added: software/gofind/cfgmanager.cpp
===================================================================
--- software/gofind/cfgmanager.cpp	                        (rev 0)
+++ software/gofind/cfgmanager.cpp	2008-08-23 21:38:16 UTC (rev 7965)
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2008  Miriam Ruiz <little_miry at yahoo.es>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#include "common.h"
+#include "cfgmanager.h"
+
+ConfigManager::ConfigManager()
+{
+}
+
+ConfigManager::~ConfigManager()
+{
+}
+
+#ifdef UNIT_TEST
+TEST_FUNCTION TestCuConfigManager(CuTest* tc)
+{
+}
+#endif

Added: software/gofind/cfgmanager.h
===================================================================
--- software/gofind/cfgmanager.h	                        (rev 0)
+++ software/gofind/cfgmanager.h	2008-08-23 21:38:16 UTC (rev 7965)
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2008  Miriam Ruiz <little_miry at yahoo.es>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef _games_configmanager_h
+#define _games_configmanager_h
+
+class ConfigManager
+{
+public:
+    /**
+        Initializes the configuration manager.
+    */
+    ConfigManager();
+
+    /**
+        Destroys the configuration manager and frees the associated resources.
+    */
+    ~ConfigManager();
+
+private:
+};
+
+#endif




More information about the Pkg-games-commits mailing list