12f5256a9d86b0437ddf199c150c4b9a67908447
[platform/core/uifw/dali-adaptor.git] / adaptors / devel-api / adaptor-framework / application-devel.h
1 #ifndef DALI_APPLICATION_DEVEL_H
2 #define DALI_APPLICATION_DEVEL_H
3
4 /*
5  * Copyright (c) 2017 Samsung Electronics Co., Ltd.
6  *
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
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
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.
18  *
19  */
20
21 // INTERNAL INCLUDES
22 #ifdef DALI_ADAPTOR_COMPILATION  // full path doesn't exist until adaptor is installed so we have to use relative
23 #include <application.h>
24 #else
25 #include <dali/public-api/adaptor-framework/application.h>
26 #endif
27
28 namespace Dali
29 {
30
31 namespace DevelApplication
32 {
33 /**
34  * @brief This is used to improve application launch performance.
35  * It preloads so files, initializes some functions in advance and makes a window in advance.
36  *
37  * @param[in,out]  argc         A pointer to the number of arguments
38  * @param[in,out]  argv         A pointer to the argument list
39  */
40 DALI_IMPORT_API void PreInitialize( int* argc, char** argv[] );
41
42 } // namespace DevelApplication
43
44 } // namespace Dali
45
46 #endif // DALI_APPLICATION_DEVEL_H