b7c75283f2
extension module called wx.activex. Lots of demo and lib updates to go along with it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
80 lines
7.1 KiB
HTML
80 lines
7.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title> TemplatewxAutoOleInterface< I > class Reference</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.3-rc3 -->
|
|
<center>
|
|
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center>
|
|
<hr><h1>wxAutoOleInterface< I > Class Template Reference</h1><code>#include <<a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>></code>
|
|
<p>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class I><br>
|
|
class wxAutoOleInterface< I ></h3>
|
|
|
|
Template class for smart interface handling.
|
|
<p>
|
|
<ul>
|
|
<li>Automatically dereferences ole interfaces</li><li>Smart Copy Semantics</li><li>Can Create Interfaces</li><li>Can query for other interfaces </li></ul>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="wxactivex_8h-source.html#l00045">45</a> of file <a class="el" href="wxactivex_8h-source.html">wxactivex.h</a>.<table border=0 cellpadding=0 cellspacing=0>
|
|
<tr><td></td></tr>
|
|
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a0" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
|
|
</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a0">wxAutoOleInterface</a> (I *pInterface=NULL)</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>takes ownership of an existing interface Assumed to already have a AddRef() applied</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a1" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
|
|
</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a1">wxAutoOleInterface</a> (REFIID riid, IUnknown *pUnk)</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>queries for an interface</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a2" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
|
|
</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a2">wxAutoOleInterface</a> (REFIID riid, IDispatch *pDispatch)</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>queries for an interface</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a3" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
|
|
</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a3">wxAutoOleInterface</a> (REFCLSID clsid, REFIID riid)</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>Creates an Interface.</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a4" doxytag="wxAutoOleInterface::wxAutoOleInterface"></a>
|
|
</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a4">wxAutoOleInterface</a> (const wxAutoOleInterface< I > &ti)</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>copy constructor</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a5" doxytag="wxAutoOleInterface::operator="></a>
|
|
wxAutoOleInterface< I > & </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a5">operator=</a> (const wxAutoOleInterface< I > &ti)</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>assignment operator</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a6" doxytag="wxAutoOleInterface::operator="></a>
|
|
wxAutoOleInterface< I > & </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a6">operator=</a> (I *&ti)</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>takes ownership of an existing interface Assumed to already have a AddRef() applied</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a7" doxytag="wxAutoOleInterface::~wxAutoOleInterface"></a>
|
|
</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a7">~wxAutoOleInterface</a> ()</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>invokes <a class="el" href="classwxAutoOleInterface.html#a8">Free()</a></em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a8" doxytag="wxAutoOleInterface::Free"></a>
|
|
void </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a8">Free</a> ()</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>Releases interface (i.e decrements refCount).</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a9" doxytag="wxAutoOleInterface::QueryInterface"></a>
|
|
HRESULT </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a9">QueryInterface</a> (REFIID riid, IUnknown *pUnk)</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>queries for an interface</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a10" doxytag="wxAutoOleInterface::CreateInstance"></a>
|
|
HRESULT </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a10">CreateInstance</a> (REFCLSID clsid, REFIID riid)</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>Create a Interface instance.</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a11" doxytag="wxAutoOleInterface::operator I *"></a>
|
|
</td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a11">operator I *</a> () const</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>returns the interface pointer</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a12" doxytag="wxAutoOleInterface::operator->"></a>
|
|
I * </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a12">operator-></a> ()</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>returns the dereferenced interface pointer</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a13" doxytag="wxAutoOleInterface::GetRef"></a>
|
|
I ** </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a13">GetRef</a> ()</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>returns a pointer to the interface pointer</em></font><br><br></td></tr>
|
|
<tr><td nowrap align=right valign=top><a name="a14" doxytag="wxAutoOleInterface::Ok"></a>
|
|
bool </td><td valign=bottom><a class="el" href="classwxAutoOleInterface.html#a14">Ok</a> () const</td></tr>
|
|
<tr><td> </td><td><font size=-1><em>returns true if we have a valid interface pointer</em></font><br><br></td></tr>
|
|
</table>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="wxactivex_8h-source.html">wxactivex.h</a></ul>
|
|
<hr><address style="align: right;"><small>Generated on Tue Apr 1 14:51:12 2003 for wxActiveX by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border=0
|
|
width=110 height=53></a>1.3-rc3 </small></address>
|
|
</body>
|
|
</html>
|