Odamex
Setting the Standard in Multiplayer Doom
odalaunch/src/lst_servers.h
Go to the documentation of this file.
00001 // Emacs style mode select   -*- C++ -*- 
00002 //-----------------------------------------------------------------------------
00003 //
00004 // $Id: lst_servers.h 1788 2010-08-24 04:42:57Z russellrice $
00005 //
00006 // Copyright (C) 2006-2010 by The Odamex Team.
00007 //
00008 // This program is free software; you can redistribute it and/or
00009 // modify it under the terms of the GNU General Public License
00010 // as published by the Free Software Foundation; either version 2
00011 // of the License, or (at your option) any later version.
00012 //
00013 // This program is distributed in the hope that it will be useful,
00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 // GNU General Public License for more details.
00017 //
00018 // DESCRIPTION:
00019 //  Server list control class
00020 //
00021 //-----------------------------------------------------------------------------
00022 
00023 #ifndef __LST_SERVERS_H__
00024 #define __LST_SERVERS_H__
00025 
00026 #include "net_packet.h"
00027 #include "lst_custom.h"
00028 
00029 class LstOdaServerList : public wxAdvancedListCtrl
00030 {
00031     public:
00032         LstOdaServerList() { };
00033         virtual ~LstOdaServerList();
00034 
00035         void SetupServerListColumns();
00036         void AddServerToList(const Server &s, wxInt32 index, bool insert = true);
00037 
00038     protected:
00039         
00040         void ClearItemCells(long item);
00041         
00042         DECLARE_DYNAMIC_CLASS(LstOdaServerList)
00043 };
00044 
00045 #endif // __LST_SERVERS_H__
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends