Merge "Combine Internal::ProxyObject & Internal::Object" into tizen
[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 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 #include <dali/public-api/object/property-index.h>
22
23 namespace Dali
24 {
25
26 namespace Internal
27 {
28
29 /*
30  * Specifies the allowed ranges for different class types to cater for future allocation
31  */
32
33 enum
34 {
35   DEFAULT_PROPERTY_MAX_COUNT                  = PROPERTY_REGISTRATION_START_INDEX, ///< Default Property Range:     0 to 9999999
36
37   DEFAULT_ACTOR_PROPERTY_MAX_COUNT            = 10000,                             ///< Actor Range:                0 to    9999
38   DEFAULT_RENDERABLE_ACTOR_PROPERTY_MAX_COUNT = 20000,                             ///< Renderable Actor Range: 10000 to   19999
39
40   DEFAULT_GESTURE_DETECTOR_PROPERTY_MAX_COUNT = 10000,                             ///< GestureDetector Range:      0 to    9999
41 };
42
43 } // namespace Internal
44
45 } // namespace Dali
46
47 #endif // __DALI_INTERNAL_PROPERTY_INDEX_RANGES_H__