Annotation of truecrypt/main/forms/keyfilespanel.h, revision 1.1.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_KeyfilesPanel
                     10: #define TC_HEADER_Main_Forms_KeyfilesPanel
                     11: 
                     12: #include "Forms.h"
                     13: #include "Main/Main.h"
                     14: 
                     15: namespace TrueCrypt
                     16: {
                     17:        class KeyfilesPanel : public KeyfilesPanelBase
                     18:        {
                     19:        public:
                     20:                KeyfilesPanel (wxWindow* parent, shared_ptr <KeyfileList> keyfiles);
                     21:                void AddKeyfile (shared_ptr <Keyfile> keyfile);
                     22:                shared_ptr <KeyfileList> GetKeyfiles () const;
                     23: 
                     24:        protected:
                     25:                void OnAddFilesButtonClick (wxCommandEvent& event);
                     26:                void OnAddDirectoryButtonClick (wxCommandEvent& event);
                     27:                void OnCreateKeyfileButttonClick (wxCommandEvent& event);
                     28:                void OnListItemDeselected (wxListEvent& event) { UpdateButtons(); }
                     29:                void OnListItemSelected (wxListEvent& event) { UpdateButtons(); }
                     30:                void OnListSizeChanged (wxSizeEvent& event);
                     31:                void OnRemoveButtonClick (wxCommandEvent& event);
                     32:                void OnRemoveAllButtonClick (wxCommandEvent& event);
                     33:                void UpdateButtons ();
                     34:        };
                     35: }
                     36: 
                     37: #endif // TC_HEADER_Main_Forms_KeyfilesPanel

unix.superglobalmegacorp.com

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