oilfltrs.cpp File Reference

(r1785/r1679)

#include "camtypes.h"
#include "optsmsgs.h"
#include "camelot.h"
#include "coplfilr.h"
#include "freeeps.h"
#include "cameleps.h"
#include "ppmfiltr.h"
#include "textfltr.h"
#include "textfuns.h"
#include "unicdman.h"
#include "fontman.h"
#include "pngfiltr.h"
#include "imjpeg.h"
#include "filtimag.h"
#include "prvwflt.h"
#include "helpuser.h"
#include "xpfilter.h"
#include "xmlutils.h"

Go to the source code of this file.

Defines

#define new   CAM_DEBUG_NEW
#define ADD_FILTER(Classname)


Define Documentation

#define ADD_FILTER Classname   ) 
 

Value:

/* Create, initialise and install the Generic import filter */                  \
    pFilter = new Classname;                                                        \
    /* Error state already set by new */                                            \
    if (pFilter == NULL) return FALSE;                                              \
                                                                                    \
    if (!pFilter->Init())                                                           \
    {                                                                               \
        /* Error occured - report it and stop trying to initialise filters. */      \
        if (Error::GetErrorNumber() != _R(IDN_FILTERNOTPRESENT))                        \
            InformError();                                                          \
        return TRUE;                                                                \
    }                                                                               \
                                                                                    \
    FilterList.AddTail(pFilter);
Macro borrowed from Filters.cpp

Definition at line 188 of file oilfltrs.cpp.

#define new   CAM_DEBUG_NEW
 

Definition at line 161 of file oilfltrs.cpp.


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