MainMenu.h

Go to the documentation of this file.
00001 //**********************************************************************
00002 //
00003 //  REGCOM: Regimental Command
00004 //  Copyright (C) 2008 Randi J. Relander
00005 //    <rjrelander@users.sourceforge.net>
00006 //
00007 //  This program is free software; you can redistribute it and/or
00008 //  modify it under the terms of the GNU General Public License
00009 //  as published by the Free Software Foundation; either version 3
00010 //  of the License, or (at your option) any later version.
00011 //  
00012 //  This program is distributed in the hope that it will be useful,
00013 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 //  GNU General Public License for more details.
00016 //  
00017 //  You should have received a copy of the GNU General Public
00018 //  License along with this program.  If not, see 
00019 //  <http://www.gnu.org/licenses/>.
00020 //  
00021 //**********************************************************************
00022 
00023 #ifndef REGCOM_CLIENT_MAIN_MENU_H
00024 #define REGCOM_CLIENT_MAIN_MENU_H
00025 
00026 // PROJECT INCLUDES
00027 #include "regcom/gui/Desktop.h"
00028 
00029 // NAMESPACES
00030 namespace regcom {
00031 namespace client {
00032 
00034 //  CLASS: MainMenu
00040 class MainMenu
00041 {
00042 public:
00043 
00044     // FORWARD REFERENCES
00045     
00046     enum MenuSelection;
00047 
00048     // PUBLIC METHODS
00049 
00051     MainMenu();
00052 
00054     virtual ~MainMenu();
00055 
00057     MenuSelection GetSelection();
00058 
00059     // PUBLIC ENUMERATIONS
00060 
00062     enum MenuSelection
00063     {
00064         MENU_SELECTION_NONE,
00065         MENU_SELECTION_LOGIN,
00066         MENU_SELECTION_OPTIONS,
00067         MENU_SELECTION_CREDITS,
00068         MENU_SELECTION_QUIT
00069     };
00070 
00071 private:
00072 
00073     // MEMBER VARIABLES
00074 
00076     gui::Desktop m_Desktop;
00077 };
00078 
00079 } // namespace client
00080 } // namespace regcom
00081 
00082 #endif