Annotation of truecrypt/main/volumehistory.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_VolumeHistory
        !            10: #define TC_HEADER_Main_VolumeHistory
        !            11: 
        !            12: #include "System.h"
        !            13: #include "Main.h"
        !            14: 
        !            15: namespace TrueCrypt
        !            16: {
        !            17:        class VolumeHistory
        !            18:        {
        !            19:        public:
        !            20:                VolumeHistory ();
        !            21:                virtual ~VolumeHistory ();
        !            22: 
        !            23:                static void Add (const VolumePath &path);
        !            24:                static void Clear ();
        !            25:                static void ConnectComboBox (wxComboBox *comboBox);
        !            26:                static void DisconnectComboBox (wxComboBox *comboBox);
        !            27:                static void Load ();
        !            28:                static void Save ();
        !            29: 
        !            30:        protected:
        !            31:                static void UpdateComboBox (wxComboBox *comboBox);
        !            32:                static wxString GetFileName () { return L"History.xml"; }
        !            33: 
        !            34:                static const unsigned int MaxSize = 10;
        !            35:                static list <wxComboBox *> ConnectedComboBoxes;
        !            36:                static VolumePathList VolumePaths;
        !            37:                static Mutex AccessMutex;
        !            38: 
        !            39:        private:
        !            40:                VolumeHistory (const VolumeHistory &);
        !            41:                VolumeHistory &operator= (const VolumeHistory &);
        !            42:        };
        !            43: }
        !            44: 
        !            45: #endif // TC_HEADER_Main_VolumeHistory

unix.superglobalmegacorp.com

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