From acf708cee945b8b843b0132672d79f5c4571c22b Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 24 Oct 2002 12:13:09 +0000 Subject: Fixed warnings Now we're down to two warning with number conversions Enable Saving Sessions Enable Copy and Paste --- (limited to 'noncore/apps/opie-console/session.cpp') diff --git a/noncore/apps/opie-console/session.cpp b/noncore/apps/opie-console/session.cpp index 03d0fcd..c166d95 100644 --- a/noncore/apps/opie-console/session.cpp +++ b/noncore/apps/opie-console/session.cpp @@ -1,5 +1,6 @@ +#include "profile.h" #include "io_layer.h" #include "file_layer.h" #include "emulation_handler.h" @@ -42,6 +43,9 @@ QWidget* Session::widget() { return m_emu->widget(); } +Profile Session::profile()const { + return m_prof; +} /* WidgetLayer* Session::emulationWidget() { return m_widLay; @@ -91,6 +95,9 @@ void Session::setEmulationHandler( EmulationHandler* lay ) { delete m_emu; m_emu = lay; } +void Session::setProfile( const Profile& prof ) { + m_prof = prof; +} /* void Session::setEmulationWidget( WidgetLayer* lay ) { delete m_widLay; -- cgit v0.9.0.2