[vlmc-devel] [PATCH 1/5] IRenderTarget
Yikai Lu
luyikei.qmltu at gmail.com
Thu Apr 14 10:10:17 CEST 2016
---
src/Backend/IRenderTarget.h | 18 ++++++++++++++++++
src/CMakeLists.txt | 1 +
2 files changed, 19 insertions(+)
create mode 100644 src/Backend/IRenderTarget.h
diff --git a/src/Backend/IRenderTarget.h b/src/Backend/IRenderTarget.h
new file mode 100644
index 0000000..9efbf0f
--- /dev/null
+++ b/src/Backend/IRenderTarget.h
@@ -0,0 +1,18 @@
+#ifndef IRENDERTARGET_H
+#define IRENDERTARGET_H
+
+
+namespace Backend
+{
+ class ISourceRenderer;
+
+ class IRenderTarget
+ {
+ public:
+ virtual ~IRenderTarget() = default;
+ virtual void configure( ISourceRenderer* renderer ) = 0;
+ };
+}
+
+#endif // IRENDERTARGET_H
+
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bb4bef5..ae426ff 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -40,6 +40,7 @@ SET(VLMC_SRCS
Backend/IBackend.h
Backend/ISourceRenderer.h
Backend/ISource.h
+ Backend/IRenderTarget.h
Backend/VLC/VLCBackend.cpp
Backend/VLC/VLCSourceRenderer.cpp
Backend/VLC/VLCVmemRenderer.cpp
--
1.9.1
More information about the Vlmc-devel
mailing list