linuxsystempeer.h

来自「这是VCF框架的代码」· C头文件 代码 · 共 189 行

H
189
字号
#ifndef _VCF_LINUXSYSTEMPEER_H__#define _VCF_LINUXSYSTEMPEER_H__//LinuxSystemPeer.h/*Copyright 2000-2004 The VCF Project.Please see License.txt in the top level directorywhere you installed the VCF.*/// LinuxSystemPeer.h: interface for the LinuxSystemPeer class.#include <sys/time.h>namespace VCF{class LinuxSystemPeer : public SystemPeer{public:	LinuxSystemPeer();	virtual ~LinuxSystemPeer();	virtual unsigned long getTickCount();	virtual void sleep( const uint32& milliseconds );	virtual bool doesFileExist( const String& fileName );	virtual void addPathDirectory( const String& directory );	virtual ProgramInfo* getProgramInfoFromFileName( const String& fileName );	virtual String getCurrentWorkingDirectory();	virtual String getEnvironmentVariable( const String& variableName );    virtual void setEnvironmentVariable( const String& variableName, const String& newValue );	virtual void setCurrentWorkingDirectory( const String& currentDirectory );	virtual String getCommonDirectory( System::CommonDirectory directory );    virtual String createTempFileName( const String& directory );	virtual void setDateToSystemTime( DateTime* date );	virtual void setDateToLocalTime( DateTime* date );	virtual void setCurrentThreadLocale( Locale* locale );	virtual bool isUnicodeEnabled()	{		return false;	}	virtual DateTime convertUTCTimeToLocalTime( const DateTime& date );	virtual DateTime convertLocalTimeToUTCTime( const DateTime& date );    virtual String getOSName();    virtual String getOSVersion();	virtual String getComputerName();	virtual String getUserName();protected:	struct timezone timeZone_;	struct timeval time_;};};/***CVS Log info*$Log$*Revision 1.5  2006/04/07 02:35:34  ddiego*initial checkin of merge from 0.6.9 dev branch.**Revision 1.4.2.4  2006/03/19 00:04:16  obirsoy*Linux FoundationKit improvements.**Revision 1.4.2.3  2005/11/18 16:02:53  obirsoy*changes required for gcc under Linux, and some warning clean up.**Revision 1.4.2.2  2005/11/11 00:21:00  ddiego*comitting mostuffs linux foundationkit patchs [1351922].**Revision 1.4.2.1  2005/11/10 00:04:08  obirsoy*changes required for gcc under Linux.**Revision 1.4  2005/07/09 23:15:03  ddiego*merging in changes from devmain-0-6-7 branch.**Revision 1.3  2005/04/05 23:44:22  jabelardo*a lot of fixes to compile on linux, it does not run but at least it compile**Revision 1.2.4.1  2005/04/17 16:11:32  ddiego*brought the foundation, agg, and graphics kits uptodate on linux**Revision 1.2  2004/08/07 02:49:13  ddiego*merged in the devmain-0-6-5 branch to stable**Revision 1.1.2.6  2004/08/02 00:48:23  ddiego*fixed build errors in linux for FoundationKit**Revision 1.1.2.5  2004/06/06 07:05:32  marcelloptr*changed macros, text reformatting, copyright sections**Revision 1.1.2.3  2004/04/29 04:07:08  marcelloptr*reformatting of source files: macros and csvlog and copyright sections**Revision 1.1.2.2  2004/04/28 18:42:26  ddiego*migrating over changes for unicode strings.*This contains fixes for the linux port and changes to the Makefiles**Revision 1.1.2.1  2004/04/28 03:29:40  ddiego*migration towards new directory structure**Revision 1.7.2.1  2004/04/26 21:58:42  marcelloptr*changes for dir reorganization: _VCF_MACRO_H__**Revision 1.7  2004/04/03 15:48:41  ddiego*Merged over code from the 0-6-3 branch.**Revision 1.6.6.1  2004/02/16 05:34:04  ddiego*updated linux makefiles as a result of new locale support - pushed in stubs for locale peer impl, but no functionality at this point**Revision 1.6  2003/05/17 20:37:12  ddiego*this is the checkin for the 0.6.1 release - represents the merge over from*the devmain-0-6-0 branch plus a few minor bug fixes**Revision 1.5.2.1  2003/03/23 03:23:50  marcelloptr*3 empty lines at the end of the files**Revision 1.5  2003/02/26 04:30:40  ddiego*merge of code in the devmain-0-5-9 branch into the current tree.*most additions are in the area of the current linux port, but the major*addition to this release is the addition of a Condition class (currently*still under development) and the change over to using the Delegate class*exclusively from the older event handler macros.**Revision 1.4.2.1  2002/12/27 23:04:39  marcelloptr*Improved macros for automatic import/export of libraries. - Warning fixes. - Other Minor Changes.**Revision 1.4  2002/11/18 00:46:08  ddiego*this is the merge over of all the bug fixes and features (mostly*VCF Builder stuff) from the devmain-0-5-8 branch**Revision 1.3.4.1  2002/09/27 01:54:58  ddiego*added support for bezier curves - remeber to change over to using teh MgcBeziers in Win32 too**Revision 1.3  2002/09/12 03:26:04  ddiego*merged over the changes from the devmain-0-5-5b branch**Revision 1.2.4.1  2002/08/06 02:57:36  ddiego*added base X11 files for GraphicsKit and made sure that the GraphicsKit compiles*under linux (GCC). There is now a new dir under build/xmake called GraphicsKit*where the xmake build script lives. This checkin also includes the base X11*include (as part of GraphicsKitPrivate.h), as well as linking to the X11 libs**Revision 1.2  2002/05/27 22:52:34  ddiego*added two new tests for testing File and System support in the FoudnationKit*and verified that they work in Linux. Fixed associated code in getting that to*work.**Revision 1.1  2002/05/27 15:58:22  ddiego*added linux peer classes for the FoundationKit port to linux*this now means the FoundationKit will start up correctly on*linu thought it is still not 100% functional yet**Revision 1.8  2002/05/09 03:10:43  ddiego*merged over code from development branch devmain-0-5-1a into the main CVS trunk**Revision 1.7.4.1  2002/03/20 21:56:56  zzack*Changed Include Style of FoundationKit**Revision 1.7  2002/01/24 01:46:48  ddiego*added a cvs "log" comment to the top of all files in vcf/src and vcf/include*to facilitate change tracking**/#endif // _VCF_LINUXSYSTEMPEER_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?