Extend mechanism of visitor for all important classes that has

attributes of a scene (for saving in XML, or other visitors)
This commit is contained in:
brunoherbelin
2020-04-01 14:41:42 +02:00
parent 178bf45f08
commit 37a6754de2
13 changed files with 176 additions and 101 deletions

View File

@@ -12,6 +12,9 @@
#include <gst/gl/gl.h>
#include <gst/pbutils/pbutils.h>
// Forward declare classes referenced
class Visitor;
#define MAX_PLAY_SPEED 20.0
#define MIN_PLAY_SPEED 0.1
@@ -200,7 +203,10 @@ public:
guint Height() const;
float AspectRatio() const;
/**
* Accept visitors
* */
void accept(Visitor& v);
private: