diff options
Diffstat (limited to 'src/ui/GpgFrontendUI.h')
-rw-r--r-- | src/ui/GpgFrontendUI.h | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/src/ui/GpgFrontendUI.h b/src/ui/GpgFrontendUI.h index 4389aa41..b3115795 100644 --- a/src/ui/GpgFrontendUI.h +++ b/src/ui/GpgFrontendUI.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2021 Saturneric + * Copyright (C) 2021 Saturneric <[email protected]> * * This file is part of GpgFrontend. * @@ -20,37 +20,29 @@ * the gpg4usb project, which is under GPL-3.0-or-later. * * All the source code of GpgFrontend was modified and released by - * Saturneric<[email protected]> starting on May 12, 2021. + * Saturneric <[email protected]> starting on May 12, 2021. * * SPDX-License-Identifier: GPL-3.0-or-later * */ -#ifndef GPGFRONTEND_GPGFRONTENDUI_H -#define GPGFRONTEND_GPGFRONTENDUI_H +#pragma once /** * Basic dependency */ -#include <QtCore> -#include <QtNetwork> -#include <QtPrintSupport> #include <QtWidgets> -#include <optional> -/** - * Project internal dependencies - */ +// Core #include "GpgFrontend.h" #include "core/GpgFrontendCore.h" -#include "core/GpgModel.h" -#include "core/thread/ThreadingModel.h" -#include "ui/GpgFrontendUIExport.h" +#include "core/utils/LogUtils.h" -/** - * 3rd party dependencies - */ - -#include <qt-aes/qaesencryption.h> +// UI +#include "ui/GpgFrontendUIExport.h" -#endif // GPGFRONTEND_GPGFRONTENDUI_H +#define GF_UI_LOG_TRACE(...) GF_LOG_TRACE("ui", __VA_ARGS__) +#define GF_UI_LOG_DEBUG(...) GF_LOG_DEBUG("ui", __VA_ARGS__) +#define GF_UI_LOG_INFO(...) GF_LOG_INFO("ui", __VA_ARGS__) +#define GF_UI_LOG_WARN(...) GF_LOG_WARN("ui", __VA_ARGS__) +#define GF_UI_LOG_ERROR(...) GF_LOG_ERROR("ui", __VA_ARGS__) |