SUIT_Session* SUIT_Session::mySession = 0;
+/*! Constructor.*/
+
SUIT_Session::SUIT_Session()
: QObject(),
myResMgr( 0 ),
myAppList.setAutoDelete( true );
}
+/*!destructor. Clear applications list and set mySession to zero.*/
SUIT_Session::~SUIT_Session()
{
myAppList.clear();
mySession = 0;
}
+/*! \retval return mySession */
SUIT_Session* SUIT_Session::session()
{
return mySession;
}
}
+/*! \retval return myHandler*/
SUIT_ExceptionHandler* SUIT_Session::handler() const
{
return myHandler;
}
+/*! \retval return last error string.*/
QString SUIT_Session::lastError() const
{
QString str;
return str;
}
+/*! Load library to session.
+ * \retval Loaded library.
+ */
SUIT_Session::AppLib SUIT_Session::loadLibrary( const QString& name )
{
QString libFile = SUIT_Tools::library( name );
return lib;
}
+/*! \retval Return file name by application name.*/
QString SUIT_Session::applicationName( const QString& str ) const
{
#ifdef WIN32