layerprp.cpp File Reference

(r1785/r1282)

#include "camtypes.h"
#include "layerprp.h"
#include "prpslyrs.h"
#include "prpsgds.h"
#include "sprdmsg.h"
#include "layermsg.h"
#include "colmsg.h"
#include "optsmsgs.h"

Go to the source code of this file.

Defines

#define new   CAM_DEBUG_NEW
#define ADD_LAYERPROPERTY(Classname)

Functions

 DECLARE_SOURCE ("$Revision: 1282 $")


Define Documentation

#define ADD_LAYERPROPERTY Classname   ) 
 

Value:

/* Create, initialise and install the specified tab to the options system */    \
    pLayerProperty = new Classname;                                                 \
    if (pLayerProperty == NULL) return FALSE;                                       \
                                                                                    \
    if (!pLayerProperty->Init())                                                    \
    {                                                                               \
        /* Error occured - report it and stop trying to initialise options tab. */  \
        delete pLayerProperty;                                                      \
        InformError();                                                              \
        return TRUE;                                                                \
    }                                                                               \
                                                                                    \
    LayerPropertyTabsList.AddTail(pLayerProperty);

Definition at line 1266 of file layerprp.cpp.

#define new   CAM_DEBUG_NEW
 

Definition at line 149 of file layerprp.cpp.


Function Documentation

DECLARE_SOURCE "$Revision: 1282 $"   ) 
 


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