core/CTranslator.h
changeset 515 643240c66787
parent 382 65a7ea52f5b0
child 520 7676d61cde2d
     1.1 --- a/core/CTranslator.h	Sat Feb 17 08:59:52 2007 +0000
     1.2 +++ b/core/CTranslator.h	Sat Feb 17 09:00:14 2007 +0000
     1.3 @@ -90,11 +90,15 @@
     1.4  	bool m_FileLogged;
     1.5  };
     1.6  
     1.7 -class CTranslator : public ITextListener_SMC
     1.8 +class CTranslator : 
     1.9 +	public ITextListener_SMC,
    1.10 +	public SMGlobalClass
    1.11  {
    1.12  public:
    1.13  	CTranslator();
    1.14  	~CTranslator();
    1.15 +public: //SMGlobalClass
    1.16 +	void OnSourceModAllInitialized();
    1.17  public: //ITextListener_SMC
    1.18  	void ReadSMC_ParseStart();
    1.19  	SMCParseResult ReadSMC_NewSection(const char *name, bool opt_quotes);
    1.20 @@ -117,6 +121,7 @@
    1.21  	String m_CustomError;
    1.22  };
    1.23  
    1.24 +extern CPhraseFile *g_pCorePhrases;
    1.25  extern CTranslator g_Translator;
    1.26  
    1.27  #endif //_INCLUDE_SOURCEMOD_TRANSLATOR_H_