Add features to download images over http protocol.
[platform/core/uifw/dali-adaptor.git] / platform-abstractions / slp / resource-loader / resource-thread-distance-field.h
1 #ifndef __DALI_SLP_PLATFORM_RESOURCE_THREAD_DISTANCE_FIELD_H__
2 #define __DALI_SLP_PLATFORM_RESOURCE_THREAD_DISTANCE_FIELD_H__
3
4 /*
5  * Copyright (c) 2014 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 #include <dali/integration-api/resource-cache.h>
22
23 #include "resource-thread-base.h"
24
25 namespace Dali
26 {
27
28 namespace Integration
29 {
30 namespace Log
31 {
32 class Filter;
33 }
34 }
35
36 namespace SlpPlatform
37 {
38
39 class ResourceThreadDistanceField : public ResourceThreadBase
40 {
41 public:
42   /**
43    * Constructor
44    * @param[in] resourceLoader A reference to the ResourceLoader
45    */
46   ResourceThreadDistanceField(ResourceLoader& resourceLoader);
47
48   /**
49    * Destructor
50    */
51   virtual ~ResourceThreadDistanceField();
52
53 private:
54   /**
55    * @copydoc ResourceThreadBase::Load
56    */
57   virtual void Load(const Integration::ResourceRequest& request);
58
59   /**
60    *@copydoc ResourceThreadBase::Save
61    */
62   virtual void Save(const Integration::ResourceRequest& request);
63
64 }; // class ResourceThreadDistanceField
65
66 } // namespace SlpPlatform
67
68 } // namespace Dali
69
70 #endif // __DALI_SLP_PLATFORM_RESOURCE_THREAD_IMAGE_H__