QuasarAppLib
1.0.530.c9fba11
Toggle main menu visibility
qaplatformutils.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2024-2026 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
:
26
PlatformUtils
();
27
32
static
bool
isSnap
();
33
38
static
QString
snapRootFS
();
39
46
static
QString
transportPathToSnapRoot
(
const
QString &path);
47
53
static
bool
checkSystemBackupSnapInterface
();
54
};
55
}
56
#endif
// IPLATFORMUTILS_H
QuasarAppUtils::PlatformUtils::PlatformUtils
PlatformUtils()
PlatformUtils This is the default constructor of the PlatformUtils object.
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 distribution type. true if the application packed as a snap.
QuasarAppUtils::PlatformUtils::checkSystemBackupSnapInterface
static bool checkSystemBackupSnapInterface()
checkSystemBackupSnapInterface This method check access to backup permission of snap package....
QuasarAppUtils::PlatformUtils::transportPathToSnapRoot
static QString transportPathToSnapRoot(const QString &path)
transportPathToSnapRoot change path to snap available.
QuasarAppUtils
The QuasarAppUtils namespace contains the base functions for all applications of the QuasarApp group....
Definition
crc32constexper.h:16
quasarapp_global.h
QUASARAPPSHARED_EXPORT
#define QUASARAPPSHARED_EXPORT
Definition
quasarapp_global.h:11
qaplatformutils.h
Generated by
1.18.0