|
|
|
@ -19,6 +19,8 @@
|
|
|
|
|
#include "DllMacro.h"
|
|
|
|
|
|
|
|
|
|
#ifdef WITH_KPMCORE4API
|
|
|
|
|
#include "FileSystem.h"
|
|
|
|
|
|
|
|
|
|
#include <kpmcore/fs/filesystem.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
@ -52,12 +54,21 @@ bool DLLEXPORT isFilesystemUsedGS( const QString& filesystemType );
|
|
|
|
|
* See useFilesystemGS(const QString&, bool); this method uses the filesystem type
|
|
|
|
|
* enumeration to pick the name.
|
|
|
|
|
*/
|
|
|
|
|
void DLLEXPORT useFilesystemGS( FileSystem::Type filesystem, bool used );
|
|
|
|
|
void
|
|
|
|
|
useFilesystemGS( FileSystem::Type filesystem, bool used )
|
|
|
|
|
{
|
|
|
|
|
useFilesystemGS( untranslatedFS( filesystem ), used );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* @brief Reads from global storage whether the typesystem type is used
|
|
|
|
|
*
|
|
|
|
|
* See isFilesystemUsedGS(const QString&).
|
|
|
|
|
*/
|
|
|
|
|
bool DLLEXPORT isFilesystemUsedGS( FileSystem::Type filesystem );
|
|
|
|
|
bool
|
|
|
|
|
isFilesystemUsedGS( FileSystem::Type filesystem )
|
|
|
|
|
{
|
|
|
|
|
return isFilesystemUsedGS( untranslatedFS( filesystem ) );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
} // namespace Partition
|
|
|
|
|