home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / source / chap03 / lst33 / lst33obj.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-19  |  727 b   |  30 lines

  1. // Lst33Obj.h : Declaration of the CLst33Object
  2.  
  3.  
  4. #include "resource.h"       // main symbols
  5.  
  6. /////////////////////////////////////////////////////////////////////////////
  7. // lst33
  8.  
  9. //REVIEW -- using pointers to ID's is necessary because some compilers don't like
  10. //references as template arguments.
  11.  
  12. class CLst33Object : 
  13.     public ILst33,
  14.     public CComObjectBase<&CLSID_Lst33>
  15. {
  16. public:
  17.     CLst33Object() {}
  18. BEGIN_COM_MAP(CLst33Object)
  19.     COM_INTERFACE_ENTRY(ILst33)
  20. END_COM_MAP()
  21. // Use DECLARE_NOT_AGGREGATABLE(CLst33Object) if you don't want your object
  22. // to support aggregation
  23. DECLARE_AGGREGATABLE(CLst33Object)
  24.  
  25. // ILst33
  26. public:      
  27.     
  28.     STDMETHOD(Lower)( LPSTR bstrInput, LPSTR *pbstrOutput);
  29. };
  30.