Revert "License conversion from Flora to Apache 2.0"
[platform/core/uifw/dali-core.git] / dali / internal / event / common / property-index-ranges.h
1 #ifndef __DALI_INTERNAL_PROPERTY_INDEX_RANGES_H__
2 #define __DALI_INTERNAL_PROPERTY_INDEX_RANGES_H__
3
4 //
5 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 //
7 // Licensed under the Flora License, Version 1.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://floralicense.org/license/
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 #include <dali/public-api/object/property-index.h>
21
22 namespace Dali
23 {
24
25 namespace Internal
26 {
27
28 /*
29  * Specifies the allowed ranges for different class types to cater for future allocation
30  */
31
32 enum
33 {
34   DEFAULT_PROPERTY_MAX_COUNT                  = PROPERTY_REGISTRATION_START_INDEX, ///< Default Property Range:     0 to 9999999
35
36   DEFAULT_ACTOR_PROPERTY_MAX_COUNT            = 10000,                             ///< Actor Range:                0 to    9999
37   DEFAULT_RENDERABLE_ACTOR_PROPERTY_MAX_COUNT = 20000,                             ///< Renderable Actor Range: 10000 to   19999
38
39   DEFAULT_GESTURE_DETECTOR_PROPERTY_MAX_COUNT = 10000,                             ///< GestureDetector Range:      0 to    9999
40 };
41
42 } // namespace Internal
43
44 } // namespace Dali
45
46 #endif // __DALI_INTERNAL_PROPERTY_INDEX_RANGES_H__