text::PluginLibraryImpl Class Reference

Implement Plugin Library object for text plugin. More...

#include <library_impl.h>

Inheritance diagram for text::PluginLibraryImpl:
Inheritance graph
[legend]
Collaboration diagram for text::PluginLibraryImpl:
Collaboration graph
[legend]

Public Member Functions

 PluginLibraryImpl ()
 ~PluginLibraryImpl ()

Detailed Description

Implement Plugin Library object for text plugin.

Definition at line 41 of file plaintext/plugin_impl/library_impl.h.


Constructor & Destructor Documentation

text::PluginLibraryImpl::PluginLibraryImpl (  ) 

Definition at line 48 of file plaintext/plugin_impl/library_impl.cpp.

References utils::ObjectTable< T >::add_interface(), IPluginLibrary::create_document, IPluginLibrary::is_supported_document, _IPluginUnknown::query_interface, and _IPluginUnknown::release.

00049 {
00050     // Initialize all interface method pointers.
00051     query_interface         = query_interface_impl;
00052     release                 = release_impl;
00053     is_supported_document   = is_supported_document_impl;
00054     create_document         = create_document_impl;
00055 
00056     // record the instance.
00057     g_instances_table.add_interface<IPluginUnknown>(this);
00058     g_instances_table.add_interface<IPluginLibrary>(this);
00059 }

Here is the call graph for this function:

text::PluginLibraryImpl::~PluginLibraryImpl (  ) 

Definition at line 61 of file plaintext/plugin_impl/library_impl.cpp.

References utils::ObjectTable< T >::remove().

00062 {
00063     g_instances_table.remove(this);
00064 }

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208