1 #ifndef __DALI_CSHARP_TYPE_INFO_H__
2 #define __DALI_CSHARP_TYPE_INFO_H__
5 * Copyright (c) 2016 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/object/base-object.h>
23 #include <dali/public-api/object/property-value.h>
28 namespace CSharpTypeInfo
31 typedef BaseHandle* (*CreateFunction)(); ///< Function signature for creating an instance of the associated object type
34 * @brief Callback to set an event-thread only property.
36 * @param[in] object The object whose property should be set.
37 * @param[in] index The index of the property being set.
38 * @param[in] value The new value of the property for the object specified.
39 * @see PropertyRegistration.
41 typedef void (*SetPropertyFunction)( BaseObject* object, Property::Index* index, Property::Value* value );
45 * @brief Callback to get the value of an event-thread only property.
47 * @param[in] object The object whose property value is required.
48 * @param[in] index The index of the property required.
49 * @return The current value of the property for the object specified.
50 * @see PropertyRegistration.
52 typedef Property::Value* (*GetPropertyFunction)( BaseObject* object, Property::Index* index );
58 #endif // __DALI_CSHARP_INFO_H__