Revision: 40776
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40776&view=rev
Author:   davidloman
Date:     2010-09-29 10:47:28 +0000 (Wed, 29 Sep 2010)

Log Message:
-----------
Rename gsmain to a better name.  Will be stubbing in a mock client soon.

Modified Paths:
--------------
    rt^3/trunk/src/GS/CMakeLists.txt

Added Paths:
-----------
    rt^3/trunk/src/GS/geoserv.cxx

Removed Paths:
-------------
    rt^3/trunk/src/GS/gsmain.cxx

Modified: rt^3/trunk/src/GS/CMakeLists.txt
===================================================================
--- rt^3/trunk/src/GS/CMakeLists.txt    2010-09-29 06:49:30 UTC (rev 40775)
+++ rt^3/trunk/src/GS/CMakeLists.txt    2010-09-29 10:47:28 UTC (rev 40776)
@@ -99,7 +99,7 @@
 
 #set Source files
 RT3_PROJECT_ADD_SOURCES (
-       gsmain.cxx
+       geoserv.cxx
 )
 
 #Set INST Headers

Copied: rt^3/trunk/src/GS/geoserv.cxx (from rev 40775, 
rt^3/trunk/src/GS/gsmain.cxx)
===================================================================
--- rt^3/trunk/src/GS/geoserv.cxx                               (rev 0)
+++ rt^3/trunk/src/GS/geoserv.cxx       2010-09-29 10:47:28 UTC (rev 40776)
@@ -0,0 +1,56 @@
+/*                       G M A I N . C X X
+ * BRL-CAD
+ *
+ * Copyright (c) 2010 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this file; see the file named COPYING for more
+ * information.
+ */
+/** @file gsmain.cxx
+ *
+ * Brief description
+ *
+ */
+
+#include "GeometryService.h"
+
+#include "libalf.h"
+#include "libutility.h"
+#include "libevent.h"
+
+#include <iostream>
+
+#include <QtCore/QString>
+
+int main(int argc, char* argv[])
+{
+    std::cout << std::endl << std::endl;
+
+    Logger* log = Logger::getInstance();
+    Config* c = Config::getInstance();
+
+    //TODO Configure system loads stuff here
+    if (c->loadFile("geoserve.config")) {
+       return 1;
+    }
+
+    QString localNodename = c->getConfigValue("LocalNodeName");
+    if (localNodename == "") {
+       localNodename = "DefaultGSNodename";
+    }
+
+    log->logBANNER("GSMain", "Booting GeometryService: " + localNodename);
+
+    return 0;
+}

Deleted: rt^3/trunk/src/GS/gsmain.cxx
===================================================================
--- rt^3/trunk/src/GS/gsmain.cxx        2010-09-29 06:49:30 UTC (rev 40775)
+++ rt^3/trunk/src/GS/gsmain.cxx        2010-09-29 10:47:28 UTC (rev 40776)
@@ -1,56 +0,0 @@
-/*                       G M A I N . C X X
- * BRL-CAD
- *
- * Copyright (c) 2010 United States Government as represented by
- * the U.S. Army Research Laboratory.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * version 2.1 as published by the Free Software Foundation.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this file; see the file named COPYING for more
- * information.
- */
-/** @file gsmain.cxx
- *
- * Brief description
- *
- */
-
-#include "GeometryService.h"
-
-#include "libalf.h"
-#include "libutility.h"
-#include "libevent.h"
-
-#include <iostream>
-
-#include <QtCore/QString>
-
-int main(int argc, char* argv[])
-{
-    std::cout << std::endl << std::endl;
-
-    Logger* log = Logger::getInstance();
-    Config* c = Config::getInstance();
-
-    //TODO Configure system loads stuff here
-    if (c->loadFile("geoserve.config")) {
-       return 1;
-    }
-
-    QString localNodename = c->getConfigValue("LocalNodeName");
-    if (localNodename == "") {
-       localNodename = "DefaultGSNodename";
-    }
-
-    log->logBANNER("GSMain", "Booting GeometryService: " + localNodename);
-
-    return 0;
-}


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to