plugmngr.cpp File Reference

(r1785/r1282)

#include "camtypes.h"
#include "plugmngr.h"
#include "plugin.h"
#include "fileutil.h"
#include "pshpmngr.h"
#include "bfxmngr.h"
#include "plugbrws.h"
#include "plugop.h"
#include "plugopun.h"
#include "progress.h"
#include "sgliboil.h"
#include "sgrmfile.h"
#include "product.h"
#include "menuitem.h"
#include "oilmenus.h"
#include "menupref.h"
#include "pshpop.h"
#include "registry.h"
#include "appprefs.h"

Go to the source code of this file.

Defines

#define new   CAM_DEBUG_NEW
#define ADD_HANDLER(Classname)


Define Documentation

#define ADD_HANDLER Classname   ) 
 

Value:

{                                                                                   \
        /* Create, initialise and install a new plug-in handler */                      \
        Classname * pHandler = new Classname;                                           \
                                                                                        \
        if (pHandler == NULL) return FALSE;                                             \
                                                                                        \
        if (!pHandler->Init())                                                          \
        {                                                                               \
            /* Error occured - report it and stop trying to initialise filters. */      \
            InformError();                                                              \
            return TRUE;                                                                \
        }                                                                               \
                                                                                        \
        m_HandlersList.AddTail(pHandler);                                               \
    }

Definition at line 409 of file plugmngr.cpp.

#define new   CAM_DEBUG_NEW
 

Definition at line 144 of file plugmngr.cpp.


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