summaryrefslogtreecommitdiff
path: root/branches/hugues/glagen/dll/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'branches/hugues/glagen/dll/main.cc')
-rw-r--r--branches/hugues/glagen/dll/main.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/branches/hugues/glagen/dll/main.cc b/branches/hugues/glagen/dll/main.cc
new file mode 100644
index 0000000..ac744f7
--- /dev/null
+++ b/branches/hugues/glagen/dll/main.cc
@@ -0,0 +1,21 @@
+#include <list>
+#include <string>
+#include "libraryloader.hh"
+
+
+extern int GLG_property_pos;
+list<string> Libs;
+
+int
+main(int argc,
+ char **argv)
+{
+
+ for (int i = 1; i < argc; i++)
+ Libs.push_back(argv[i]);
+
+ GLG_property_pos = 0;
+
+ LibraryLoader(Libs);
+ return 0;
+}