acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
_c.h
1// Created by Camilo Sasuke Thomas Borregaard Soerensen on 05/01/18.
2#pragma once
3
4
5
6//CLASS_DECL_ACME string get_command_line();
7//CLASS_DECL_ACME bool is_verbose();
8
9
10#if defined(MACOS)
11
12#include "acme/operating_system/ansi/_c.h"
13#include "acme/operating_system/apple/_c.h"
14#include "acme/operating_system/macos/_c.h"
15
16#elif defined(APPLE_IOS)
17
18#include "acme/operating_system/ansi/_c.h"
19#include "acme/operating_system/apple/_c.h"
20#include "acme/operating_system/ios/_c.h"
21
22#elif defined(LINUX)
23
24//#include "acme/operating_system/cairo/_c.h"
25//#include "acme/operating_system/ansi/_c.h"
26//#include "acme/operating_system/linux/_c.h"
27
28#elif defined(FREEBSD)
29
30//#include "acme/operating_system/cairo/_c.h"
31//#include "acme/operating_system/ansi/_c.h"
32//#include "acme/operating_system/linux/_c.h"
33
34#elif defined(OPENBSD)
35
36//#include "acme/operating_system/cairo/_c.h"
37//#include "acme/operating_system/ansi/_c.h"
38//#include "acme/operating_system/linux/_c.h"
39
40#elif defined(UNIVERSAL_WINDOWS)
41
42#include "acme/operating_system/ansi/_c.h"
43#include "acme/operating_system/windows_common/_c.h"
44#include "acme/operating_system/universal_windows/_c.h"
45
46#elif defined(WINDOWS_DESKTOP)
47
48#include "acme/operating_system/ansi/_c.h"
49#include "acme/operating_system/windows_common/_c.h"
50#include "acme/operating_system/windows/_c.h"
51
52#elif defined(__ANDROID__)
53
54#include "acme/operating_system/ansi/_c.h"
55#include "acme/operating_system/android/_c.h"
56
57#elif defined(SOLARIS)
58
59#include "acme/operating_system/ansi/_c.h"
60#include "acme/operating_system/solaris/_c.h"
61
62#else
63
64#error "The operating system wasn't expected."
65
66#endif
67
68//template < typename PRED >
69//inline bool predicate_Sleep(::i32 iTime, PRED pred);
70
71//CLASS_DECL_ACME void press_any_key_to_exit(const ::scoped_string & scopedstr);
72
73//void adapt_font_name(string & str);
74
75
76
77
78
79//CLASS_DECL_ACME void defer_dock_application(::i32_bool bDock);
80
81
82
83//CLASS_DECL_ACME string get_current_login_name();
84
85
86#if defined(WINDOWS)
87
88
89CLASS_DECL_ACME _locale_t get_c_locale();
90
91
92#else
93
94
95CLASS_DECL_ACME locale_t get_c_locale();
96
97#endif
98
99