home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2002 March / PCWMAR02.iso / software / turbocad / v8trial / TurboCADv8ProfessionalNoReg.exe / Data.Cab / F44494_Com.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2001-07-13  |  849 b   |  44 lines

  1. // $$COM_Class_Name$$.cpp : Implementation of C$$COM_Class_Name$$
  2. #include "stdafx.h"
  3. #include "$$root$$.h"
  4. #include "$$COM_Class_Name$$.h"
  5. #include "imsigx_i.c"
  6.  
  7. /////////////////////////////////////////////////////////////////////////////
  8. // C$$COM_Class_Name$$
  9.  
  10. STDMETHODIMP C$$COM_Class_Name$$::InterfaceSupportsErrorInfo(REFIID riid)
  11. {
  12.     static const IID* arr[] = 
  13.     {
  14.         &IID_I$$COM_Class_Name$$
  15.     };
  16.     for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
  17.     {
  18.         if (InlineIsEqualGUID(*arr[i],riid))
  19.             return S_OK;
  20.     }
  21.     return S_FALSE;
  22. }
  23.  
  24. C$$COM_Class_Name$$::C$$COM_Class_Name$$()
  25. {
  26. }
  27.  
  28. $$IF(RegenCreating)
  29. $$INCLUDE(REGEN.CPP)
  30. $$ENDIF
  31. $$IF(ToolCreating)
  32. $$INCLUDE(TOOL.CPP)
  33. $$ENDIF
  34. $$IF(FilterCreating)
  35. $$INCLUDE(FILTER.CPP)
  36. $$ENDIF
  37. $$IF(TieCreating)
  38. $$INCLUDE(TIE.CPP)
  39. $$ENDIF
  40. $$INCLUDE(ALLEVENTS.CPP)
  41.  
  42.  
  43.  
  44.