Subversion Repositories WoWGM

Rev

Rev 32 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 tristanc 1
#ifndef  _CGLUEMGR_H
2
#define  _CGLUEMGR_H
3
 
7 tristanc 4
#include <Console/ConsoleClient.h>
5
 
32 tristanc 6
 
3 tristanc 7
namespace WowGM {
8
 
9
	namespace CGlueMgr {
10
 
32 tristanc 11
		//=======================================================================
3 tristanc 12
		void Initialize ();
32 tristanc 13
 
14
		//=======================================================================
7 tristanc 15
		void SetLoginPassword ();
32 tristanc 16
 
17
		//=======================================================================
3 tristanc 18
		void Shutdown ();
32 tristanc 19
 
20
		//=======================================================================
3 tristanc 21
		void RegisterConsoleCommands ();
32 tristanc 22
 
23
		//=======================================================================
3 tristanc 24
		void UnregisterConsoleCommands ();
25
 
7 tristanc 26
	};
3 tristanc 27
 
7 tristanc 28
};
3 tristanc 29
 
7 tristanc 30
extern CVar* g_password;
3 tristanc 31
 
32
class CGlueMgr {
33
 
34
	public:
35
 
36 tristanc 36
    //=============================================================================
32 tristanc 37
    static void Initialize ();
38
 
39
		//=======================================================================
7 tristanc 40
		static int NetDisconnectHandler (void const *, void *);
32 tristanc 41
 
42
		//=======================================================================
3 tristanc 43
		static void Resume (int initialized);
32 tristanc 44
 
45
		//=======================================================================
3 tristanc 46
		static void Suspend ();
32 tristanc 47
 
48
		//=======================================================================
3 tristanc 49
		static void Shutdown ();
50
 
32 tristanc 51
		//=======================================================================
3 tristanc 52
		static void RegisterConsoleCommands ();
32 tristanc 53
 
54
		//=======================================================================
3 tristanc 55
		static void UnregisterConsoleCommands ();
56
 
57
};
58
 
59
#endif// _CGLUEMGR_H
32 tristanc 60