summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/session.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/session.cpp') (more/less context) (show 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 @@
1
2
3#include "io_layer.h"
4#include "file_layer.h"
5#include "session.h"
6
7Session::Session( QWidget* widget, IOLayer* lay)
8 : m_widget( widget ), m_layer( lay )
9{
10}
11Session::~Session() {
12 delete m_layer;
13 delete m_widget;
14}
15QWidget* Session::widget() {
16 return m_widget;
17}
18IOLayer* Session::layer() {
19 return m_layer;
20}
21void Session::setWidget( QWidget* wid ) {
22 m_widget = wid;
23}
24void Session::setIOLayer( IOLayer* lay ) {
25 m_layer = lay;
26}