(svn r17058) -Codechange: magic numbers removal.

Two values used intead of just one, as it gives more possibilities to those who dare...
This commit is contained in:
belugas
2009-08-03 20:02:25 +00:00
parent f2705ebd8d
commit 00338562b9
4 changed files with 8 additions and 3 deletions

View File

@@ -37,6 +37,10 @@ enum {
MAX_LENGTH_COMPANY_NAME_PIXELS = 150, ///< The maximum length of a company name in pixels
};
enum {
MAX_HISTORY_MONTHS = 24, ///< The maximum number of months kept as performance's history
};
/** Define basic enum properties */
template <> struct EnumPropsT<Owner> : MakeEnumPropsT<Owner, byte, OWNER_BEGIN, OWNER_END, INVALID_OWNER> {};
typedef TinyEnumT<Owner> OwnerByte;