summaryrefslogtreecommitdiff
path: root/src/Source.cxx
diff options
context:
space:
mode:
authorDenis Oliver Kropp <dok@directfb.org>2010-10-19 15:56:15 +0200
committerDenis Oliver Kropp <dok@directfb.org>2010-10-19 15:56:15 +0200
commit27d1e03d7bdf8fcfe7292c06e40bc3e2fca9158e (patch)
treeefee63b09d2f9b73e2ae73a9448660a3cf73c4e6 /src/Source.cxx
downloadpluggit-27d1e03d7bdf8fcfe7292c06e40bc3e2fca9158e.tar.gz
pluggit-27d1e03d7bdf8fcfe7292c06e40bc3e2fca9158e.tar.bz2
pluggit-27d1e03d7bdf8fcfe7292c06e40bc3e2fca9158e.zip
pluggit
Diffstat (limited to 'src/Source.cxx')
-rw-r--r--src/Source.cxx22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Source.cxx b/src/Source.cxx
new file mode 100644
index 0000000..871e796
--- /dev/null
+++ b/src/Source.cxx
@@ -0,0 +1,22 @@
+namespace PluggIt {
+
+class Source
+{
+ protected class Config {
+ protected Config() {}
+ };
+
+
+ protected View *m_view;
+ protected const Config &m_config;
+
+ public Source( View *view, const Config &config ) : m_config(config) {
+ m_view = view;
+ }
+
+
+ public virtual int MainLoop() = 0;
+};
+
+}
+