GeolocationServiceEfl.cpp [plain text]
#include "config.h"
#include "GeolocationServiceEfl.h"
#if ENABLE(GEOLOCATION)
#include "NotImplemented.h"
#include "PositionOptions.h"
#include <wtf/text/CString.h>
namespace WebCore {
GeolocationService::FactoryFunction* GeolocationService::s_factoryFunction = &GeolocationServiceEfl::create;
PassOwnPtr<GeolocationService> GeolocationServiceEfl::create(GeolocationServiceClient* client)
{
return new GeolocationServiceEfl(client);
}
GeolocationServiceEfl::GeolocationServiceEfl(GeolocationServiceClient* client)
: GeolocationService(client)
{
}
GeolocationServiceEfl::~GeolocationServiceEfl()
{
notImplemented();
}
bool GeolocationServiceEfl::startUpdating(PositionOptions* options)
{
notImplemented();
return false;
}
void GeolocationServiceEfl::stopUpdating()
{
notImplemented();
}
void GeolocationServiceEfl::suspend()
{
notImplemented();
}
void GeolocationServiceEfl::resume()
{
notImplemented();
}
Geoposition* GeolocationServiceEfl::lastPosition() const
{
return m_lastPosition.get();
}
PositionError* GeolocationServiceEfl::lastError() const
{
return m_lastError.get();
}
}
#endif // ENABLE(GEOLOCATION)