home *** CD-ROM | disk | FTP | other *** search
/ ...taking it to the Macs! / ...taking it to the Macs!.iso / Extras / ActiveX Mac SDK / ActiveX SDK / Control Common / CEnumConnectionPoints.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-17  |  739 b   |  28 lines  |  [TEXT/CWIE]

  1.  
  2. class CEnumConnectionPoints : public IEnumConnectionPoints
  3. {
  4. public:
  5.     CEnumConnectionPoints(LArray* ConnectionPoints);
  6.     ~CEnumConnectionPoints(void);
  7.     
  8.     //  *** IUnknown methods ***
  9.     STDMETHOD(QueryInterface)(REFIID RefID, void** Obj);
  10.     STDMETHOD_(ULONG, AddRef)(void);
  11.     STDMETHOD_(ULONG, Release)(void);
  12.  
  13.     // IEnumConnectionPoints methods
  14.     STDMETHOD(Next)(THIS_ unsigned long NumRequested, 
  15.                     IConnectionPoint** ConnectionPoint,
  16.                     unsigned long* NumReturned);
  17.     STDMETHOD(Skip)(THIS_ unsigned long cConnections);
  18.     STDMETHOD(Reset)(THIS)  { return E_NOTIMPL; }
  19.     STDMETHOD(Clone)(THIS_ IEnumConnectionPoints** Enum);
  20.     
  21. private:
  22.     unsigned long         m_RefCount;
  23.     unsigned long        m_Current;
  24.     LArray*                m_ConnectionPoints;
  25.     
  26. };
  27.  
  28.