diff options
author | saturneric <[email protected]> | 2024-03-02 18:48:44 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-03-02 18:48:44 +0000 |
commit | 154ebea202d64669143ee6bb33f6327d141343c3 (patch) | |
tree | 3d9a6e5cac15f6575a4c1994ba8fd3d8607bfa65 /src/core/utils/FilesystemUtils.h | |
parent | refactor: remove qt6 core5compat dependencies (diff) | |
download | GpgFrontend-154ebea202d64669143ee6bb33f6327d141343c3.tar.gz GpgFrontend-154ebea202d64669143ee6bb33f6327d141343c3.zip |
refactor: reduce core prebuild headers and isolate core to modules
Diffstat (limited to 'src/core/utils/FilesystemUtils.h')
-rw-r--r-- | src/core/utils/FilesystemUtils.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/utils/FilesystemUtils.h b/src/core/utils/FilesystemUtils.h index 0b58bbb7..0bc90ac5 100644 --- a/src/core/utils/FilesystemUtils.h +++ b/src/core/utils/FilesystemUtils.h @@ -28,6 +28,8 @@ #pragma once +#include "core/GpgFrontendCoreExport.h" + namespace GpgFrontend { /** @@ -54,8 +56,8 @@ auto GPGFRONTEND_CORE_EXPORT GetOnlyFileNameWithPath(const QString& path) * @param filename_pattern The pattern of the file name, e.g. "*.txt" * @return int64_t */ -auto GPGFRONTEND_CORE_EXPORT GetFileSizeByPath( - const QString& path, const QString& filename_pattern) +auto GPGFRONTEND_CORE_EXPORT GetFileSizeByPath(const QString& path, + const QString& filename_pattern) -> int64_t; /** @@ -72,7 +74,7 @@ auto GPGFRONTEND_CORE_EXPORT GetHumanFriendlyFileSize(int64_t size) -> QString; * @param path * @param filename_pattern */ -void GPGFRONTEND_CORE_EXPORT DeleteAllFilesByPattern( - const QString& path, const QString& filename_pattern); +void GPGFRONTEND_CORE_EXPORT +DeleteAllFilesByPattern(const QString& path, const QString& filename_pattern); } // namespace GpgFrontend
\ No newline at end of file |