Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

/include/VersionInfo.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002         This file is Part of the ZEngine Library for 2D game development.
00003                    Copyright (C) 2002, 2003 James Turk
00004 
00005                      Licensed under a BSD-style license.
00006 
00007     The maintainer of this library is James Turk (james@conceptofzero.net) 
00008      and the home of this Library is http://www.zengine.sourceforge.net
00009 *******************************************************************************/
00010 
00021 #ifndef __versioninfo_h__
00022 #define __versioninfo_h__
00023 
00024 #include "ZE_Utility.h"
00025 
00032 class VersionInfo
00033 {
00034     public:
00036         unsigned int Major;
00038         unsigned int Minor;
00040         unsigned int Release;
00042         std::string Extra;
00043 
00053         VersionInfo(unsigned int maj, unsigned int min, unsigned int rel, std::string ext="");
00054 
00061         std::string GetString() const;
00062 
00070         bool operator<(const VersionInfo &rhs) const;
00071 
00079         bool operator==(const VersionInfo &rhs) const;
00080 
00088         bool operator>(const VersionInfo &rhs) const;
00089 };
00090 
00091 #endif //__versioninfo_h__

Generated on Sun Oct 5 19:34:45 2003 for ZEngine by doxygen1.3