Main Page
Class List
Class Index
Class Hierarchy
Class Members
All
Classes
Functions
Variables
Typedefs
Friends
Pages
Api
ILocationManager.h
1
//------------------------------------------------------------------------------
2
//
3
// Copyright (c) 2012 Glympse Inc. All rights reserved.
4
//
5
//------------------------------------------------------------------------------
6
7
#ifndef ILOCATIONMANAGER_H__GLYMPSE__
8
#define ILOCATIONMANAGER_H__GLYMPSE__
9
10
namespace
Glympse
11
{
12
16
/*O*public**/
struct
ILocationManager
:
public
IEventSink
17
{
21
public
:
virtual
GLocation
getLocation
() = 0;
22
48
public
:
virtual
int32
startLocation
() = 0;
49
63
public
:
virtual
int32
stopLocation
(
bool
forced) = 0;
64
68
public
:
virtual
void
setLocationProvider
(
const
GLocationProvider
& locationProvider) = 0;
69
73
public
:
virtual
void
setProximityProvider
(
const
GProximityProvider
& proximityProvider) = 0;
74
79
public
:
virtual
int32
getLocationState
() = 0;
80
86
public
:
virtual
void
enableProfiles
(
bool
enable) = 0;
87
91
public
:
virtual
bool
areProfilesEnabled
() = 0;
92
104
public
:
virtual
bool
updateProfile
(
const
GLocationProfile
& profile) = 0;
105
111
public
:
virtual
GLocationProfile
getCurrentProfile
() = 0;
112
119
public
:
virtual
GLocationProfile
getProfile
(
int
profileId) = 0;
120
129
public
:
virtual
void
enableFiltering
(
bool
enable) = 0;
130
134
public
:
virtual
bool
isFilteringEnabled
() = 0;
135
142
public
:
virtual
void
handleGeofence
(
const
GString
& regionId, int32 transition) = 0;
143
};
144
145
/*C*/
typedef
O< ILocationManager >
GLocationManager
;
146
147
}
148
149
#endif // !ILOCATIONMANAGER_H__GLYMPSE__
Generated on Tue Jun 26 2018 08:46:46 by
1.8.4