Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tutorial/src/network/NetworkPrereqs.h @ 859

Last change on this file since 859 was 859, checked in by landauf, 16 years ago

more or less a copy of the trunk

File size: 2.5 KB
Line 
1/*
2 *   ORXONOX - the hottest 3D action shooter ever to exist
3 *
4 *
5 *   License notice:
6 *
7 *   This program is free software; you can redistribute it and/or
8 *   modify it under the terms of the GNU General Public License
9 *   as published by the Free Software Foundation; either version 2
10 *   of the License, or (at your option) any later version.
11 *
12 *   This program is distributed in the hope that it will be useful,
13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 *   GNU General Public License for more details.
16 *
17 *   You should have received a copy of the GNU General Public License
18 *   along with this program; if not, write to the Free Software
19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20 *
21 *   Author:
22 *      Reto Grieder
23 *   Co-authors:
24 *      ...
25 *
26 */
27
28/**
29 @file  NetworkPrereqs.h
30 @brief Contains all the necessary forward declarations for all classes, structs and enums.
31 */
32
33#ifndef _NetworkPrereqs_H__
34#define _NetworkPrereqs_H__
35
36#include "orxonox/OrxonoxPlatform.h"
37
38//-----------------------------------------------------------------------
39// Shared library settings
40//-----------------------------------------------------------------------
41#if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !defined( NETWORK_STATIC_BUILD )
42#  ifdef NETWORK_SHARED_BUILD
43#    define _NetworkExport __declspec(dllexport)
44#  else
45#    if defined( __MINGW32__ )
46#      define _NetworkExport
47#    else
48#      define _NetworkExport __declspec(dllimport)
49#    endif
50#  endif
51#elif defined ( ORXONOX_GCC_VISIBILITY )
52#  define _NetworkExport  __attribute__ ((visibility("default")))
53#else
54#  define _NetworkExport
55#endif
56
57
58//-----------------------------------------------------------------------
59// Forward declarations
60//-----------------------------------------------------------------------
61namespace network
62{
63  class Client;
64  class ClientConnection;
65  class ClientFrameListener;
66  class ClientInformation;
67  class ConnectionManager;
68  class GameStateClient;
69  class GameStateManager;
70  class PacketBuffer;
71  class PacketDecoder;
72  class PacketGenerator;
73  class Server;
74  class ServerFrameListener;
75  class Synchronisable;
76  struct ack;
77  struct chat;
78  struct classid;
79  struct ClientList;
80  struct GameState;
81  struct GameStateCompressed;
82  struct keyboard;
83  struct mouse;
84  struct PacketEnvelope;
85  struct QueueItem;
86  struct synchData;
87  struct synchronisableVariable;
88}
89
90#endif /* _NetworkPrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.