VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/globals/UIExtension.h@ 103977

Last change on this file since 103977 was 103783, checked in by vboxsync, 9 months ago

FE/Qt: Build fix for r162150.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1/* $Id: UIExtension.h 103783 2024-03-11 17:29:21Z vboxsync $ */
2/** @file
3 * VBox Qt GUI - UIExtension namespace declaration.
4 */
5
6/*
7 * Copyright (C) 2006-2024 Oracle and/or its affiliates.
8 *
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
26 */
27
28#ifndef FEQT_INCLUDED_SRC_globals_UIExtension_h
29#define FEQT_INCLUDED_SRC_globals_UIExtension_h
30#ifndef RT_WITHOUT_PRAGMA_ONCE
31# pragma once
32#endif
33
34/* GUI includes: */
35#include "UILibraryDefs.h"
36
37/* Forward declarations: */
38class QString;
39class QWidget;
40
41/** Namespace with common extension pack stuff. */
42namespace UIExtension
43{
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. */
49 void SHARED_LIBRARY_STUFF install(const QString &strFilePath,
50 const QString &strDigest,
51 QWidget *pParent,
52 QString *pstrExtPackName);
53
54 /** Returns true if it can find at least one usable ext. pack. Else returns false. */
55 bool SHARED_LIBRARY_STUFF isExtentionPackInstalled();
56}
57
58#endif /* !FEQT_INCLUDED_SRC_globals_UIExtension_h */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette