|
|
|
@ -88,6 +88,8 @@ namespace NLMISC
|
|
|
|
|
virtual void setNoAssert(bool noAssert) =0;
|
|
|
|
|
virtual bool getAlreadyCreateSharedAmongThreads() =0;
|
|
|
|
|
virtual void setAlreadyCreateSharedAmongThreads(bool b) =0;
|
|
|
|
|
virtual bool isWindowedApplication() = 0;
|
|
|
|
|
virtual void setWindowedApplication(bool b = true) = 0;
|
|
|
|
|
//@}
|
|
|
|
|
protected:
|
|
|
|
|
/// Called by derived class to finalize initialisation of context
|
|
|
|
@ -131,6 +133,8 @@ namespace NLMISC
|
|
|
|
|
virtual void setNoAssert(bool noAssert);
|
|
|
|
|
virtual bool getAlreadyCreateSharedAmongThreads();
|
|
|
|
|
virtual void setAlreadyCreateSharedAmongThreads(bool b);
|
|
|
|
|
virtual bool isWindowedApplication();
|
|
|
|
|
virtual void setWindowedApplication(bool b);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
/// Singleton registry
|
|
|
|
@ -147,6 +151,7 @@ namespace NLMISC
|
|
|
|
|
bool DebugNeedAssert;
|
|
|
|
|
bool NoAssert;
|
|
|
|
|
bool AlreadyCreateSharedAmongThreads;
|
|
|
|
|
bool WindowedApplication;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/** This class implements the context interface for the a library module.
|
|
|
|
@ -183,6 +188,8 @@ namespace NLMISC
|
|
|
|
|
virtual void setNoAssert(bool noAssert);
|
|
|
|
|
virtual bool getAlreadyCreateSharedAmongThreads();
|
|
|
|
|
virtual void setAlreadyCreateSharedAmongThreads(bool b);
|
|
|
|
|
virtual bool isWindowedApplication();
|
|
|
|
|
virtual void setWindowedApplication(bool b);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
/// Pointer to the application context.
|
|
|
|
|