Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

Import::ImportInterfaceC Class Reference

Import interface class. More...

#include <ImportInterfaceC.h>

List of all members.

Public Methods


Detailed Description

Import interface class.

Import interface class is a tool class for importers. It's purpose is to enable the importer to import other files inside a importer.

This class is implemented by the system.


Constructor & Destructor Documentation

ImportInterfaceC ( FileListC * pFileList,
PluginClass::FactoryC * pFactory )
 

Default constructor (used internally).

~ImportInterfaceC ( ) [virtual]
 

Default destructor (used internally).


Member Function Documentation

FileHandleC * request_import ( const char * szName,
PluginClass::SuperClassIdC rSuperFilter,
const PluginClass::ClassIdC rClassFilter ) [virtual]
 

Imports requested file.

Request a import for a specified file. File importer filters can be used range the number of possible importers which could match the file extension.

For example if it is known that the file must be image, SUPERCLASS_IMAGE could be passed as the rSuperFilter argument.

If a filter (class Id of super class ID) isn't used NULL_CLASSID or NULL_SUPERCLASS should be passed as argument.

Example:

            // Request import for a image.
            FileHandleC*    pHandle = m_pImpInterface->request_import( szFileName, SUPERCLASS_IMAGE, NULL_CLASSID );


The documentation for this class was generated from the following file:
Moppi Demopaja SDK Documentation -- Copyright © 2000 Moppi Productions