#include <webchild.h>


Public Member Functions | |
| EventConnection (IConnectionPoint *connectionpoint, IUnknown *sink) | |
| template<typename T> | |
| EventConnection (T &connectionpoint, IUnknown *sink) | |
| ~EventConnection () | |
Protected Attributes | |
| SIfacePtr< IConnectionPoint > | _connectionpoint |
| DWORD | _cookie |
Definition at line 178 of file webchild.h.
| EventConnection::EventConnection | ( | IConnectionPoint * | connectionpoint, | |
| IUnknown * | sink | |||
| ) | [inline] |
Definition at line 180 of file webchild.h.
References _connectionpoint, _cookie, and CheckError().
00181 { 00182 CheckError(connectionpoint->Advise(sink, &_cookie)); 00183 _connectionpoint = connectionpoint; 00184 }

| EventConnection::EventConnection | ( | T & | connectionpoint, | |
| IUnknown * | sink | |||
| ) | [inline] |
Definition at line 186 of file webchild.h.
References _connectionpoint, _cookie, and CheckError().
00187 { 00188 CheckError(connectionpoint->Advise(sink, &_cookie)); 00189 _connectionpoint = connectionpoint; 00190 }

| EventConnection::~EventConnection | ( | ) | [inline] |
Definition at line 204 of file webchild.h.
References _connectionpoint, and _cookie.
00205 { 00206 if (_connectionpoint) 00207 _connectionpoint->Unadvise(_cookie); 00208 }
SIfacePtr<IConnectionPoint> EventConnection::_connectionpoint [protected] |
DWORD EventConnection::_cookie [protected] |
|
IBrowser Source Code Documentation
generated on 18.09.2008 by
|