Annotation of truecrypt/main/forms/volumecreationintrowizardpage.cpp, revision 1.1

1.1     ! root        1: /*
        !             2:  Copyright (c) 2008 TrueCrypt Foundation. All rights reserved.
        !             3: 
        !             4:  Governed by the TrueCrypt License 2.4 the full text of which is contained
        !             5:  in the file License.txt included in TrueCrypt binary and source code
        !             6:  distribution packages.
        !             7: */
        !             8: 
        !             9: #include "System.h"
        !            10: #include "Main/GraphicUserInterface.h"
        !            11: #include "VolumeCreationIntroWizardPage.h"
        !            12: 
        !            13: namespace TrueCrypt
        !            14: {
        !            15:        VolumeCreationIntroWizardPage::VolumeCreationIntroWizardPage (wxPanel* parent)
        !            16:                : VolumeCreationIntroWizardPageBase (parent)
        !            17:        {
        !            18:        }
        !            19: 
        !            20:        VolumeType::Enum VolumeCreationIntroWizardPage::GetSelection () const
        !            21:        {
        !            22:                if (StandardVolumeRadioButton->GetValue())
        !            23:                        return VolumeType::Normal;
        !            24: 
        !            25:                if (HiddenVolumeRadioButton->GetValue())
        !            26:                        return VolumeType::Hidden;
        !            27: 
        !            28:                return VolumeType::Unknown;
        !            29:        }
        !            30: 
        !            31:        void VolumeCreationIntroWizardPage::SetSelection (VolumeType::Enum volumeType)
        !            32:        {
        !            33:                if (volumeType == VolumeType::Hidden)
        !            34:                        HiddenVolumeRadioButton->SetValue (true);
        !            35:                else
        !            36:                        StandardVolumeRadioButton->SetValue (true);
        !            37:        }
        !            38: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.