QuasarAppLib
qaplatformutils.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2024-2025 QuasarApp.
3 * Distributed under the lgplv3 software license, see the accompanying
4 * Everyone is permitted to copy and distribute verbatim copies
5 * of this license document, but changing it is not allowed.
6*/
7
8
9#ifndef PLATFORMUTILS_H
10#define PLATFORMUTILS_H
11
12#include <QString>
13#include "quasarapp_global.h"
14
15namespace QuasarAppUtils {
16
21{
22public:
24
29 static bool isSnap();
30
36
44
51};
52}
53#endif // IPLATFORMUTILS_H
The iPlatformUtils class bas interface for get access platform dependet functions and constants.
static QString snapRootFS()
snapRootFS returns root file system of main OS (available read only)
static bool isSnap()
isSnap This method check destribution type. true if the application packed as a snap.
static QString transportPathToSnapRoot(const QString &path)
transportPathToSnapRoot change path to snap avaialble.
static bool checkSystemBakupSnapInterface()
checkSystemBakupSnapInterface This method check access to bakcup permision of snap pacakge....
The QuasaraAppUtils class This lib include base functions for the all applications of QuasarApp group...
Definition helpdata.cpp:18
void gen(int size, QByteArray &result)
#define QUASARAPPSHARED_EXPORT