Annotation of truecrypt/main/forms/volumesizewizardpage.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_VolumeSizeWizardPage
        !            10: #define TC_HEADER_Main_Forms_VolumeSizeWizardPage
        !            11: 
        !            12: #include "Forms.h"
        !            13: 
        !            14: namespace TrueCrypt
        !            15: {
        !            16:        class VolumeSizeWizardPage : public VolumeSizeWizardPageBase
        !            17:        {
        !            18:        public:
        !            19:                VolumeSizeWizardPage (wxPanel* parent, const VolumePath &volumePath);
        !            20: 
        !            21:                uint64 GetVolumeSize () const;
        !            22:                bool IsValid ();
        !            23:                void SetMaxStaticTextWidth (int width) { InfoStaticText->Wrap (width); }
        !            24:                void SetPageText (const wxString &text) { InfoStaticText->SetLabel (text); }
        !            25:                void SetVolumeSize (uint64 size);
        !            26: 
        !            27:        protected:
        !            28:                struct Prefix
        !            29:                {
        !            30:                        enum
        !            31:                        {
        !            32:                                KB = 0,
        !            33:                                MB,
        !            34:                                GB
        !            35:                        };
        !            36:                };
        !            37: 
        !            38:                void OnBrowseButtonClick (wxCommandEvent& event);
        !            39:                void OnVolumeSizePrefixSelected (wxCommandEvent& event) { PageUpdatedEvent.Raise(); }
        !            40:                void OnVolumeSizeTextChanged (wxCommandEvent& event) { PageUpdatedEvent.Raise(); }
        !            41:        };
        !            42: }
        !            43: 
        !            44: #endif // TC_HEADER_Main_Forms_VolumeSizeWizardPage

unix.superglobalmegacorp.com

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