From: Younho Park Date: Mon, 17 Oct 2016 02:03:20 +0000 (+0900) Subject: Fixed build error X-Git-Tag: submit/trunk/20170823.075128~88^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=614c7c63115a09f9ff862914113b9231ec5df9fa;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Fixed build error Change-Id: Id3f2753d24fec32705286aa6249cc100a15fb0b3 Signed-off-by: Younho Park --- diff --git a/src/Tizen.Messaging.Push/Tizen.Messaging.Push/PushExceptionFactory.cs b/src/Tizen.Messaging.Push/Tizen.Messaging.Push/PushExceptionFactory.cs index 8e6f5b4..eab8197 100755 --- a/src/Tizen.Messaging.Push/Tizen.Messaging.Push/PushExceptionFactory.cs +++ b/src/Tizen.Messaging.Push/Tizen.Messaging.Push/PushExceptionFactory.cs @@ -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; } diff --git a/src/Tizen.Messaging.Push/Tizen.Messaging.Push/PushImpl.cs b/src/Tizen.Messaging.Push/Tizen.Messaging.Push/PushImpl.cs index 79d97d1..1c03110 100755 --- a/src/Tizen.Messaging.Push/Tizen.Messaging.Push/PushImpl.cs +++ b/src/Tizen.Messaging.Push/Tizen.Messaging.Push/PushImpl.cs @@ -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);