| 17 | #define NBxTYPENAME "XDA OS Image" |
| 18 | |
| 19 | char *GetAppPath() |
| 20 | { |
| 21 | static char appname[1024]; |
| 22 | if (!GetModuleFileName(NULL, appname, 1024)) |
| 23 | { |
| 24 | g_err.Set(stringformat("unable to get modulename: %s", LastError().c_str())); |
| 25 | return NULL; |
| 26 | } |
| 27 | |
| 28 | return appname; |
| 29 | } |
| 30 | |
| 31 | Configuration::Configuration() |
| 32 | { |
no test coverage detected