Annotation of truecrypt/main/favoritevolume.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_FavoriteVolume
        !            10: #define TC_HEADER_Main_FavoriteVolume
        !            11: 
        !            12: #include "System.h"
        !            13: #include "Main.h"
        !            14: 
        !            15: namespace TrueCrypt
        !            16: {
        !            17:        struct FavoriteVolume;
        !            18:        typedef list < shared_ptr <FavoriteVolume> > FavoriteVolumeList;
        !            19: 
        !            20:        struct FavoriteVolume
        !            21:        {
        !            22:        public:
        !            23:                FavoriteVolume () { }
        !            24:                FavoriteVolume (const VolumePath &path, const DirectoryPath &mountPoint, VolumeSlotNumber slotNumber)
        !            25:                        : MountPoint (mountPoint), Path (path), SlotNumber (slotNumber) { }
        !            26: 
        !            27:                static FavoriteVolumeList LoadList ();
        !            28:                static void SaveList (const FavoriteVolumeList &favorites);
        !            29:                void ToMountOptions (MountOptions &options) const;
        !            30: 
        !            31:                DirectoryPath MountPoint;
        !            32:                VolumePath Path;
        !            33:                VolumeSlotNumber SlotNumber;
        !            34:                
        !            35:        protected:
        !            36:                static wxString GetFileName () { return L"Favorite Volumes.xml"; }
        !            37:        };
        !            38: }
        !            39: 
        !            40: #endif // TC_HEADER_Main_FavoriteVolume

unix.superglobalmegacorp.com

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