forked from DC-SWAT/DreamShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathds.h
More file actions
62 lines (52 loc) · 1.08 KB
/
Copy pathds.h
File metadata and controls
62 lines (52 loc) · 1.08 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/**
* \file ds.h
* \brief DreamShell core header
* \date 2004-2014
* \author SWAT www.dc-swat.ru
*/
#ifndef _DS_CORE_H
#define _DS_CORE_H
#include <kos.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include "video.h"
#include "list.h"
#include "module.h"
#include "events.h"
#include "console.h"
#include "lua.h"
#include "app.h"
#include "utils.h"
#include "cfg+.h"
#include "exceptions.h"
#include "settings.h"
/**
* Get DreamShell version code
*/
uint32 GetVersion();
/**
* Set DreamShell version code and update env string
*/
void SetVersion(uint32 ver);
/**
* Same as getenv("VERSION")
*/
char *GetVersionString() __attribute__((deprecated));
/**
* Get the build type as string (Alpha, Beta, RC and Release)
*/
const char *GetVersionBuildTypeString(int type);
/**
* Initialize and shutdown DreamShell core
*/
int InitDS();
void ShutdownDS();
/**
* Main(input) thread locking
*/
void LockInput();
void UnlockInput();
int InputIsLocked();
int InputMustLock();
#endif /* _DS_CORE_H */