2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FLoc_LocationRequestInfo.h
20 * @brief This is the header file for the %_LocationRequestInfo class.
22 * This header file contains the declarations of the %_LocationRequestInfo class member variables.
25 #ifndef _FLOC_INTERNAL_LOCATION_REQUEST_INFO_H_
26 #define _FLOC_INTERNAL_LOCATION_REQUEST_INFO_H_
28 #include <FBaseObject.h>
29 #include <FLocTypes.h>
31 namespace Tizen { namespace Locations
34 class _ILocationManagerListener;
36 class _LocationRequestInfo
37 : public Tizen::Base::Object
40 _LocationRequestInfo(LocationAccuracy accuracy, int interval, _ILocationManagerListener* pListener, RequestId reqId)
41 : Tizen::Base::Object()
42 , __interval(interval)
44 , __accuracy(accuracy)
45 , __pListener(pListener)
49 ~_LocationRequestInfo(void)
53 _LocationRequestInfo(const _LocationRequestInfo& rhs)
54 : Tizen::Base::Object()
55 , __interval(rhs.__interval)
56 , __reqId(rhs.__reqId)
57 , __accuracy(rhs.__accuracy)
58 , __pListener(rhs.__pListener)
62 LocationAccuracy GetAccuracy(void) const {return __accuracy;}
64 int GetInterval(void) const {return __interval;}
66 _ILocationManagerListener* GetListener(void) const {return __pListener;}
68 RequestId GetRequestId(void) const {return __reqId;}
70 void SetInterval(int interval) { __interval = interval;}
73 _LocationRequestInfo(void);
75 _LocationRequestInfo& operator =(const _LocationRequestInfo& rhs);
80 LocationAccuracy __accuracy;
81 _ILocationManagerListener* __pListener;
82 }; //_LocationRequestInfo
85 #endif // _FLOC_INTERNAL_LOCATION_REQUEST_INFO_H_