1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-25 14:52:19 +01:00
HLMetaModOfficial/sourcemm/concommands.h
Pavol Marko 8f5e99397d Moved adding of FCVAR_GAMEDLL to Unload; added SourceHook iface/impl info to meta version
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4064
2005-05-06 09:44:41 +00:00

36 lines
744 B
C++

/* ======== SourceMM ========
* Copyright (C) 2004-2005 Metamod:Source Development Team
* No warranties of any kind
*
* License: zlib/libpng
*
* Author(s): David "BAILOPAN" Anderson
* ============================
*/
#ifndef _INCLUDE_CONCOMMANDS_H
#define _INCLUDE_CONCOMMANDS_H
/**
* @brief Header for console commands
* @file concommands.h
*/
#include <interface.h>
#include <eiface.h>
#include "sourcemm.h"
#include <convar.h>
#include <list>
class SMConVarAccessor : public IConCommandBaseAccessor
{
std::list<ConCommandBase*> m_RegisteredCommands;
public:
virtual bool RegisterConCommandBase(ConCommandBase *pCommand);
void MarkCommandsAsGameDLL();
};
extern SMConVarAccessor g_SMConVarAccessor;
#endif //_INCLUDE_CONCOMMANDS_H