TheChess

model/CompetitionType.hpp

00001 /*
00002  * thechess, chess game web application written in C++ and based on Wt
00003  * Copyright (C) 2010 Boris Nagaev
00004  *
00005  * thechess is licensed under the GNU GPL Version 2.
00006  * Other versions of the GPL do not apply.
00007  * See the LICENSE file for terms of use.
00008  */
00009 
00010 #ifndef THECHESS_MODEL_COMPETITIONTYPE_HPP_
00011 #define THECHESS_MODEL_COMPETITIONTYPE_HPP_
00012 
00013 namespace thechess {
00014 namespace model {
00015 
00016 enum CompetitionType {
00017     CLASSICAL = 10,
00018     STAGED = 20,
00019     TEAM = 30
00020 };
00021 const CompetitionType competition_types[] = {CLASSICAL, STAGED, TEAM};
00022 const int competition_types_size = 3;
00023 
00024 }
00025 }
00026 
00027 #endif
00028 
 All Classes Functions Enumerations Enumerator