Annotation of truecrypt/main/application.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_AppMain
                     10: #define TC_HEADER_Main_AppMain
                     11: 
                     12: #include "Main.h"
                     13: #include "UserInterface.h"
                     14: #include "UserInterfaceType.h"
                     15: 
                     16: namespace TrueCrypt
                     17: {
                     18:        class Application
                     19:        {
                     20:        public:
                     21:                static wxApp* CreateConsoleApp ();
                     22:                static wxApp* CreateGuiApp ();
                     23:                static FilePath GetConfigFilePath (const wxString &configFileName, bool createConfigDir = false);
                     24:                static DirectoryPath GetExecutableDirectory ();
                     25:                static FilePath GetExecutablePath ();
                     26:                static int GetExitCode () { return ExitCode; }
                     27:                static wstring GetName () { return L"TrueCrypt"; }
                     28:                static UserInterface *GetUserInterface () { return mUserInterface; }
                     29:                static void Initialize (UserInterfaceType::Enum type);
                     30:                static void SetExitCode (int code) { ExitCode = code; }
                     31: 
                     32:        protected:
                     33:                static int ExitCode;
                     34:                static UserInterface *mUserInterface;
                     35:        };
                     36: }
                     37: 
                     38: #endif // TC_HEADER_Main_AppMain

unix.superglobalmegacorp.com

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