diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/client__api_8cpp_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/client__api_8cpp_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,52 @@ + + + + +TB9.2 Example Applications: examples/AppFramework/Apparc/ServerApplication/service_support/client_api.cpp Source File + + + + + +

examples/AppFramework/Apparc/ServerApplication/service_support/client_api.cpp

00001 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+00002 // All rights reserved.
+00003 // This component and the accompanying materials are made available
+00004 // under the terms of "Eclipse Public License v1.0"
+00005 // which accompanies this distribution, and is available
+00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
+00007 //
+00008 // Initial Contributors:
+00009 // Nokia Corporation - initial contribution.
+00010 //
+00011 // Contributors:
+00012 //
+00013 // Description:
+00014 //
+00015 
+00016 #include "client_api.h"
+00017 #include "definitions.h"
+00018 
+00019 // Constructor
+00020 EXPORT_C RServAppService::RServAppService()
+00021 {
+00022 }
+00023 
+00024 // Sends a request for service to the server side.
+00025 // The message input parameter (contained in a descriptor)
+00026 // is wrapped into a TIpcArgs type message.             
+00027 EXPORT_C TInt RServAppService::Send(const TDesC & aMessage)
+00028 {
+00029         return SendReceive(EServAppServExample,TIpcArgs(&aMessage));
+00030 }
+00031 
+00032 // Returns the UID of the service the client has requested
+00033 TUid RServAppService::ServiceUid() const
+00034 {       
+00035         return KServiceType;
+00036 }
+
+
Generated by  + +doxygen 1.6.2
+ +