[55401] | 1 | /* $Id: UIExtension.h 103783 2024-03-11 17:29:21Z vboxsync $ */
|
---|
[25177] | 2 | /** @file
|
---|
[91009] | 3 | * VBox Qt GUI - UIExtension namespace declaration.
|
---|
[25177] | 4 | */
|
---|
| 5 |
|
---|
| 6 | /*
|
---|
[103783] | 7 | * Copyright (C) 2006-2024 Oracle and/or its affiliates.
|
---|
[25177] | 8 | *
|
---|
[96407] | 9 | * This file is part of VirtualBox base platform packages, as
|
---|
| 10 | * available from https://www.virtualbox.org.
|
---|
| 11 | *
|
---|
| 12 | * This program is free software; you can redistribute it and/or
|
---|
| 13 | * modify it under the terms of the GNU General Public License
|
---|
| 14 | * as published by the Free Software Foundation, in version 3 of the
|
---|
| 15 | * License.
|
---|
| 16 | *
|
---|
| 17 | * This program is distributed in the hope that it will be useful, but
|
---|
| 18 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
| 20 | * General Public License for more details.
|
---|
| 21 | *
|
---|
| 22 | * You should have received a copy of the GNU General Public License
|
---|
| 23 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
| 24 | *
|
---|
| 25 | * SPDX-License-Identifier: GPL-3.0-only
|
---|
[25177] | 26 | */
|
---|
| 27 |
|
---|
[91009] | 28 | #ifndef FEQT_INCLUDED_SRC_globals_UIExtension_h
|
---|
| 29 | #define FEQT_INCLUDED_SRC_globals_UIExtension_h
|
---|
[76532] | 30 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
| 31 | # pragma once
|
---|
| 32 | #endif
|
---|
[25177] | 33 |
|
---|
[41587] | 34 | /* GUI includes: */
|
---|
[71630] | 35 | #include "UILibraryDefs.h"
|
---|
[41587] | 36 |
|
---|
[103783] | 37 | /* Forward declarations: */
|
---|
| 38 | class QString;
|
---|
| 39 | class QWidget;
|
---|
| 40 |
|
---|
[91009] | 41 | /** Namespace with common extension pack stuff. */
|
---|
| 42 | namespace UIExtension
|
---|
[25177] | 43 | {
|
---|
[91009] | 44 | /** Initiates the extension pack installation process.
|
---|
| 45 | * @param strFilePath Brings the extension pack file path.
|
---|
| 46 | * @param strDigest Brings the extension pack file digest.
|
---|
| 47 | * @param pParent Brings the parent dialog reference.
|
---|
| 48 | * @param pstrExtPackName Brings the extension pack name. */
|
---|
[103783] | 49 | void SHARED_LIBRARY_STUFF install(const QString &strFilePath,
|
---|
| 50 | const QString &strDigest,
|
---|
[91009] | 51 | QWidget *pParent,
|
---|
| 52 | QString *pstrExtPackName);
|
---|
[103781] | 53 |
|
---|
| 54 | /** Returns true if it can find at least one usable ext. pack. Else returns false. */
|
---|
| 55 | bool SHARED_LIBRARY_STUFF isExtentionPackInstalled();
|
---|
[91009] | 56 | }
|
---|
[25177] | 57 |
|
---|
[91009] | 58 | #endif /* !FEQT_INCLUDED_SRC_globals_UIExtension_h */
|
---|