summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/session.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/session.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/session.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/session.cpp b/noncore/apps/opie-console/session.cpp
new file mode 100644
index 0000000..4198fdc
--- a/dev/null
+++ b/noncore/apps/opie-console/session.cpp
@@ -0,0 +1,26 @@
+
+
+#include "io_layer.h"
+#include "file_layer.h"
+#include "session.h"
+
+Session::Session( QWidget* widget, IOLayer* lay)
+ : m_widget( widget ), m_layer( lay )
+{
+}
+Session::~Session() {
+ delete m_layer;
+ delete m_widget;
+}
+QWidget* Session::widget() {
+ return m_widget;
+}
+IOLayer* Session::layer() {
+ return m_layer;
+}
+void Session::setWidget( QWidget* wid ) {
+ m_widget = wid;
+}
+void Session::setIOLayer( IOLayer* lay ) {
+ m_layer = lay;
+}