diff options
Diffstat (limited to 'src/ui/GpgFrontendUIInit.h')
-rw-r--r-- | src/ui/GpgFrontendUIInit.h | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/src/ui/GpgFrontendUIInit.h b/src/ui/GpgFrontendUIInit.h index 0e68aa57..fd62f3f6 100644 --- a/src/ui/GpgFrontendUIInit.h +++ b/src/ui/GpgFrontendUIInit.h @@ -1,5 +1,5 @@ /** - * Copyright (C) 2021 Saturneric + * Copyright (C) 2021 Saturneric <[email protected]> * * This file is part of GpgFrontend. * @@ -20,42 +20,39 @@ * 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_GPGFRONTENDUIINIT_H -#define GPGFRONTEND_GPGFRONTENDUIINIT_H +#pragma once #include "GpgFrontendUI.h" namespace GpgFrontend::UI { /** - * @brief init the UI library + * @brief * */ -void GPGFRONTEND_UI_EXPORT InitGpgFrontendUI(QApplication *); +void GPGFRONTEND_UI_EXPORT PreInitGpgFrontendUI(); /** - * @brief - * + * @brief init the UI library + * */ -void GPGFRONTEND_UI_EXPORT InitUILoggingSystem(); +void GPGFRONTEND_UI_EXPORT InitGpgFrontendUI(QApplication *); /** - * @brief - * + * @brief init the UI library + * */ -void GPGFRONTEND_UI_EXPORT ShutdownUILoggingSystem(); +void GPGFRONTEND_UI_EXPORT DestroyGpgFrontendUI(); /** * @brief run main window */ -int GPGFRONTEND_UI_EXPORT RunGpgFrontendUI(QApplication *); +auto GPGFRONTEND_UI_EXPORT RunGpgFrontendUI(QApplication *) -> int; }; // namespace GpgFrontend::UI - -#endif // GPGFRONTEND_GPGFRONTENDUIINIT_H |