Add LCOV remarkers to increase line coverage rate
[platform/core/api/maps-service.git] / src / view / marker_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_MARKER_CONSTRUCTOR_H__
17 #define __MAPS_VIEW_MARKER_CONSTRUCTOR_H__
18
19 #include "maps_error.h"
20 #include "maps_view_object.h"
21
22 //LCOV_EXCL_START
23 namespace view
24 {
25         class marker_constructor {
26         private:
27                 int __error;
28         public:
29                 marker_constructor()
30                         : __error(MAPS_ERROR_NONE)
31                 {
32                 }
33         public:
34                 maps_view_object_h construct(maps_coordinates_h coordinates,
35                                        const char *image_file_path,
36                                        maps_view_marker_type_e type);
37                 int get_error() const
38                 {
39                         return __error;
40                 }
41         };
42 };
43 //LCOV_EXCL_STOP
44
45 #endif                          /* __MAPS_VIEW_MARKER_CONSTRUCTOR_H__ */