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_LocProviderEventArg.h
20 * @brief This is the header file for the %_LocProviderEventArg class.
22 * This header file contains the declarations of the %_LocProviderEventArg class member variables.
25 #ifndef _FLOC_INTERNAL_LOC_PROVIDER_EVENT_ARG_H_
26 #define _FLOC_INTERNAL_LOC_PROVIDER_EVENT_ARG_H_
28 #include <FBaseObject.h>
29 #include <FBaseRtIEventArg.h>
30 #include <FLocTypes.h>
32 namespace Tizen { namespace Locations
37 enum _LocProviderEventType
39 _LOC_PRV_EVENT_SEND_LOC,
40 _LOC_PRV_EVENT_SEND_LOC_SVC_CB,
41 _LOC_PRV_EVENT_SEND_MONITOR_SVC_CB,
44 class _LocProviderEventArg
45 : public Tizen::Base::Object
46 , public Tizen::Base::Runtime::IEventArg
49 _LocProviderEventArg(void)
50 : Tizen::Base::Object()
55 virtual ~_LocProviderEventArg(void)
60 void SetLocation(Location* pLocation)
66 __pLocation = pLocation;
69 Location* GetLocationN(void)
71 Location* pLocation = __pLocation;
76 void SetLocServiceStatus(LocationServiceStatus locSvcStatus)
78 __locSvcStatus = locSvcStatus;
81 LocationServiceStatus GetLocServiceStatus(void)
83 return __locSvcStatus;
86 void SetEventType(_LocProviderEventType eventType)
88 __locProvEventType = eventType;
91 _LocProviderEventType GetEventType(void)
93 return __locProvEventType;
96 void SetRequestId(RequestId reqId)
101 RequestId GetRequestId(void)
107 _LocProviderEventArg(const _LocProviderEventArg& rhs);
109 _LocProviderEventArg& operator =(const _LocProviderEventArg& rhs);
112 LocationServiceStatus __locSvcStatus;
113 _LocProviderEventType __locProvEventType;
114 Location* __pLocation;
116 }; // class _LocProviderEventArg
119 #endif //_FLOC_INTERNAL_LOC_PROVIDER_EVENT_ARG_H_