Fade2.5D Documentation pages v1.86
Delaunay Features
MsgBase.h
1 // Copyright (C) Geom Software e.U, Bernhard Kornberger, Graz/Austria
2 //
3 // This file is part of the Fade2D library. The student license is free
4 // of charge and covers personal non-commercial research. Licensees
5 // holding a commercial license may use this file in accordance with
6 // the Commercial License Agreement.
7 //
8 // This software is provided AS IS with NO WARRANTY OF ANY KIND,
9 // INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
10 // FOR A PARTICULAR PURPOSE.
11 //
12 // Please contact the author if any conditions of this licensing are
13 // not clear to you.
14 //
15 // Author: Bernhard Kornberger, bkorn (at) geom.at
16 // http://www.geom.at
17 
18 #pragma once
19 #include "common.h"
20 
21 
22 #if GEOM_PSEUDO3D==GEOM_TRUE
23  namespace GEOM_FADE25D {
24 #elif GEOM_PSEUDO3D==GEOM_FALSE
25  namespace GEOM_FADE2D {
26 #else
27  #error GEOM_PSEUDO3D is not defined
28 #endif
29 
30 enum MsgType
31 {
32  MSG_PROGRESS,
33  MSG_WARNING
34 };
35 
45 class CLASS_DECLSPEC MsgBase
46 {
47 public:
48  MsgBase(){};
49  virtual ~MsgBase(){}
50 
51 
58  virtual void update(MsgType msgType,const char* s,double d)=0;
59 };
60 
61 
62 } // Namespace
63 
GEOM_FADE25D::MsgBase
MsgBase, a base class for message subscriber classes.
Definition: MsgBase.h:45