home *** CD-ROM | disk | FTP | other *** search
- class CCPContainer:
- public IConnectionPointContainer
- {
-
- public:
- // *** CCPContainer methods ***
- CCPContainer(short NumConnections);
- virtual ~CCPContainer(void);
-
- STDMETHOD(AddConnectionPoint)(IID RefID);
-
- // *** IUnknown methods ***
- STDMETHOD(QueryInterface)(REFIID RefID, void** Obj);
- STDMETHOD_(ULONG, AddRef)(void);
- STDMETHOD_(ULONG, Release)(void);
-
- // IConnectionPointContainer methods
- STDMETHOD(EnumConnectionPoints)(THIS_ IEnumConnectionPoints** EnumCP);
- STDMETHOD(FindConnectionPoint)(THIS_ REFIID RefID, IConnectionPoint** ConnectionPoint);
-
- private:
- ULONG m_RefCount;
- LArray* m_ConnectionPoints;
- };
-
-
-