Support for the macOS platform
[platform/core/uifw/dali-adaptor.git] / dali / internal / imaging / macos / native-image-source-factory-mac.h
1 #pragma once
2
3 /*
4  * Copyright (c) 2018 Samsung Electronics Co., Ltd.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19
20 // INTERNAL INCLUDES
21 #include <dali/internal/imaging/common/native-image-source-factory.h>
22
23 namespace Dali::Internal::Adaptor
24 {
25
26 class NativeImageSourceFactoryCocoa : public NativeImageSourceFactory
27 {
28 public:
29   std::unique_ptr< NativeImageSource > CreateNativeImageSource(
30     unsigned int width,
31     unsigned int height,
32     Dali::NativeImageSource::ColorDepth depth,
33     Any nativeImageSource
34   ) override;
35
36   std::unique_ptr< NativeImageSourceQueue > CreateNativeImageSourceQueue(
37     unsigned int width,
38     unsigned int height,
39     Dali::NativeImageSourceQueue::ColorDepth depth,
40     Any nativeImageSourceQueue
41   ) override;
42 };
43
44 } // Dali::Internal::Adaptor