@ElmPhysMtrl.h 1.1 KB

123456789101112131415161718192021222324
  1. /******************************************************************************/
  2. /******************************************************************************/
  3. class ElmPhysMtrl : ElmData
  4. {
  5. // get
  6. bool equal(C ElmPhysMtrl &src)C;
  7. bool newer(C ElmPhysMtrl &src)C;
  8. virtual bool mayContain(C UID &id)C override;
  9. // operations
  10. void from(C EditPhysMtrl &src);
  11. uint undo(C ElmPhysMtrl &src); // don't adjust 'ver' here because it also relies on 'EditPhysMtrl', because of that this is included in 'ElmFileInShort'
  12. uint sync(C ElmPhysMtrl &src); // don't adjust 'ver' here because it also relies on 'EditPhysMtrl', because of that this is included in 'ElmFileInShort'
  13. // io
  14. virtual bool save(File &f)C override;
  15. virtual bool load(File &f)override;
  16. virtual void save(MemPtr<TextNode> nodes)C override;
  17. virtual void load(C MemPtr<TextNode> &nodes)override;
  18. };
  19. /******************************************************************************/
  20. /******************************************************************************/
  21. /******************************************************************************/