Blame view

Scene.h 483 Bytes
3f2992b2c   bostx   V1.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  #ifndef SCENE_H
  #define SCENE_H
  
  #include <QString>
  
  #include "Segment.h"
  
  class Scene: public Segment
  {
   public:
    Scene(Segment *parentSegment);
    Scene(qint64 position, bool manual, Segment *parentSegment, const QString &name = QString(), Segment::Source source = Segment::Manual);
    ~Scene();
    void read(const QJsonObject &json);
    void write(QJsonObject &json) const;
    QString display() const;
    int getNumber() const;
  
   private:
    bool m_manual;
    QString m_name;
  };
  
  #endif