diff --git a/qaplatformutils_linux.cpp b/qaplatformutils_linux.cpp index bd38f00..49788f6 100644 --- a/qaplatformutils_linux.cpp +++ b/qaplatformutils_linux.cpp @@ -11,8 +11,10 @@ #include #include #include +#elif Q_OS_ANDROID #elif Q_OS_WIN32 #elif Q_OS_MACOS +#elif Q_OS_IOS #endif namespace QuasarAppUtils { @@ -52,41 +54,38 @@ bool PlatformUtils::checkSystemBakupSnapInterface() { return QDir(snapRootFS()).entryList(QDir::AllEntries | QDir::NoDotAndDotDot).size(); } +#elif Q_OS_ANDROID +bool PlatformUtils::isSnap() { return false;} + +QString PlatformUtils::snapRootFS() { return "";} + +QString PlatformUtils::transportPathToSnapRoot(const QString &path) { return path; } + +bool PlatformUtils::checkSystemBakupSnapInterface() { return false; } #elif Q_OS_WIN32 -bool PlatformUtils::isSnap() { - return false; -} +bool PlatformUtils::isSnap() { return false;} -QString PlatformUtils::snapRootFS() { - return ""; -} +QString PlatformUtils::snapRootFS() { return "";} -QString PlatformUtils::transportPathToSnapRoot(const QString &path) { - return path; -} - -bool PlatformUtils::checkSystemBakupSnapInterface() { - return false; -} +QString PlatformUtils::transportPathToSnapRoot(const QString &path) { return path; } +bool PlatformUtils::checkSystemBakupSnapInterface() { return false; } #elif Q_OS_MACOS -bool PlatformUtils::isSnap() { - return false; -} +bool PlatformUtils::isSnap() { return false;} -QString PlatformUtils::snapRootFS() { - return ""; -} +QString PlatformUtils::snapRootFS() { return "";} -QString PlatformUtils::transportPathToSnapRoot(const QString &path) { - return path; -} +QString PlatformUtils::transportPathToSnapRoot(const QString &path) { return path; } -bool PlatformUtils::checkSystemBakupSnapInterface() { - return false; -} +bool PlatformUtils::checkSystemBakupSnapInterface() { return false; } +#elif Q_OS_IOS +bool PlatformUtils::isSnap() { return false;} +QString PlatformUtils::snapRootFS() { return "";} +QString PlatformUtils::transportPathToSnapRoot(const QString &path) { return path; } + +bool PlatformUtils::checkSystemBakupSnapInterface() { return false; } #endif }