Subversion Repositories WoWGM

Rev

Rev 7 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef  _CGLUEMGR_H
#define  _CGLUEMGR_H

#include <Console/ConsoleClient.h>


namespace WowGM {

        namespace CGlueMgr {

                //=======================================================================
                void Initialize ();

                //=======================================================================
                void SetLoginPassword ();

                //=======================================================================
                void Shutdown ();

                //=======================================================================
                void RegisterConsoleCommands ();

                //=======================================================================
                void UnregisterConsoleCommands ();

        };

};

extern CVar* g_password;

class CGlueMgr {

        public:

    //===========================================================================
    static void Initialize ();

                //=======================================================================
                static int NetDisconnectHandler (void const *, void *);

                //=======================================================================
                static void Resume (int initialized);

                //=======================================================================
                static void Suspend ();

                //=======================================================================
                static void Shutdown ();
        
                //=======================================================================
                static void RegisterConsoleCommands ();

                //=======================================================================
                static void UnregisterConsoleCommands ();

};

#endif// _CGLUEMGR_H