Improve Modules Interface

Now the modules are created using a factory instead of static allocated.
  The same module can be applied to different sequences.
  Pain in the ass memory free
This commit is contained in:
jfmcarreira committed 2014-12-27 21:52:56 +00:00
1 parent bec150f705
commit 73bf370e6e
18 files changed
+432 -210

No files matched your search

+3 -2
View File
@@ -53,9 +53,10 @@ class PlaYUVerAppModuleIf
private:
QAction* m_pcModuleAction;
PlaYUVerModuleIf* m_pcModule;
QAction* m_pcAction;
VideoSubWindow* m_pcSubWindow[MAX_NUMBER_FRAMES];
VideoSubWindow* m_pcDisplaySubWindow;
@@ -82,7 +83,7 @@ public:
PlaYUVerAppModuleIf* m_pcModule;
};
PlaYUVerAppModuleIf();
PlaYUVerAppModuleIf( QObject* parent, QAction* action, PlaYUVerModuleIf* module );
virtual ~PlaYUVerAppModuleIf() {}
protected: