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
15
namespace
QuasarAppUtils
{
16
20
class
QUASARAPPSHARED_EXPORT
PlatformUtils
21
{
22
public
:
23
PlatformUtils
();
24
29
static
bool
isSnap
();
30
35
static
QString
snapRootFS
();
36
43
static
QString
transportPathToSnapRoot
(
const
QString
&
path
);
44
50
static
bool
checkSystemBakupSnapInterface
();
51
};
52
}
53
#endif
// IPLATFORMUTILS_H
QuasarAppUtils::PlatformUtils
The iPlatformUtils class bas interface for get access platform dependet functions and constants.
Definition
qaplatformutils.h:21
QuasarAppUtils::PlatformUtils::PlatformUtils
PlatformUtils()
QuasarAppUtils::PlatformUtils::snapRootFS
static QString snapRootFS()
snapRootFS returns root file system of main OS (available read only)
QuasarAppUtils::PlatformUtils::isSnap
static bool isSnap()
isSnap This method check destribution type. true if the application packed as a snap.
QuasarAppUtils::PlatformUtils::transportPathToSnapRoot
static QString transportPathToSnapRoot(const QString &path)
transportPathToSnapRoot change path to snap avaialble.
QuasarAppUtils::PlatformUtils::checkSystemBakupSnapInterface
static bool checkSystemBakupSnapInterface()
checkSystemBakupSnapInterface This method check access to bakcup permision of snap pacakge....
QuasarAppUtils
The QuasaraAppUtils class This lib include base functions for the all applications of QuasarApp group...
Definition
helpdata.cpp:18
gen
void gen(int size, QByteArray &result)
Definition
qaglobalutils.cpp:12
quasarapp_global.h
QUASARAPPSHARED_EXPORT
#define QUASARAPPSHARED_EXPORT
Definition
quasarapp_global.h:9
qaplatformutils.h
Generated by
1.9.8