mirror of
https://github.com/mappu/miqt.git
synced 2025-01-03 14:18:37 +00:00
31 lines
830 B
C
31 lines
830 B
C
|
#ifndef GEN_QSTANDARDPATHS_H
|
||
|
#define GEN_QSTANDARDPATHS_H
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include <stddef.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
class QStandardPaths;
|
||
|
#else
|
||
|
typedef struct QStandardPaths QStandardPaths;
|
||
|
#endif
|
||
|
|
||
|
void QStandardPaths_FindExecutable(const char* executableName, size_t executableName_Strlen, char** _out, int* _out_Strlen);
|
||
|
void QStandardPaths_EnableTestMode(bool testMode);
|
||
|
void QStandardPaths_SetTestModeEnabled(bool testMode);
|
||
|
bool QStandardPaths_IsTestModeEnabled();
|
||
|
void QStandardPaths_FindExecutable2(const char* executableName, size_t executableName_Strlen, char** paths, uint64_t* paths_Lengths, size_t paths_len, char** _out, int* _out_Strlen);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
} /* extern C */
|
||
|
#endif
|
||
|
|
||
|
#endif
|