VirtualBox

source: vbox/trunk/src/VBox/Main/include/AudioSnifferInterface.h@ 46825

Last change on this file since 46825 was 44528, checked in by vboxsync, 12 years ago

header (C) fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1/** @file
2 * VirtualBox Driver interface to Audio Sniffer device
3 */
4
5/*
6 * Copyright (C) 2006-2010 Oracle Corporation
7 *
8 * This file is part of VirtualBox Open Source Edition (OSE), as
9 * available from http://www.virtualbox.org. This file is free software;
10 * you can redistribute it and/or modify it under the terms of the GNU
11 * General Public License (GPL) as published by the Free Software
12 * Foundation, in version 2 as it comes in the "COPYING" file of the
13 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15 */
16
17#ifndef ____H_AUDIOSNIFFERINTERFACE
18#define ____H_AUDIOSNIFFERINTERFACE
19
20#include <VBox/com/ptr.h>
21#include <VBox/vmm/pdmdrv.h>
22
23class Console;
24
25class AudioSniffer
26{
27public:
28 AudioSniffer(Console *console);
29 virtual ~AudioSniffer();
30
31 static const PDMDRVREG DrvReg;
32
33 /** Pointer to the associated Audio Sniffer driver. */
34 struct DRVAUDIOSNIFFER *mpDrv;
35
36 Console *getParent(void) { return mParent; }
37
38 PPDMIAUDIOSNIFFERPORT getAudioSnifferPort(void);
39
40private:
41 static DECLCALLBACK(void *) drvQueryInterface(PPDMIBASE pInterface, const char *pszIID);
42 static DECLCALLBACK(int) drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags);
43 static DECLCALLBACK(void) drvDestruct(PPDMDRVINS pDrvIns);
44
45 Console * const mParent;
46};
47
48#endif /* !____H_AUDIOSNIFFERINTERFACE */
49/* vi: set tabstop=4 shiftwidth=4 expandtab: */
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