tizen 2.4 release
[framework/location/maps-plugin-here.git] / src / here / here_base.h
1 /*
2  * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
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 #ifndef _LOCATION_HERE_BASE_H_
18 #define _LOCATION_HERE_BASE_H_
19
20 //plug-in header
21 #include "here_utils.h"
22
23 HERE_PLUGIN_BEGIN_NAMESPACE
24
25 class HereBase
26 {
27 public:
28         /**
29          *This is the default constructor for Geocoder.
30          */
31
32         HereBase();
33
34         /**
35          *This is the default destructor for Geocoder.
36          */
37
38         virtual ~HereBase();
39
40         void TerminateService(void);
41
42         gint GetReqId(void);
43         gint GetRestReqId(void);
44
45 protected:
46         gint m_nReqId;
47         gint m_nRestReqId;
48         void* m_pCbFunc;
49         void* m_pUserData;
50         gboolean m_bCanceled;
51 };
52
53 HERE_PLUGIN_END_NAMESPACE
54
55 #endif //_LOCATION_HERE_BASE_H_
56