forked from tomsoftware/EOS-Formats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexport_lib_job.h
30 lines (24 loc) · 1002 Bytes
/
export_lib_job.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef EXPORT_LIB_JOB_H
#define EXPORT_LIB_JOB_H
#include "clJobFileInterpreter.h"
#define MAGIC_JOB ('J' | ('o' << 8) | ('B' << 16) | (255 < 24))
struct tyLibraryInterface
{
int magic;
clJobFileInterpreter *jobFile;
};
//---- DLL EXPORTS ------//
#define DllExport extern "C" __declspec(dllexport)
DllExport int jf_initLib();
DllExport void jf_freeLib(int jobI);
DllExport int jf_readFromFile(int jobI, char *fileName);
DllExport int jf_printXML(int jobI);
DllExport char *jf_getKeyName(int jobI, int keyIndex);
DllExport int jf_getFirstKeyChild(int jobI, int keyIndex);
DllExport int jf_getNextKeyChild(int jobI, int keyIndex);
DllExport int jf_getFirstProperty(int jobI, int propertyIndex);
DllExport int jf_getNextProperty(int jobI, int propertyIndex);
DllExport char *jf_getPropertyName(int jobI, int propertyIndex);
DllExport char *jf_getPropertyValue(int jobI, int propertyIndex);
DllExport char *jf_getPropertyComment(int jobI, int propertyIndex);
#endif