e:\DRC\Source_Files\Source\Source\_Interface\WndSh op.h(300): error C2011: 'CWndGlowShop' : 'class' type redefinition
nur leide ist CWndGlowShop nur einmal in der neuz drinne und nicht 2mal bzw mehrfach deshalb versteh ich nicht wieso ich einen redefinition error bekomme...
WndShop.h ausschnitt
Code:
#ifdef __PMA_GLOW_COL
class CWndGlowShop : public CWndNeuz
{
public:
CTexture m_Texture;
CWndConfirmSell* m_pWndConfirmSell;
CModelObject* m_pModel;
BOOL m_bLButtonClick;
CRect m_ColorRect[3];
FLOAT m_fColor[3];
int m_nGlowColorCost;
CPoint m_ColorScrollBar[3];
CPoint m_OriginalColorScrollBar[3];
#ifdef __Y_BEAUTY_SHOP_CHARGE
BOOL m_bChange;
#endif //__Y_BEAUTY_SHOP_CHARGE
int m_ChoiceBar;
public:
CWndGlowShop();
~CWndGlowShop();
void ReSetBar( FLOAT r, FLOAT g, FLOAT b );
virtual HRESULT RestoreDeviceObjects();
virtual HRESULT InvalidateDeviceObjects();
virtual HRESULT DeleteDeviceObjects();
virtual void OnMouseWndSurface( CPoint point );
virtual BOOL Initialize( CWndBase* pWndParent = NULL, DWORD nType = MB_OK );
virtual BOOL OnChildNotify( UINT message, UINT nID, LRESULT* pLResult );
virtual void OnDraw( C2DRender* p2DRender );
virtual void OnInitialUpdate();
virtual BOOL OnCommand( UINT nID, DWORD dwMessage, CWndBase* pWndBase );
virtual void OnSize( UINT nType, int cx, int cy );
virtual void OnLButtonUp( UINT nFlags, CPoint point );
virtual void OnLButtonDown( UINT nFlags, CPoint point );
virtual void OnDestroy( void );
void UpdateModels();
};
#endif //__PMA_GLOW_COL






