Kaydet (Commit) 3be1f13b authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Rename the Application_Impl class to DummyApplication

Application_Impl is a misleading name, sounds much too important, as if it was
*the* implementation of Application, used in all cases, which is not the
case.

Change-Id: I61ab7261598029429d3c745a8409400025dc4a9a
üst 4c7de23f
...@@ -190,14 +190,14 @@ int SVMain() ...@@ -190,14 +190,14 @@ int SVMain()
return ImplSVMain(); return ImplSVMain();
} }
// This variable is set, when no Application object is instantiated // This variable is set when no Application object has been instantiated
// before SVInit is called // before InitVCL is called
static Application * pOwnSvApp = NULL; static Application * pOwnSvApp = NULL;
// Exception handler. pExceptionHandler != NULL => VCL already inited // Exception handler. pExceptionHandler != NULL => VCL already inited
oslSignalHandler pExceptionHandler = NULL; oslSignalHandler pExceptionHandler = NULL;
class Application_Impl : public Application class DummyApplication : public Application
{ {
public: public:
int Main() { return EXIT_SUCCESS; }; int Main() { return EXIT_SUCCESS; };
...@@ -245,7 +245,7 @@ bool InitVCL() ...@@ -245,7 +245,7 @@ bool InitVCL()
if( !ImplGetSVData()->mpApp ) if( !ImplGetSVData()->mpApp )
{ {
pOwnSvApp = new Application_Impl(); pOwnSvApp = new DummyApplication();
} }
InitSalMain(); InitSalMain();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment