[95423] | 1 | /* $Id: HostAudioDeviceImpl.h 98103 2023-01-17 14:15:46Z vboxsync $ */
|
---|
| 2 |
|
---|
| 3 | /** @file
|
---|
| 4 | * VirtualBox COM class implementation - Host audio device implementation.
|
---|
| 5 | */
|
---|
| 6 |
|
---|
| 7 | /*
|
---|
[98103] | 8 | * Copyright (C) 2022-2023 Oracle and/or its affiliates.
|
---|
[95423] | 9 | *
|
---|
[96407] | 10 | * This file is part of VirtualBox base platform packages, as
|
---|
| 11 | * available from https://www.virtualbox.org.
|
---|
| 12 | *
|
---|
| 13 | * This program is free software; you can redistribute it and/or
|
---|
| 14 | * modify it under the terms of the GNU General Public License
|
---|
| 15 | * as published by the Free Software Foundation, in version 3 of the
|
---|
| 16 | * License.
|
---|
| 17 | *
|
---|
| 18 | * This program is distributed in the hope that it will be useful, but
|
---|
| 19 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
| 21 | * General Public License for more details.
|
---|
| 22 | *
|
---|
| 23 | * You should have received a copy of the GNU General Public License
|
---|
| 24 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
| 25 | *
|
---|
| 26 | * SPDX-License-Identifier: GPL-3.0-only
|
---|
[95423] | 27 | */
|
---|
| 28 |
|
---|
| 29 | #ifndef MAIN_INCLUDED_HostAudioDeviceImpl_h
|
---|
| 30 | #define MAIN_INCLUDED_HostAudioDeviceImpl_h
|
---|
| 31 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
| 32 | # pragma once
|
---|
| 33 | #endif
|
---|
| 34 |
|
---|
| 35 | #include "HostAudioDeviceWrap.h"
|
---|
| 36 |
|
---|
| 37 | class ATL_NO_VTABLE HostAudioDevice :
|
---|
| 38 | public HostAudioDeviceWrap
|
---|
| 39 | {
|
---|
| 40 | public:
|
---|
| 41 |
|
---|
| 42 | DECLARE_COMMON_CLASS_METHODS(HostAudioDevice)
|
---|
| 43 |
|
---|
| 44 | HRESULT FinalConstruct();
|
---|
| 45 | void FinalRelease();
|
---|
| 46 |
|
---|
| 47 | // public initializer/uninitializer for internal purposes only
|
---|
| 48 | HRESULT init();
|
---|
| 49 | void uninit();
|
---|
| 50 |
|
---|
| 51 | private:
|
---|
| 52 |
|
---|
| 53 | // wrapped IHostAudioDevice properties
|
---|
| 54 |
|
---|
| 55 | };
|
---|
| 56 |
|
---|
| 57 | #endif /* !MAIN_INCLUDED_HostAudioDeviceImpl_h */
|
---|
| 58 |
|
---|