IPluginLibrary Struct Reference

Universal Document Shell Plugin Library interface. Through IPluginLibrary, caller is able to:

More...

#include <plugin_library.h>

Inheritance diagram for IPluginLibrary:
Inheritance graph
[legend]
Collaboration diagram for IPluginLibrary:
Collaboration graph
[legend]

Data Fields

PluginBool(* is_supported_document )(IPluginUnknown *thiz, const UDSString *path)
 Check this plugin library whether can it open specified document or not.
IPluginUnknown *(* create_document )(IPluginUnknown *thiz)
 Create an empty document object it the plug-in uses the low level interfaces. It can import concrete document in succeed.

Detailed Description

Universal Document Shell Plugin Library interface. Through IPluginLibrary, caller is able to:

Copyright (C) 2008 iRex Technologies B.V. All rights reserved.

Definition at line 45 of file plugin_library.h.


Field Documentation

Create an empty document object it the plug-in uses the low level interfaces. It can import concrete document in succeed.

Parameters:
thiz The IPluginUnknown pointer of library object.
Returns:
Returns IPluginUnknown pointer of document object creating successes, otherwise returns NULL.

Referenced by text::PluginLibraryImpl::PluginLibraryImpl(), pdf::PluginLibraryImpl::PluginLibraryImpl(), and images::PluginLibraryImpl::PluginLibraryImpl().

Check this plugin library whether can it open specified document or not.

Parameters:
thiz The IPluginUnknown pointer of plugin library.
path The document path.
Returns:
Returns PLUGIN_TRUE if the specified document can be imported successfully, otherwise returns PLUGIN_FALSE.

Referenced by text::PluginLibraryImpl::PluginLibraryImpl(), pdf::PluginLibraryImpl::PluginLibraryImpl(), and images::PluginLibraryImpl::PluginLibraryImpl().


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