[opengtl-commits] [482] fix -L option now that there is LibrariesManager |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 482
Author: cyrille
Date: 2008-11-16 23:39:57 +0100 (Sun, 16 Nov 2008)
Log Message:
-----------
fix -L option now that there is LibrariesManager
Modified Paths:
--------------
trunk/OpenGTL/OpenShiva/tools/compiler/ShivaC.cpp
trunk/OpenGTL/OpenShiva/tools/interpreter/Shiva.cpp
trunk/OpenGTL/OpenShiva/tools/tester/ShivaTester.cpp
Modified: trunk/OpenGTL/OpenShiva/tools/compiler/ShivaC.cpp
===================================================================
--- trunk/OpenGTL/OpenShiva/tools/compiler/ShivaC.cpp 2008-11-16 22:36:39 UTC (rev 481)
+++ trunk/OpenGTL/OpenShiva/tools/compiler/ShivaC.cpp 2008-11-16 22:39:57 UTC (rev 482)
@@ -25,6 +25,7 @@
// OpenShiva Headers
#include <OpenShiva/Kernel.h>
#include <OpenShiva/Version.h>
+#include <OpenShiva/LibrariesManager.h>
void printVersion()
{
@@ -83,7 +84,7 @@
return EXIT_FAILURE;
} else {
++ai;
-// OpenShiva::ModulesManager::instance()->addDirectory(argv[ai]);
+ OpenShiva::LibrariesManager::instance()->addDirectory(argv[ai]);
}
} else {
if( ai != argc - 1)
Modified: trunk/OpenGTL/OpenShiva/tools/interpreter/Shiva.cpp
===================================================================
--- trunk/OpenGTL/OpenShiva/tools/interpreter/Shiva.cpp 2008-11-16 22:36:39 UTC (rev 481)
+++ trunk/OpenGTL/OpenShiva/tools/interpreter/Shiva.cpp 2008-11-16 22:39:57 UTC (rev 482)
@@ -38,6 +38,7 @@
#include <GTLCore/Image.h>
#include <OpenShiva/Kernel.h>
#include <OpenShiva/Version.h>
+#include <OpenShiva/LibrariesManager.h>
void printVersion()
{
@@ -88,7 +89,7 @@
return EXIT_FAILURE;
} else {
++ai;
-// OpenShiva::ModulesManager::instance()->addDirectory(argv[ai]);
+ OpenShiva::LibrariesManager::instance()->addDirectory(argv[ai]);
}
} else if(ARG_IS("-w", "--width")) {
if( ai == argc )
Modified: trunk/OpenGTL/OpenShiva/tools/tester/ShivaTester.cpp
===================================================================
--- trunk/OpenGTL/OpenShiva/tools/tester/ShivaTester.cpp 2008-11-16 22:36:39 UTC (rev 481)
+++ trunk/OpenGTL/OpenShiva/tools/tester/ShivaTester.cpp 2008-11-16 22:39:57 UTC (rev 482)
@@ -37,6 +37,7 @@
// GTLImageIO Headers
#include <GTLImageIO/ImageDC.h>
#include <GTLImageIO/ImageDCRegistry.h>
+#include <OpenShiva/LibrariesManager.h>
void printVersion()
{
@@ -88,7 +89,7 @@
return EXIT_FAILURE;
} else {
++ai;
-// OpenShiva::ModulesManager::instance()->addDirectory(argv[ai]);
+ OpenShiva::LibrariesManager::instance()->addDirectory(argv[ai]);
}
} else {
fileNames.push_back( argv[ai] );