spielwiese
Last change
on this file since 5df856 was
5df856,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
Removing duplicates
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | #ifndef FERESOURCE_H |
---|
2 | #define FERESOURCE_H |
---|
3 | /***************************************************************** |
---|
4 | * |
---|
5 | * Resource management (feResources.cc) |
---|
6 | * |
---|
7 | *****************************************************************/ |
---|
8 | // returns value of Resource as read-only string, or NULL |
---|
9 | // if Resource not found |
---|
10 | // issues warning, if explicitely requested (warn > 0), or |
---|
11 | // if warn < 0 and Resource is gotten for the first time |
---|
12 | // Always quiet if warn == 0 |
---|
13 | char* feResource(const char id, int warn = -1); |
---|
14 | char* feResource(const char* key, int warn = -1); |
---|
15 | // This needs to be called before the first call to feResource |
---|
16 | // Initializes Resources, SearchPath, and extends PATH |
---|
17 | void feInitResources(char* argv0); |
---|
18 | // Re-inits resources, should be called after changing env. variables |
---|
19 | void feReInitResources(); |
---|
20 | // Prints resources into string with StringAppend, etc |
---|
21 | void feStringAppendResources(int warn = -1); |
---|
22 | |
---|
23 | |
---|
24 | |
---|
25 | const char fePathSep = |
---|
26 | // not really cygwin, applies to all windows systems: |
---|
27 | #if (defined(CYGWIN) || defined(ix86_Win)) |
---|
28 | ';' |
---|
29 | #else |
---|
30 | ':' |
---|
31 | #endif |
---|
32 | ; |
---|
33 | |
---|
34 | |
---|
35 | |
---|
36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.