plaintext/plugin_impl/export_impl.h File Reference

#include "plugin_unknown.h"
Include dependency graph for plaintext/plugin_impl/export_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PLUGIN_EXPORT   __declspec( dllexport )

Functions

PLUGIN_EXPORT const char * get_version ()
 Retrieve supported highest API version.
PLUGIN_EXPORT IPluginUnknowncreate_plugin_library ()
 Construct plugin library instance and return the IPluginUnkonwn interface pointer.

Define Documentation

#define PLUGIN_EXPORT   __declspec( dllexport )

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

Definition at line 35 of file plaintext/plugin_impl/export_impl.h.


Function Documentation

PLUGIN_EXPORT IPluginUnknown* create_plugin_library (  ) 

Construct plugin library instance and return the IPluginUnkonwn interface pointer.

Definition at line 45 of file images/plugin_impl/export_impl.cpp.

00046 {
00047     using namespace images;
00048     static PluginLibraryImpl * library;
00049     if (library == NULL)
00050     {
00051         library = new PluginLibraryImpl;
00052         return static_cast<IPluginUnknown *>(library);
00053     }
00054     assert(false);
00055     return 0;
00056 }

PLUGIN_EXPORT const char* get_version (  ) 

Retrieve supported highest API version.

Retrieve supported highest API version.

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

Definition at line 35 of file images/plugin_impl/export_impl.cpp.

00036 {
00037    // VERSION is automatically defined in config.h from the version 
00038     // number in configure.ac
00039     return VERSION;
00040 }

Generated by  doxygen 1.6.2-20100208