2
* Copyright 2010 Inalogic Inc.
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU Lesser General Public License version 3, as
6
* published by the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranties of
10
* MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
11
* PURPOSE. See the applicable version of the GNU Lesser General Public
12
* License for more details.
14
* You should have received a copy of both the GNU Lesser General Public
15
* License version 3 along with this program. If not, see
16
* <http://www.gnu.org/licenses/>
18
* Authored by: Jay Taoko <jaytaoko@inalogic.com>
29
void NuxCoreInitialize (const TCHAR *CommandLine);
30
void inlPreInitializePlatform();
31
void inlInitializePlatform();
32
void inlPostInitializePlatform();
35
void inlInitRandomGenerator();
37
/*-----------------------------------------------------------------------------
39
-----------------------------------------------------------------------------*/
41
//! Get the program command line
43
Get the program command line.
44
@return The program command line.
48
//! Get startup directory.
50
Get startup directory.
51
@return The computer name.
53
NString GetProgramDirectory();
55
//! Get computer name.
58
@return The computer name.
60
NString GetComputerName();
65
@return The user name.
67
NString GetUserName();
70
//! Return the logs directory
72
Returns the directory where logs files are output.
73
This cannot be in a .ini files as the system may start logging before the .ini files are read.
75
@return The logs directory
77
NString GetLogDirectory();
81
NUX_DECLARE_GLOBAL_OBJECT (NGlobalData, GlobalSingletonInitializer);
84
void Initialize (const TCHAR *CommandLine);
88
NString m_ComputerName;
89
NString m_ProgramName;
90
NString m_ProgramDirectory;
91
NString m_CommandLine;
b'\\ No newline at end of file'