Modify codes for Dali Windows backend
[platform/core/uifw/dali-adaptor.git] / dali / internal / imaging / common / native-image-source-factory.cpp
1 /*
2  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 #include <memory>
19 #include <dali/internal/imaging/common/native-image-source-impl.h>
20
21 namespace Dali
22 {
23 namespace Internal
24 {
25 namespace Adaptor
26 {
27
28 namespace NativeImageSourceFactory
29 {
30
31 /**
32  * Dummy implementation
33  * @param width
34  * @param height
35  * @param depth
36  * @param nativeImageSource
37  * @return
38  */
39 __attribute__((weak))
40 std::unique_ptr<Dali::Internal::Adaptor::NativeImageSource> New(unsigned int width,
41                                        unsigned int height,
42                                        Dali::NativeImageSource::ColorDepth depth,
43                                        Any nativeImageSource)
44 {
45   return std::unique_ptr<NativeImageSource>(nullptr);
46 }
47
48 }
49
50 } // Adaptor
51
52 } // Internal
53
54 } // Dali