filtrmgr.cpp File Reference

(r1785/r1282)

#include "camtypes.h"
#include "filtrmgr.h"
#include "fileform.h"

Go to the source code of this file.

Defines

#define new   CAM_DEBUG_NEW
#define ADD_FILTER(Classname, FilterIDConst)

Functions

 DECLARE_SOURCE ("$Revision: 1282 $")


Define Documentation

#define ADD_FILTER Classname,
FilterIDConst   ) 
 

Value:

/* Create, initialise and install the Generic import filter */                  \
    pFilter = new Classname;                                                        \
    if (pFilter == NULL) return FALSE;                                              \
                                                                                    \
    if (!pFilter->Init())                                                           \
    {                                                                               \
        /* Error occured - report it and stop trying to initialise filters. */      \
        InformError();                                                              \
        return TRUE;                                                                \
    }                                                                               \
                                                                                    \
    FilterIDConst = RegisterFilter(pFilter, DM_DELETE_WHEN_DONE);                   \
    if (FilterIDConst == NULL)                                                      \
    {                                                                               \
        return FALSE;                                                               \
    }                                                                               \

Definition at line 256 of file filtrmgr.cpp.

#define new   CAM_DEBUG_NEW
 

Definition at line 118 of file filtrmgr.cpp.


Function Documentation

DECLARE_SOURCE "$Revision: 1282 $"   ) 
 


Generated on Sat Nov 10 03:49:09 2007 for Camelot by  doxygen 1.4.4