Class TAdDLLExplorer

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdDLLExplorer = class(TObject)

Description

A class, which lets you search for all Andorra 2D Plugin libraries within a specific directory.

Hierarchy

Overview

Methods

Public procedure GetPlugins(Plugins: TStrings; Dir: string; Extension: string=''); overload;
Public procedure GetPlugins(CallBack: TAdDllExplorerCallBack; Dir: string; Extension: string=''); overload;
Public function DefaultPlugin(Dir: string = ''): string;

Description

Methods

Public procedure GetPlugins(Plugins: TStrings; Dir: string; Extension: string=''); overload;

Returns all plugins in the StringList "Plugins" within the specific directory. Extension must include the trailing point. E.g. ".so" or ".dll". If the extension parameter is empty, a default extension will be used.

Public procedure GetPlugins(CallBack: TAdDllExplorerCallBack; Dir: string; Extension: string=''); overload;

Handles out all plugins via a callback within the specific directory. Extension must include the trailing point. E.g. ".so" or ".dll". If the extension parameter is empty, a default extension will be used.

Public function DefaultPlugin(Dir: string = ''): string;

Returns the first plugin that is found and that is loadable.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:31:59