2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QSTANDARDPATHS_H
|
|
|
|
#define GEN_QSTANDARDPATHS_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QStandardPaths;
|
|
|
|
#else
|
|
|
|
typedef struct QStandardPaths QStandardPaths;
|
|
|
|
#endif
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QStandardPaths_WritableLocation(int typeVal);
|
2024-11-04 07:18:27 +00:00
|
|
|
struct miqt_array QStandardPaths_StandardLocations(int typeVal);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QStandardPaths_Locate(int typeVal, struct miqt_string fileName);
|
2024-11-04 07:18:27 +00:00
|
|
|
struct miqt_array QStandardPaths_LocateAll(int typeVal, struct miqt_string fileName);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QStandardPaths_DisplayName(int typeVal);
|
|
|
|
struct miqt_string QStandardPaths_FindExecutable(struct miqt_string executableName);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QStandardPaths_EnableTestMode(bool testMode);
|
|
|
|
void QStandardPaths_SetTestModeEnabled(bool testMode);
|
|
|
|
bool QStandardPaths_IsTestModeEnabled();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QStandardPaths_Locate3(int typeVal, struct miqt_string fileName, int options);
|
2024-11-04 07:18:27 +00:00
|
|
|
struct miqt_array QStandardPaths_LocateAll3(int typeVal, struct miqt_string fileName, int options);
|
|
|
|
struct miqt_string QStandardPaths_FindExecutable2(struct miqt_string executableName, struct miqt_array /* of struct miqt_string */ paths);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|