summaryrefslogtreecommitdiffstats
path: root/vmchooser/inc
diff options
context:
space:
mode:
Diffstat (limited to 'vmchooser/inc')
-rw-r--r--vmchooser/inc/functions.h8
-rw-r--r--vmchooser/inc/paths.h14
2 files changed, 14 insertions, 8 deletions
diff --git a/vmchooser/inc/functions.h b/vmchooser/inc/functions.h
index 91dfdd1..0e5be33 100644
--- a/vmchooser/inc/functions.h
+++ b/vmchooser/inc/functions.h
@@ -1,19 +1,19 @@
#ifndef _FUNCTIONS_H_
#define _FUNCTIONS_H_
-#include <fltk/Widget.h>
#include <libxml/xpath.h>
#include <glob.h>
#include "DataEntry.h"
+#include <vector>
/* Attention: both return malloced array */
-DataEntry** readXmlDir(char* path);
-DataEntry** readLinSess(char* path);
+std::vector<DataEntry> readXmlDir(char* path);
+std::vector<DataEntry> readLinSess(char* path);
/* This is thought as a callback-function for the Select-Browser */
-void runImage(fltk::Widget* , void* p);
+void runImage(DataEntry);
/* building & executing command for different Virtualizer */
void runImage(DataEntry&, string confxml);
diff --git a/vmchooser/inc/paths.h b/vmchooser/inc/paths.h
index 2b58c1a..6a18ef5 100644
--- a/vmchooser/inc/paths.h
+++ b/vmchooser/inc/paths.h
@@ -1,9 +1,15 @@
#ifndef PATHS_H
#define PATHS_H
-#define VMCHOOSER_PLUGIN_PATH "/opt/openslx/plugin-repo/vmchooser/"
-#define VMCHOOSER_BIN_PATH "/var/opt/openslx/bin/"
-#define VMCHOOSER_ETC_BASE_PATH "/etc/opt/openslx/plugins/vmchooser/"
-#define VMCHOOSER_VMPATH "/var/lib/virt"
+//#define VMCHOOSER_PLUGIN_PATH "/opt/openslx/plugin-repo/vmchooser/"
+//#define VMCHOOSER_BIN_PATH "/var/opt/openslx/bin/"
+//#define VMCHOOSER_ETC_BASE_PATH "/etc/opt/openslx/plugins/vmchooser/"
+//#define VMCHOOSER_VMPATH "/var/lib/virt"
+
+#define VMCHOOSER_PLUGIN_PATH "/home/zwerg/vmchooser/plugin/"
+#define VMCHOOSER_BIN_PATH "/home/zwerg/vmchooser/bin/"
+#define VMCHOOSER_ETC_BASE_PATH "/home/zwerg/vmchooser/etc/"
+#define VMCHOOSER_VMPATH "/home/zwerg/vmchooser/vm/"
+
#endif