home *** CD-ROM | disk | FTP | other *** search
/ ...taking it to the Macs! / ...taking it to the Macs!.iso / Extras / ActiveX Mac SDK / ActiveX SDK / Sample Controls / PictPlayer / CPictControlBSC.h < prev    next >
Encoding:
Text File  |  1996-12-31  |  1.0 KB  |  36 lines  |  [TEXT/CWIE]

  1. // =================================================================================
  2. //
  3. //    CPictControlBSC.h                ©1996 Microsoft Corporation All rights reserved.
  4. //
  5. // =================================================================================
  6.  
  7. #ifndef _H_CPictControlBSC
  8. #define _H_CPictControlBSC
  9. #pragma once
  10.  
  11. #include "CBaseBindStatusCallback.h"
  12.  
  13. class CPictControlBSC :
  14.         public CBaseBindStatusCallback
  15. {
  16. public:
  17.     //    *** Constructor & Destructor ***
  18.     CPictControlBSC(CPictControl* inOwningControl, Uint32 inOwningControlRefCon);
  19.     virtual ~CPictControlBSC();
  20.  
  21.     //  *** IBindStatusCallback methods ***
  22.     STDMETHOD (OnStopBinding)(ErrorCode Result, const Char8* Error);
  23.     STDMETHOD (OnDataAvailable)(Uint32 BSCF, Uint32 Size, FORMATETC* FormatEtc, STGMEDIUM* StgMedium);
  24.  
  25.     //    *** Public methods for friends ***
  26.     ErrorCode OpenURL(IContainerSite* inContainerSite, Char8* inURL, Boolean8 BindFile);
  27.  
  28. private:
  29.     //  *** private members ***
  30.     CPictControl*    mOwningControl;
  31.     Uint32            mOwningControlRefCon;
  32.  
  33.     Handle            mData;
  34.     LPBINDHOST         mBindSiteP;
  35. };
  36. #endif