Source code formating unification
[platform/framework/web/wrt-plugins-common.git] / src / modules / tizen / DEPRACATED / Geolocation / Geolocation.cpp
index 53a94c2..41fb02c 100644 (file)
@@ -30,10 +30,10 @@ namespace Platform {
 namespace Geolocation {
 namespace {
 static void positionChangedCallback(LocationObject *obj,
-        guint type,
-        gpointer data,
-        gpointer accuracy,
-        Geolocation* this_)
+                                    guint type,
+                                    gpointer data,
+                                    gpointer accuracy,
+                                    Geolocation* this_)
 {
     if (this_) {
         this_->positionHasChanged(obj, type, data, accuracy);
@@ -108,9 +108,9 @@ void Geolocation::OnRequestReceived(const EventGetCurrentPositionPtr& event)
 }
 
 long Geolocation::watchPosition(const EventPositionChangedEmitterPtr& emitter,
-        long timeout,
-        long maximumAge,
-        bool highAccuracy)
+                                long timeout,
+                                long maximumAge,
+                                bool highAccuracy)
 {
     initialize();
     m_positionEmitters.attach(emitter);
@@ -123,9 +123,9 @@ void Geolocation::clearWatch(EventPositionChangedEmitter::IdType id)
 }
 
 void Geolocation::positionHasChanged(LocationObject *obj,
-        guint type,
-        gpointer data,
-        gpointer accuracy)
+                                     guint type,
+                                     gpointer data,
+                                     gpointer accuracy)
 {
     LogDebug("Enter");
     if (POSITION_UPDATED != type) {
@@ -208,7 +208,9 @@ void Geolocation::start()
         return;
     }
 
-    m_location = location_new(convertMethodToPlatform(m_currentLocationMethod)); //may return NULL
+    //may return NULL
+    m_location = location_new(convertMethodToPlatform(m_currentLocationMethod));
+
     if (NULL == m_location) {
         ThrowMsg(Commons::PlatformException,
                  "Couldn't create new location object.");