Remove the wearable definition in Makefile.am
[platform/core/uifw/dali-adaptor.git] / adaptors / emscripten / wrappers / property-buffer-wrapper.h
1 #ifndef DALI_PROPERTYBUFFER_WRAPPER_H
2 #define DALI_PROPERTYBUFFER_WRAPPER_H
3
4 /*
5  * Copyright (c) 2016 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 // EXTERNAL INCLUDES
22 #include <dali/public-api/dali-core.h>
23 #include <dali/public-api/rendering/property-buffer.h>
24 #include "emscripten/emscripten.h"
25 #include "emscripten/val.h"
26 #include "emscripten/bind.h"
27
28 // INTERNAL INCLUDES
29
30 namespace Dali
31 {
32 namespace Internal
33 {
34 namespace Emscripten
35 {
36
37 /**
38  * Sets a property buffer from raw data
39  *
40  * @param[in] self The PropertyBuffer
41  * @param[in] data The raw byte data
42  *
43  */
44 void SetPropertyBufferDataRaw(Dali::PropertyBuffer& self, const std::string& data, std::size_t size );
45
46 }; // namespace Emscripten
47 }; // namespace Internal
48 }; // namespace Dali
49
50 #endif // DALI_PROPERTYBUFFER_WRAPPER_H