#include <cassert>
#include "export_impl.h"
#include "library_impl.h"
#include "config.h"
Go to the source code of this file.
Functions | |
const char * | get_version () |
Return the highest API version this plugin supports. | |
IPluginUnknown * | create_plugin_library () |
Create a new plugin library instance and return the IPluginUnknown interface of the instance. Currently, this function is not allowed to be called twice. |
IPluginUnknown* create_plugin_library | ( | ) |
Create a new plugin library instance and return the IPluginUnknown interface of the instance. Currently, this function is not allowed to be called twice.
Construct plugin library instance and return the IPluginUnkonwn interface pointer.
Definition at line 42 of file plaintext/plugin_impl/export_impl.cpp.
00043 { 00044 using namespace text; 00045 static PluginLibraryImpl * library; 00046 if (library == NULL) 00047 { 00048 library = new PluginLibraryImpl; 00049 return static_cast<IPluginUnknown *>(library); 00050 } 00051 assert(false); 00052 return 0; 00053 }
const char* get_version | ( | ) |
Return the highest API version this plugin supports.
Retrieve supported highest API version.
Copyright (C) 2008 iRex Technologies B.V. All rights reserved.
Definition at line 34 of file plaintext/plugin_impl/export_impl.cpp.