K3dSystemDataBuild.cpp

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 #include "K3dSystemDataBuild.h"
00033 
00034 K3dSystemDataBuild::K3dSystemDataBuild ( K3dGameData *_pGameData )
00035 {
00036         m_pGameData = _pGameData;
00037         cout << "HOME = " << getenv ("HOME") << endl;
00038         m_pGameData->GetSysHome() = getenv ("HOME");
00039         cout << "USER = " << getenv ("USER") << endl;
00040         m_pGameData->GetSysUser() = getenv ("USER");
00041         cout << "LOGNAME = " << getenv ("LOGNAME") << endl;
00042         m_pGameData->GetSysLogName() = getenv ("LOGNAME");
00043         cout << "PATH = " << getenv ("PATH") << endl;
00044         m_pGameData->GetSysPath() = getenv ("PATH");
00045         cout << "SHELL = " << getenv ("SHELL") << endl;
00046         m_pGameData->GetSysShell() = getenv ("SHELL");
00047         cout << "TERM = " << getenv ("TERM") << endl;
00048         m_pGameData->GetSysTerm() = getenv ("TERM");
00049         cout << "PWD = " << getenv ("PWD") << endl;
00050         m_pGameData->GetSysPwd() = getenv ("PWD");
00051         cout << "LANG = " << getenv ("LANG") << endl;
00052         m_pGameData->GetSysLang() = getenv ("LANG");
00053         cout << "TMPDIR = " << getenv ("TMPDIR") << endl;
00054         m_pGameData->GetSysTemp() = getenv ("TMPDIR");
00055         cout << "LD_LIBRARY_PATH = " << getenv ("LD_LIBRARY_PATH") << endl;
00056         m_pGameData->GetSysLibPath() = getenv ("LD_LIBRARY_PATH");
00057         cout << "HOSTNAME = " << getenv ("HOSTNAME") << endl;
00058         m_pGameData->GetSysHostName() = getenv ("HOSTNAME");
00059 }
00060 
00061 K3dSystemDataBuild::~K3dSystemDataBuild()
00062 {
00063 }
00064 
00065 

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