X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=activex%2Fconnectioncontainer.h;h=704c57fd1716075f7b8e420ce23577a620b0c704;hb=46ff91c65202b418c260fe5f4a8c3b3cd0e6580a;hp=71f1f5b1312e24f79e815a6609cb0d3ea7e741b9;hpb=054049cf321df84a245d7d5b523a120ccfff81b5;p=vlc diff --git a/activex/connectioncontainer.h b/activex/connectioncontainer.h index 71f1f5b131..704c57fd17 100644 --- a/activex/connectioncontainer.h +++ b/activex/connectioncontainer.h @@ -26,6 +26,7 @@ #include #include #include +#include class VLCConnectionPoint : public IConnectionPoint { @@ -41,7 +42,7 @@ public: { if( NULL == ppv ) return E_POINTER; - if( (IID_IUnknown == riid) + if( (IID_IUnknown == riid) || (IID_IConnectionPoint == riid) ) { AddRef(); @@ -69,7 +70,7 @@ private: REFIID _iid; IConnectionPointContainer *_p_cpc; - std::vector _connections; + std::map _connections; }; ////////////////////////////////////////////////////////////////////////// @@ -99,7 +100,7 @@ public: { if( NULL == ppv) return E_POINTER; - if( (IID_IUnknown == riid) + if( (IID_IUnknown == riid) || (IID_IConnectionPointContainer == riid) ) { AddRef();