Saving and loading of Clone Sources.

This commit is contained in:
brunoherbelin
2020-05-23 15:27:56 +02:00
parent 84ca3b1f82
commit 2cc45edfbd
5 changed files with 39 additions and 8 deletions

View File

@@ -138,7 +138,6 @@ class CloneSource : public Source
friend class Source;
public:
CloneSource(Source *origin);
~CloneSource();
// implementation of source API
@@ -151,6 +150,8 @@ public:
inline Source *origin() const { return origin_; }
protected:
// only Source class can create new CloneSource via clone();
CloneSource(Source *origin);
void init() override;
Surface *clonesurface_;