1 #ifndef __DALI_APPLICATION_EXTENSIONS_H__
2 #define __DALI_APPLICATION_EXTENSIONS_H__
5 * Copyright (c) 2015 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 #include <dali/public-api/common/dali-common.h>
29 * @brief An Application extension class object should be created by DaliApplication.
31 * It provides some extension methods to DaliApplication.
34 class DALI_IMPORT_API ApplicationExtensions
39 * @brief The default constructor.
42 ApplicationExtensions();
45 * @brief The constructor accept an instance of Dali::Application.
47 * This can be initialized by new keyword.
49 ApplicationExtensions(Dali::Application* application);
55 ~ApplicationExtensions();
59 * @brief Called when the framework is initialised.
65 * @brief Called when the framework is started.
70 * @brief Called when the framework is terminated.
76 * @brief Called when the framework is paused.
82 * @brief Called when the framework resumes from a paused state.
88 * @brief Called when the framework informs the application that the language of the device has changed.
91 void LanguageChange();
94 Dali::Application* mApplication;
99 #endif // ___DALI_APPLICATION_EXTENSIONS_H__