#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 + "/")
