Annotation of truecrypt/main/forms/volumelocationwizardpage.h, 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: #ifndef TC_HEADER_Main_Forms_VolumeLocationWizardPage
        !            10: #define TC_HEADER_Main_Forms_VolumeLocationWizardPage
        !            11: 
        !            12: #include "Forms.h"
        !            13: 
        !            14: namespace TrueCrypt
        !            15: {
        !            16:        class VolumeLocationWizardPage : public VolumeLocationWizardPageBase
        !            17:        {
        !            18:        public:
        !            19:                VolumeLocationWizardPage (wxPanel* parent, bool selectExisting = false);
        !            20:                ~VolumeLocationWizardPage ();
        !            21: 
        !            22:                VolumePath GetVolumePath () const { return VolumePath (wstring (VolumePathComboBox->GetValue())); }
        !            23:                bool IsValid () { return !VolumePathComboBox->GetValue().IsEmpty(); }
        !            24:                void OnPageChanging (bool forward);
        !            25:                void SetVolumePath (const VolumePath &path);
        !            26:                void SetMaxStaticTextWidth (int width) { InfoStaticText->Wrap (width); }
        !            27:                void SetPageText (const wxString &text) { InfoStaticText->SetLabel (text); }
        !            28: 
        !            29:        protected:
        !            30:                void OnVolumePathTextChanged (wxCommandEvent& event) { PageUpdatedEvent.Raise(); }
        !            31:                void OnNoHistoryCheckBoxClick (wxCommandEvent& event);
        !            32:                void OnSelectDeviceButtonClick (wxCommandEvent& event);
        !            33:                void OnSelectFileButtonClick (wxCommandEvent& event);
        !            34:                void OnPreferencesUpdated (EventArgs &args);
        !            35: 
        !            36:                bool SelectExisting;
        !            37:        };
        !            38: }
        !            39: 
        !            40: #endif // TC_HEADER_Main_Forms_VolumeLocationWizardPage

unix.superglobalmegacorp.com

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