src/ldtypes.h

changeset 583
4906c5c1670f
parent 564
79b23e02dcf1
child 600
209e3f1f7b2c
equal deleted inserted replaced
582:5510207c2396 583:4906c5c1670f
19 #ifndef LDFORGE_LDTYPES_H 19 #ifndef LDFORGE_LDTYPES_H
20 #define LDFORGE_LDTYPES_H 20 #define LDFORGE_LDTYPES_H
21 21
22 #include "main.h" 22 #include "main.h"
23 #include "types.h" 23 #include "types.h"
24 #include "misc/documentPointer.h"
24 25
25 #define LDOBJ(T) \ 26 #define LDOBJ(T) \
26 protected: \ 27 protected: \
27 virtual LD##T* clone() override { \ 28 virtual LD##T* clone() override { \
28 return new LD##T (*this); \ 29 return new LD##T (*this); \
375 LDOBJ_NAME (subfile) 376 LDOBJ_NAME (subfile)
376 LDOBJ_VERTICES (0) 377 LDOBJ_VERTICES (0)
377 LDOBJ_COLORED 378 LDOBJ_COLORED
378 LDOBJ_SCEMANTIC 379 LDOBJ_SCEMANTIC
379 LDOBJ_HAS_MATRIX 380 LDOBJ_HAS_MATRIX
380 PROPERTY (public, LDDocument*, FileInfo, NO_OPS, STOCK_WRITE) 381 PROPERTY (public, LDDocumentPointer, FileInfo, NO_OPS, STOCK_WRITE)
381 382
382 public: 383 public:
383 enum InlineFlag 384 enum InlineFlag
384 { DeepInline = (1 << 0), 385 { DeepInline = (1 << 0),
385 CacheInline = (1 << 1), 386 CacheInline = (1 << 1),

mercurial