Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

PluginImageCreateRepository Class Reference

Image Create Repository with load from plugin functionality. More...

#include <page_magick.h>

Inheritance diagram for PluginImageCreateRepository:

Inheritance graph
[legend]
Collaboration diagram for PluginImageCreateRepository:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void InstallPlugins (Plugin *)

Detailed Description

Image Create Repository with load from plugin functionality.

Definition at line 69 of file page_magick.h.


Member Function Documentation

void PluginImageCreateRepository::InstallPlugins Plugin  ) 
 

Definition at line 441 of file page_magick.cc.

References Plugin::Find(), ImageCreate::IsUsable(), and GDKImageCreateRepository::Register().

Referenced by PageMagick::PageMagick().

00442 {
00443     GDKImageCreate * ( *func ) ( int ) = ( GDKImageCreate * ( * ) ( int ) ) plugin->Find( "GetImageCreate" );
00444     if ( func != NULL )
00445     {
00446         int index = 0;
00447         GDKImageCreate *entry = func( index ++ );
00448         while ( entry != NULL )
00449         {
00450             if ( entry->IsUsable( ) )
00451                 Register( entry );
00452             entry = func( index ++ );
00453         }
00454     }
00455 }


The documentation for this class was generated from the following files:
Generated on Sun Mar 11 22:13:23 2007 for Kino by  doxygen 1.4.2