VirtualBox

source: vbox/trunk/src/VBox/Main/include/Nvram.h@ 43831

Last change on this file since 43831 was 43133, checked in by vboxsync, 12 years ago

export to OSE

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