|
Krita Source Code Documentation
|
Functions | |
| QString | getPackageRoamingAppDataLocation () |
| bool | isRunningInPackage () |
| bool | tryGetCurrentPackageFamilyName (QString *outName) |
| bool | tryGetCurrentPackageFullName (QString *outName) |
| KRITAGLOBAL_EXPORT QString KisWindowsPackageUtils::getPackageRoamingAppDataLocation | ( | ) |
Get the RoamingAppData location. If the current process is a packaged app, the redirected private app location is returned. Uses SHGetKnownFolderPath therefore the path uses native path separators and does not include a trailing backslash.
Definition at line 205 of file KisWindowsPackageUtils.cpp.
References KF_FLAG_RETURN_FILTER_REDIRECTION_TARGET.
| KRITAGLOBAL_EXPORT bool KisWindowsPackageUtils::isRunningInPackage | ( | ) |
Definition at line 108 of file KisWindowsPackageUtils.cpp.
References tryGetCurrentPackageFamilyName().
| KRITAGLOBAL_EXPORT bool KisWindowsPackageUtils::tryGetCurrentPackageFamilyName | ( | QString * | outName | ) |
Definition at line 113 of file KisWindowsPackageUtils.cpp.
References APPMODEL_ERROR_NO_PACKAGE, AppmodelFunctions::getCurrentPackageFamilyName, and AppmodelFunctions::instance().
| KRITAGLOBAL_EXPORT bool KisWindowsPackageUtils::tryGetCurrentPackageFullName | ( | QString * | outName | ) |
Definition at line 159 of file KisWindowsPackageUtils.cpp.
References APPMODEL_ERROR_NO_PACKAGE, AppmodelFunctions::getCurrentPackageFullName, and AppmodelFunctions::instance().