Fixed build error
authorYounho Park <younho.park@samsung.com>
Mon, 17 Oct 2016 02:03:20 +0000 (11:03 +0900)
committerYounho Park <younho.park@samsung.com>
Mon, 17 Oct 2016 02:03:20 +0000 (11:03 +0900)
Change-Id: Id3f2753d24fec32705286aa6249cc100a15fb0b3
Signed-off-by: Younho Park <younho.park@samsung.com>
src/Tizen.Messaging.Push/Tizen.Messaging.Push/PushExceptionFactory.cs
src/Tizen.Messaging.Push/Tizen.Messaging.Push/PushImpl.cs

index 8e6f5b4..eab8197 100755 (executable)
@@ -14,43 +14,43 @@ namespace Tizen.Messaging.Push
             {
                 case Interop.PushClient.ServiceError.OutOfMemory:
                 {
-                    Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.Push.ServiceError.OutOfMemory");
+                    Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.PushClient.ServiceError.OutOfMemory");
                     exp = new InvalidOperationException("Memory Not Sufficient for the current operation");
                     break;
                 }
                 case Interop.PushClient.ServiceError.InvalidParameter:
                 {
-                    Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.Push.ServiceError.InvalidParameter");
+                    Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.PushClient.ServiceError.InvalidParameter");
                     exp = new InvalidOperationException("The Parameter Passed was Invalid or Invalid Operation Intented");
                     break;
                 }
                 case Interop.PushClient.ServiceError.NotConnected:
                 {
-                    Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.Push.ServiceError.NotConnected");
+                    Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.PushClient.ServiceError.NotConnected");
                     exp = new InvalidOperationException("Not Connected to Server");
                     break;
                 }
                 case Interop.PushClient.ServiceError.NoData:
                 {
-                    Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.Push.ServiceError.NoData");
+                    Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.PushClient.ServiceError.NoData");
                     exp = new InvalidOperationException("No Data");
                     break;
                 }
                 case Interop.PushClient.ServiceError.OpearationFailed:
                 {
-                    Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.Push.ServiceError.OpearationFailed");
+                    Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.PushClient.ServiceError.OpearationFailed");
                     exp = new InvalidOperationException("Operation Failed");
                     break;
                 }
                 case Interop.PushClient.ServiceError.PermissionDenied:
                 {
-                    Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.Push.ServiceError.PermissionDenied");
+                    Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.PushClient.ServiceError.PermissionDenied");
                     exp = new InvalidOperationException("Permission Denied");
                     break;
                 }
                 case Interop.PushClient.ServiceError.NotSupported:
                 {
-                    Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.Push.ServiceError.NotSupported");
+                    Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.PushClient.ServiceError.NotSupported");
                     exp = new InvalidOperationException("Not Supported");
                     break;
                 }
index 79d97d1..1c03110 100755 (executable)
@@ -45,7 +45,7 @@ namespace Tizen.Messaging.Push
                 PushConnectionStateEventArgs args = new PushConnectionStateEventArgs((PushConnectionStateEventArgs.PushState)state, err);
                 PushClient.StateChange(args);
             };
-            Interop.Push.VoidNotifyCallback notifyDelegate = (IntPtr notification, IntPtr userData) =>
+            Interop.PushClient.VoidNotifyCallback notifyDelegate = (IntPtr notification, IntPtr userData) =>
             {
                 Interop.PushClient.ServiceError result;
                 PushMessageEventArgs ob = new PushMessageEventArgs();
@@ -120,10 +120,10 @@ namespace Tizen.Messaging.Push
                     ob.Type = type;
                 }
                 PushClient.Notify(ob);
-                //Interop.Push.FreeNotification(notification);
+                //Interop.PushClient.FreeNotification(notification);
                 Log.Info(Interop.PushClient.LogTag, "Free Notification Done");
             };
-            Interop.PushClient.ServiceError connectResult = Interop.Push.ServiceConnect(pushAppId, stateDelegate, notifyDelegate, IntPtr.Zero, out _connection);
+            Interop.PushClient.ServiceError connectResult = Interop.PushClient.ServiceConnect(pushAppId, stateDelegate, notifyDelegate, IntPtr.Zero, out _connection);
             if (connectResult != Interop.PushClient.ServiceError.None)
             {
                 Log.Error(Interop.PushClient.LogTag, "Connect failed with " + connectResult);
@@ -158,7 +158,7 @@ namespace Tizen.Messaging.Push
                 }
             };
             Interop.PushClient.ServiceError result = Interop.PushClient.ServiceRegister(_connection, registerResult, IntPtr.Zero);
-            Log.Info(Interop.PushClient.LogTag, "Interop.Push.ServiceRegister Completed");
+            Log.Info(Interop.PushClient.LogTag, "Interop.PushClient.ServiceRegister Completed");
             if (result != Interop.PushClient.ServiceError.None)
             {
                 Log.Error(Interop.PushClient.LogTag, "Register failed with " + result);