make boatData names availabel as constants
This commit is contained in:
parent
b51c36a5bb
commit
e3723be7e2
|
@ -160,6 +160,7 @@ public:
|
|||
virtual ~GwBoatItemNameProvider() {}
|
||||
};
|
||||
#define GWBOATDATA(type,name,time,fmt) \
|
||||
GWSC(_##name); \
|
||||
GwBoatItem<type> *name=new GwBoatItem<type>(F(#name),GwBoatItemBase::fmt,time,&values) ;
|
||||
#define GWSPECBOATDATA(clazz,name,time,fmt) \
|
||||
clazz *name=new clazz(F(#name),GwBoatItemBase::fmt,time,&values) ;
|
||||
|
|
Loading…
Reference in New Issue