pdf::PluginLibraryImpl Class Reference

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

#include <library_impl.h>

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

Public Member Functions

 PluginLibraryImpl ()
 ~PluginLibraryImpl ()

Detailed Description

Implement Plugin Library object for pdf plugin.

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


Constructor & Destructor Documentation

pdf::PluginLibraryImpl::PluginLibraryImpl (  ) 

Definition at line 48 of file pdf/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     // g_thread_init(0);
00051 
00052     // Initialize all interface method pointers.
00053     query_interface         = query_interface_impl;
00054     release                 = release_impl;
00055     is_supported_document   = is_supported_document_impl;
00056     create_document         = create_document_impl;
00057 
00058     // record the instance.
00059     g_instances_table.add_interface<IPluginUnknown>(this);
00060     g_instances_table.add_interface<IPluginLibrary>(this);
00061 }

Here is the call graph for this function:

pdf::PluginLibraryImpl::~PluginLibraryImpl (  ) 

Definition at line 63 of file pdf/plugin_impl/library_impl.cpp.

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

00064 {
00065     g_instances_table.remove(this);
00066 }

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