myResMgr( 0 ),
myHandler( 0 ),
myActiveApp( 0 ),
-myExitStatus( FROM_GUI )
+myExitStatus( FROM_GUI ),
+myServersShutdown ( true )
{
SUIT_ASSERT( !mySession )
}
}
+/*!
+ Set a flag to shutdown or not standalone servers at exit of application.
+*/
+void SUIT_Session::serversShutdown( bool theVal )
+{
+ myServersShutdown = theVal;
+}
+
+/*!
+ \retval Return TRUE, if standalone servers will be shutdown at exit of application,
+ FALSE otherwise.
+*/
+bool SUIT_Session::isServersShutdown() const
+{
+ return myServersShutdown;
+}
+
/*! \retval return myHandler*/
SUIT_ExceptionHandler* SUIT_Session::handler() const
{
SUIT_ResourceMgr* resourceMgr() const;
void closeSession( int mode = ASK );
+ void serversShutdown( bool theVal );
+ bool isServersShutdown() const;
SUIT_ExceptionHandler* handler() const;
static SUIT_Session* mySession;
int myExitStatus;
+ bool myServersShutdown;
};
#endif