2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QSTANDARDPATHS_H
|
|
|
|
#define MIQT_QT6_GEN_QSTANDARDPATHS_H
|
2024-10-20 18:21:03 +13:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#include "../libmiqt/libmiqt.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QStandardPaths;
|
|
|
|
#else
|
|
|
|
typedef struct QStandardPaths QStandardPaths;
|
|
|
|
#endif
|
|
|
|
|
2025-02-01 13:45:16 +13:00
|
|
|
struct miqt_string QStandardPaths_writableLocation(int type);
|
|
|
|
struct miqt_array /* of struct miqt_string */ QStandardPaths_standardLocations(int type);
|
|
|
|
struct miqt_string QStandardPaths_locate(int type, struct miqt_string fileName);
|
|
|
|
struct miqt_array /* of struct miqt_string */ QStandardPaths_locateAll(int type, struct miqt_string fileName);
|
|
|
|
struct miqt_string QStandardPaths_displayName(int type);
|
|
|
|
struct miqt_string QStandardPaths_findExecutable(struct miqt_string executableName);
|
|
|
|
void QStandardPaths_setTestModeEnabled(bool testMode);
|
|
|
|
bool QStandardPaths_isTestModeEnabled();
|
|
|
|
struct miqt_string QStandardPaths_locate3(int type, struct miqt_string fileName, int options);
|
|
|
|
struct miqt_array /* of struct miqt_string */ QStandardPaths_locateAll3(int type, struct miqt_string fileName, int options);
|
|
|
|
struct miqt_string QStandardPaths_findExecutable2(struct miqt_string executableName, struct miqt_array /* of struct miqt_string */ paths);
|
2024-10-20 18:21:03 +13:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2025-02-01 13:45:16 +13:00
|
|
|
#endif
|
2024-10-20 18:21:03 +13:00
|
|
|
|
|
|
|
#endif
|