sourcemm/concommands.h
changeset 7 8ef11f6189e4
child 9 01b8b7435e67
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sourcemm/concommands.h	Sat Apr 16 19:59:26 2005 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +/* ======== SourceMM ========
     1.5 +* Copyright (C) 2004-2005 SourceMM Development Team
     1.6 +* No warranties of any kind
     1.7 +*
     1.8 +* License: zlib/libpng
     1.9 +*
    1.10 +* Author(s): David "BAILOPAN" Anderson
    1.11 +* ============================
    1.12 +*/
    1.13 +
    1.14 +#ifndef _INCLUDE_CONCOMMANDS_H
    1.15 +#define _INCLUDE_CONCOMMANDS_H
    1.16 +
    1.17 +/**
    1.18 + * @brief Header for console commands
    1.19 + * @file concommands.h
    1.20 + */
    1.21 +
    1.22 +#include "sourcemm.h"
    1.23 +#include <convar.h>
    1.24 +
    1.25 +class SMConVarAccessor : public IConCommandBaseAccessor
    1.26 +{
    1.27 +public:
    1.28 +	virtual bool RegisterConCommandBase(ConCommandBase *pCommand);
    1.29 +};
    1.30 +
    1.31 +extern SMConVarAccessor g_SMConVarAccessor;
    1.32 +
    1.33 +#endif //_INCLUDE_CONCOMMANDS_H