Remove unnecessary methods
authorSunwook Bae <sunwook45.bae@samsung.com>
Fri, 22 Mar 2013 05:42:47 +0000 (14:42 +0900)
committerSunwook Bae <sunwook45.bae@samsung.com>
Fri, 22 Mar 2013 05:42:47 +0000 (14:42 +0900)
Change-Id: I2ed3ed60a24995103679ca2c2b0cb0bf3bf033ad
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
inc/IpcServer.h
src/IpcServer.cpp

index e40b335..c1ea1cc 100644 (file)
@@ -88,30 +88,6 @@ public:
        int GetClientId(void) const;
 
        /**
-        * Returns the process id of the client which sent a request message.
-        *
-        * @return The process id of the IPC client.
-        * @remark This can be called only in a message handler.
-        */
-       int GetClientProcessId(void) const;
-
-       /**
-        * Returns the package id of the client which sent a request message.
-        *
-        * @return The package id of the IPC client.
-        * @remark This can be called only in a message handler.
-        */
-       Tizen::Base::String GetClientAppId(void) const;
-
-       /**
-        * Returns the executable name of the client which sent a request message.
-        *
-        * @return The executable name of the IPC client.
-        * @remark This can be called only in a message handler.
-        */
-       Tizen::Base::String GetClientAppExecutableName(void) const;
-
-       /**
         * Returns the application id of the client which sent a request message.
         *
         * @return The application id of the IPC client.
index 5c19df2..d5eab4c 100644 (file)
@@ -381,17 +381,6 @@ CATCH:
 }
 
 int
-IpcServer::GetClientId(void) const
-{
-       if (__pCurrentClientInfo)
-       {
-               return __pCurrentClientInfo->clientId;
-       }
-
-       return -1;
-}
-
-int
 IpcServer::GetClientProcessId(void) const
 {
        if (__pCurrentClientInfo)
@@ -402,32 +391,6 @@ IpcServer::GetClientProcessId(void) const
        return -1;
 }
 
-String
-IpcServer::GetClientAppId(void) const
-{
-       static String nullString;
-
-       if (__pCurrentClientInfo)
-       {
-               return __pCurrentClientInfo->appId;
-       }
-
-       return nullString;
-}
-
-String
-IpcServer::GetClientAppExecutableName(void) const
-{
-       static String nullString;
-
-       //if (__pCurrentClientInfo)
-       {
-               //return __pCurrentClientInfo->appExecutableName;
-       }
-
-       return nullString;
-}
-
 AppId
 IpcServer::GetClientApplicationId(void) const
 {