GME  13
CommonVersionInfo.h
Go to the documentation of this file.
00001 #ifndef COMMONVERSIONINFO_H
00002 #define COMMONVERSIONINFO_H
00003 
00004 #include "CommonError.h"
00005 
00006 class ATL_NO_VTABLE IGMEVersionInfoImpl : public IGMEVersionInfo {
00007 public:
00008             BEGIN_INTERFACE
00009                 STDMETHOD(get_version(GMEInterfaceVersion *pVal)) {
00010                         //AFX_MANAGE_STATE( AfxGetStaticModuleState());//z
00011                         if(!pVal) return E_POINTER;
00012                         *pVal = GMEInterfaceVersion_Current;
00013                         return S_OK;
00014                 }
00015 };
00016 
00017 
00018 #endif // COMMONVERSIONINFO_H