Annotation of truecrypt/main/forms/changepassworddialog.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_ChangePasswordDialog
        !            10: #define TC_HEADER_Main_Forms_ChangePasswordDialog
        !            11: 
        !            12: #include "Forms.h"
        !            13: #include "Main/Main.h"
        !            14: #include "VolumePasswordPanel.h"
        !            15: 
        !            16: namespace TrueCrypt
        !            17: {
        !            18:        class ChangePasswordDialog : public ChangePasswordDialogBase
        !            19:        {
        !            20:        public:
        !            21:                struct Mode
        !            22:                {
        !            23:                        enum Enum
        !            24:                        {
        !            25:                                ChangePasswordAndKeyfiles,
        !            26:                                ChangeKeyfiles,
        !            27:                                RemoveAllKeyfiles,
        !            28:                                ChangePkcs5Prf
        !            29:                        };
        !            30:                };
        !            31: 
        !            32:                ChangePasswordDialog (wxWindow* parent, shared_ptr <VolumePath> volumePath, Mode::Enum mode = Mode::ChangePasswordAndKeyfiles, shared_ptr <VolumePassword> password = shared_ptr <VolumePassword> (), shared_ptr <KeyfileList> keyfiles = shared_ptr <KeyfileList> (), shared_ptr <VolumePassword> newPassword = shared_ptr <VolumePassword> (), shared_ptr <KeyfileList> newKeyfiles = shared_ptr <KeyfileList> ());
        !            33:                virtual ~ChangePasswordDialog ();
        !            34: 
        !            35:        protected:
        !            36:                void OnOKButtonClick (wxCommandEvent& event);
        !            37:                void OnPasswordPanelUpdate ();
        !            38:                void OnPasswordPanelUpdate (EventArgs &args) { OnPasswordPanelUpdate(); }
        !            39: 
        !            40:                Mode::Enum DialogMode;
        !            41: 
        !            42:                VolumePasswordPanel *CurrentPasswordPanel;
        !            43:                VolumePasswordPanel *NewPasswordPanel;
        !            44:                shared_ptr <VolumePath> Path;
        !            45:        };
        !            46: }
        !            47: 
        !            48: #endif // TC_HEADER_Main_Forms_ChangePasswordDialog

unix.superglobalmegacorp.com

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