1 #ifndef VOGLEDITOR_STATETREESYNCITEM_H
2 #define VOGLEDITOR_STATETREESYNCITEM_H
4 #include "vogleditor_statetreeitem.h"
8 class vogleditor_stateTreeSyncItem: public vogleditor_stateTreeItem
11 vogleditor_stateTreeSyncItem(QString name, vogleditor_stateTreeItem* parent, const vogl_sync_state& state);
12 virtual ~vogleditor_stateTreeSyncItem()
15 m_pDiffBaseState = NULL;
18 const vogl_sync_state* get_current_state() const { return m_pState; }
20 virtual void set_diff_base_state(const vogl_sync_state* pBaseState);
22 virtual bool hasChanged() const;
25 const vogl_sync_state* m_pState;
26 const vogl_sync_state* m_pDiffBaseState;
29 #endif // VOGLEDITOR_STATETREESYNCITEM_H