mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:50:12 +08:00
23 lines
456 B
C++
23 lines
456 B
C++
#pragma once
|
|
|
|
#include "Const.hpp"
|
|
#include "Utils.hpp"
|
|
#include "ConfigItem.hpp"
|
|
#include "DataStore.hpp"
|
|
#include <srslist.h>
|
|
|
|
// Switch core support
|
|
|
|
namespace Configs {
|
|
QString FindCoreRealPath();
|
|
|
|
bool IsAdmin(bool forceRenew=false);
|
|
|
|
bool isSetuidSet(const std::string& path);
|
|
|
|
QString GetBasePath();
|
|
} // namespace Configs
|
|
|
|
#define ROUTES_PREFIX_NAME QString("route_profiles")
|
|
#define ROUTES_PREFIX QString(ROUTES_PREFIX_NAME + "/")
|