K3dSystemData.h

Go to the documentation of this file.
00001 
00011 /***************************************************************************
00012  *   Copyright (C) 2007 by Jan Koci   *
00013  *   honza.koci@email.cz   *
00014  *   http://kengine.sourceforge.net/tutorial/
00015  *                                                                         *
00016  *   This program is free software; you can redistribute it and/or modify  *
00017  *   it under the terms of the GNU General Public License as published by  *
00018  *   the Free Software Foundation; either version 2 of the License, or     *
00019  *   (at your option) any later version.                                   *
00020  *                                                                         *
00021  *   This program is distributed in the hope that it will be useful,       *
00022  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00023  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00024  *   GNU General Public License for more details.                          *
00025  *                                                                         *
00026  *   You should have received a copy of the GNU General Public License     *
00027  *   along with this program; if not, write to the                         *
00028  *   Free Software Foundation, Inc.,                                       *
00029  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00030  ***************************************************************************/
00031 
00032 #pragma once
00033 
00034 #include "../K3dString.h"
00035 
00036 class K3dSystemData
00037 {
00038                 K3dString m_strUser;                    
00039                 K3dString m_strLogname;                 
00040                 K3dString m_strHome;                    
00041                 K3dString m_strPath;                    
00042                 K3dString m_strShell;                   
00043                 K3dString m_strTerm;                    
00044                 K3dString m_strPwd;                             
00045                 K3dString m_strLang;                    
00046                 K3dString m_strTemp;                    
00047                 K3dString m_strLibPath;                 
00048                 K3dString m_strHostName;                
00049     public:
00050         K3dSystemData();
00051         ~K3dSystemData();
00052 
00054                 K3dString &GetSysUser()
00055                 {
00056                         return m_strUser;
00057                 }
00058 
00060                 K3dString &GetSysLogName()
00061                 {
00062                         return m_strLogname;
00063                 }
00064 
00066                 K3dString &GetSysHome()
00067                 {
00068                         return m_strHome;
00069                 }
00070         
00072                 K3dString &GetSysPath()
00073                 {
00074                         return m_strPath;
00075                 }
00076 
00078                 K3dString &GetSysShell()
00079                 {
00080                         return m_strShell;
00081                 }
00082 
00084                 K3dString &GetSysTerm()
00085                 {
00086                         return m_strTerm;
00087                 }
00088 
00090                 K3dString &GetSysPwd()
00091                 {
00092                         return m_strPwd;
00093                 }
00094 
00096                 K3dString &GetSysLang()
00097                 {
00098                         return m_strLang;
00099                 }
00100 
00102                 K3dString &GetSysTemp()
00103                 {
00104                         return m_strTemp;
00105                 }
00106 
00108                 K3dString &GetSysLibPath()
00109                 {
00110                         return m_strLibPath;
00111                 }
00112 
00114                 K3dString &GetSysHostName()
00115                 {
00116                         return m_strHostName;
00117                 }
00118 };
00119 

Generated on Thu Aug 16 23:53:28 2007 for K3dEngine by  doxygen 1.5.0