1 #ifndef DALI_PROPERTYBUFFER_WRAPPER_H
2 #define DALI_PROPERTYBUFFER_WRAPPER_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/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"
38 * Sets a property buffer from raw data
40 * @param[in] self The PropertyBuffer
41 * @param[in] data The raw byte data
44 void SetPropertyBufferDataRaw(Dali::PropertyBuffer& self, const std::string& data, std::size_t size );
46 }; // namespace Emscripten
47 }; // namespace Internal
50 #endif // DALI_PROPERTYBUFFER_WRAPPER_H