From 27d1e03d7bdf8fcfe7292c06e40bc3e2fca9158e Mon Sep 17 00:00:00 2001 From: Denis Oliver Kropp Date: Tue, 19 Oct 2010 15:56:15 +0200 Subject: pluggit --- src/Source.cxx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/Source.cxx (limited to 'src/Source.cxx') 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; +}; + +} + -- cgit