X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fadaptor%2Fcommon%2Fapplication-impl.h;h=82826cde5dcb9b364ebc95e59b37c50953a060fa;hb=5f6ec1d800c08c7eac93932921884ebf7eacf1c2;hp=f7097aea88b7505141ef462a8481a35fb9b0da63;hpb=eee17dfba4a882775bdf44f7fe05c29ba89377e1;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/adaptor/common/application-impl.h b/dali/internal/adaptor/common/application-impl.h index f7097ae..82826cd 100755 --- a/dali/internal/adaptor/common/application-impl.h +++ b/dali/internal/adaptor/common/application-impl.h @@ -24,10 +24,9 @@ // INTERNAL INCLUDES #include -#include +#include #include -#include #include #include @@ -234,6 +233,16 @@ public: // From Framework::Observer */ virtual void OnMemoryLow( Dali::DeviceStatus::Memory::Status status ); + /** + * Called when the framework informs the application that the platform surface is created. + */ + virtual void OnSurfaceCreated( Any newSurface ); + + /** + * Called when the framework informs the application that the platform surface is destroyed. + */ + virtual void OnSurfaceDestroyed( Any newSurface ); + public: /** @@ -249,6 +258,14 @@ public: */ void SetStyleSheet( const std::string& stylesheet ); + /** + * Sets a command line options. + * This is used in case of the preinitialized application. + * @param[in] argc A pointer to the number of arguments + * @param[in] argv A pointer to the argument list + */ + void SetCommandLineOptions( int* argc, char **argv[] ); + public: // Signals /** @@ -381,7 +398,6 @@ private: Dali::Configuration::ContextLoss mContextLossConfiguration; CommandLineOptions* mCommandLineOptions; - Dali::SingletonService mSingletonService; Dali::Internal::Adaptor::AdaptorBuilder* mAdaptorBuilder; ///< The adaptor builder Dali::Adaptor* mAdaptor; @@ -391,6 +407,8 @@ private: Dali::Application::WINDOW_MODE mMainWindowMode; ///< Window mode of the main window std::string mMainWindowName; ///< Name of the main window as obtained from environment options + bool mMainWindowReplaced; ///< Whether the main window has been replaced + std::string mStylesheet; EnvironmentOptions mEnvironmentOptions; PositionSize mWindowPositionSize;