VirtualBox

source: vbox/trunk/src/VBox/Main/include/MachineImplCloneVM.h@ 45284

Last change on this file since 45284 was 38119, checked in by vboxsync, 13 years ago

Main-CloneVM: keep the "public" interface clean

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1/** @file
2 * Definition of MachineCloneVM
3 */
4
5/*
6 * Copyright (C) 2011 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_MACHINEIMPLCLONEVM
18#define ____H_MACHINEIMPLCLONEVM
19
20#include "MachineImpl.h"
21#include "ProgressImpl.h"
22
23/* Forward declaration of the d-pointer. */
24struct MachineCloneVMPrivate;
25
26class MachineCloneVM
27{
28public:
29 MachineCloneVM(ComObjPtr<Machine> pSrcMachine, ComObjPtr<Machine> pTrgMachine, CloneMode_T mode, const RTCList<CloneOptions_T> &opts);
30 ~MachineCloneVM();
31
32 HRESULT start(IProgress **pProgress);
33
34protected:
35 HRESULT run();
36 void destroy();
37
38 /* d-pointer */
39 MachineCloneVM(MachineCloneVMPrivate &d);
40 MachineCloneVMPrivate *d_ptr;
41
42 friend struct MachineCloneVMPrivate;
43};
44
45#endif // ____H_MACHINEIMPLCLONEVM
46/* vi: set tabstop=4 shiftwidth=4 expandtab: */
47
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