dfd576109cb676448a2c4574150060aa3d8626bavboxsync/** @file
ca87590cb28f22bccab88dc2f87c5ce2682b1ba1vboxsync * VBox Qt GUI - UIWizardCloneVD class declaration.
dfd576109cb676448a2c4574150060aa3d8626bavboxsync */
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
dfd576109cb676448a2c4574150060aa3d8626bavboxsync/*
dfd576109cb676448a2c4574150060aa3d8626bavboxsync * Copyright (C) 2006-2012 Oracle Corporation
dfd576109cb676448a2c4574150060aa3d8626bavboxsync *
dfd576109cb676448a2c4574150060aa3d8626bavboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
dfd576109cb676448a2c4574150060aa3d8626bavboxsync * available from http://www.virtualbox.org. This file is free software;
dfd576109cb676448a2c4574150060aa3d8626bavboxsync * you can redistribute it and/or modify it under the terms of the GNU
dfd576109cb676448a2c4574150060aa3d8626bavboxsync * General Public License (GPL) as published by the Free Software
dfd576109cb676448a2c4574150060aa3d8626bavboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
dfd576109cb676448a2c4574150060aa3d8626bavboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
dfd576109cb676448a2c4574150060aa3d8626bavboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
dfd576109cb676448a2c4574150060aa3d8626bavboxsync */
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
dfd576109cb676448a2c4574150060aa3d8626bavboxsync#ifndef __UIWizardCloneVD_h__
dfd576109cb676448a2c4574150060aa3d8626bavboxsync#define __UIWizardCloneVD_h__
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync/* GUI includes: */
dfd576109cb676448a2c4574150060aa3d8626bavboxsync#include "UIWizard.h"
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync/* COM includes: */
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync#include "COMEnums.h"
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync#include "CMedium.h"
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
9ab0743fd2e00994c4657ca9e67ab5dafa78e1afvboxsync/* Clone Virtual Hard Drive wizard: */
dfd576109cb676448a2c4574150060aa3d8626bavboxsyncclass UIWizardCloneVD : public UIWizard
dfd576109cb676448a2c4574150060aa3d8626bavboxsync{
dfd576109cb676448a2c4574150060aa3d8626bavboxsync Q_OBJECT;
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
dfd576109cb676448a2c4574150060aa3d8626bavboxsyncpublic:
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
dfd576109cb676448a2c4574150060aa3d8626bavboxsync /* Page IDs: */
dfd576109cb676448a2c4574150060aa3d8626bavboxsync enum
dfd576109cb676448a2c4574150060aa3d8626bavboxsync {
dfd576109cb676448a2c4574150060aa3d8626bavboxsync Page1,
dfd576109cb676448a2c4574150060aa3d8626bavboxsync Page2,
dfd576109cb676448a2c4574150060aa3d8626bavboxsync Page3,
9ab0743fd2e00994c4657ca9e67ab5dafa78e1afvboxsync Page4
dfd576109cb676448a2c4574150060aa3d8626bavboxsync };
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
8d8dfc00d014a62894327907a04f148b00a08529vboxsync /* Page IDs: */
8d8dfc00d014a62894327907a04f148b00a08529vboxsync enum
8d8dfc00d014a62894327907a04f148b00a08529vboxsync {
8d8dfc00d014a62894327907a04f148b00a08529vboxsync PageExpert
8d8dfc00d014a62894327907a04f148b00a08529vboxsync };
8d8dfc00d014a62894327907a04f148b00a08529vboxsync
dfd576109cb676448a2c4574150060aa3d8626bavboxsync /* Constructor: */
dfd576109cb676448a2c4574150060aa3d8626bavboxsync UIWizardCloneVD(QWidget *pParent, const CMedium &sourceVirtualDisk);
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
dfd576109cb676448a2c4574150060aa3d8626bavboxsync /* Returns virtual-disk: */
dfd576109cb676448a2c4574150060aa3d8626bavboxsync CMedium virtualDisk() const { return m_virtualDisk; }
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
dfd576109cb676448a2c4574150060aa3d8626bavboxsyncprotected:
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
dfd576109cb676448a2c4574150060aa3d8626bavboxsync /* Copy virtual-disk: */
dfd576109cb676448a2c4574150060aa3d8626bavboxsync bool copyVirtualDisk();
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
dfd576109cb676448a2c4574150060aa3d8626bavboxsync /* Who will be able to copy virtual-disk: */
9ab0743fd2e00994c4657ca9e67ab5dafa78e1afvboxsync friend class UIWizardCloneVDPageBasic4;
8d8dfc00d014a62894327907a04f148b00a08529vboxsync friend class UIWizardCloneVDPageExpert;
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
dfd576109cb676448a2c4574150060aa3d8626bavboxsyncprivate:
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
dfd576109cb676448a2c4574150060aa3d8626bavboxsync /* Translation stuff: */
dfd576109cb676448a2c4574150060aa3d8626bavboxsync void retranslateUi();
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
8d8dfc00d014a62894327907a04f148b00a08529vboxsync /* Pages related stuff: */
8d8dfc00d014a62894327907a04f148b00a08529vboxsync void prepare();
8d8dfc00d014a62894327907a04f148b00a08529vboxsync
dfd576109cb676448a2c4574150060aa3d8626bavboxsync /* Variables: */
8d8dfc00d014a62894327907a04f148b00a08529vboxsync CMedium m_sourceVirtualDisk;
dfd576109cb676448a2c4574150060aa3d8626bavboxsync CMedium m_virtualDisk;
dfd576109cb676448a2c4574150060aa3d8626bavboxsync};
dfd576109cb676448a2c4574150060aa3d8626bavboxsync
dfd576109cb676448a2c4574150060aa3d8626bavboxsync#endif // __UIWizardCloneVD_h__
dfd576109cb676448a2c4574150060aa3d8626bavboxsync