summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmchooser/src/vmchooser/inc/functions.h
blob: d45c6d4b6d097f0506a2ce2a3f93d1dbeab3bfc2 (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** readLinSession(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_ */