973b4deb809dc68172c0ca2ca4a56d471db357c2
[platform/core/api/maps-service.git] / src / view / overlay_constructor.h
1 /* Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15
16 #ifndef __MAPS_VIEW_OVERLAY_CONSTRUCTOR_H__
17 #define __MAPS_VIEW_OVERLAY_CONSTRUCTOR_H__
18
19 #include "maps_error.h"
20 #include "maps_view_object.h"
21
22 namespace view
23 {
24         class overlay_constructor {
25         private:
26                 int __error;
27         public:
28                 overlay_constructor()
29                         : __error(MAPS_ERROR_NONE)
30                 {
31                 }
32         public:
33                 maps_view_object_h construct(maps_coordinates_h coordinates, Evas_Object *object, maps_view_overlay_type_e type);
34                 int get_error() const
35                 {
36                         return __error;
37                 }
38         };
39 };
40
41 #endif                          /* __MAPS_VIEW_overlay_constructor_H__ */