summaryrefslogtreecommitdiffstats
path: root/vmchooser/inc/functions.h
blob: c95170acf65c7d0e30897fac376b51cd8d85a6f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _FUNCTIONS_H_
#define _FUNCTIONS_H_

#include <fltk/Widget.h>

#include <glob.h>

#include "DataEntry.h"

DataEntry** readXmlDir(char* path); /* Attention: returns malloced array */
DataEntry** readLinSess(char* path);

void runImage(fltk::Widget* , void* p); /* This is thought as a callback-function for the Select-Browser */
string buildCommand(DataEntry&); /* building command for different Virtualizer */

glob_t* globber(char* path, char* filetype); /* Globs for a specific filetype */


#endif /* _FUNCTIONS_H_ */