~brandontschaefer/nux/xim-tests

« back to all changes in this revision

Viewing changes to NuxCore/Platform.h

  • Committer: Brandon Schaefer
  • Date: 2012-10-19 00:23:27 UTC
  • mfrom: (637.2.55 trunk)
  • Revision ID: brandon.schaefer@canonical.com-20121019002327-60e88jn3k8chi7gt
* Merged trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
      Get the program command line.
44
44
      @return The program command line.
45
45
  */
46
 
  NString GetCmdLine();
 
46
  std::string GetCmdLine();
47
47
 
48
48
//! Get startup directory.
49
49
  /*!
50
50
      Get startup directory.
51
51
      @return The computer name.
52
52
  */
53
 
  NString GetProgramDirectory();
 
53
  std::string GetProgramDirectory();
54
54
 
55
55
//! Get computer name.
56
56
  /*!
57
57
      Get computer name.
58
58
      @return The computer name.
59
59
  */
60
 
  NString GetComputerName();
 
60
  std::string GetComputerName();
61
61
 
62
62
//! Get user name.
63
63
  /*!
64
64
      Get the user name.
65
65
      @return The user name.
66
66
  */
67
 
  NString GetUserName();
 
67
  std::string GetUserName();
68
68
 
69
69
 
70
70
//! Return the logs directory
74
74
 
75
75
      @return The logs directory
76
76
  */
77
 
  NString GetLogDirectory();
 
77
  std::string GetLogDirectory();
78
78
 
79
79
  class NGlobalData
80
80
  {
84
84
    void Initialize (const TCHAR *CommandLine);
85
85
 
86
86
    unsigned int m_RandomSeed;
87
 
    NString m_UserName;
88
 
    NString m_ComputerName;
89
 
    NString m_ProgramName;
90
 
    NString m_ProgramDirectory;
91
 
    NString m_CommandLine;
 
87
    std::string m_UserName;
 
88
    std::string m_ComputerName;
 
89
    std::string m_ProgramName;
 
90
    std::string m_ProgramDirectory;
 
91
    std::string m_CommandLine;
92
92
  };
93
93
 
94
94
}