diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_basic_session_8cpp-source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_basic_session_8cpp-source.html Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,48 @@ + + +TB10.1 Example Applications: examples/Base/FileServer/BasicSession/BasicSession.cpp Source File + + + + +

examples/Base/FileServer/BasicSession/BasicSession.cpp

00001 // Copyright (c) 2000-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 // This example opens the file server session, and prints 
+00015 // "Hello File Server!" to the console.
+00016 // Used as the basis of all F32 examples
+00017 // Note that no data is written.
+00018 //
+00019 
+00020 #include "CommonFramework.h"
+00021 #include <f32file.h>
+00022         
+00023 
+00024 static RFs fsSession;
+00025 
+00026 // start of real example
+00027 
+00028 static void doExampleL()
+00029     {
+00030         // open file server session
+00031         User::LeaveIfError(fsSession.Connect()); // connect session
+00032         // say hello
+00033         _LIT(KGreeting,"Hello File Server!\n");
+00034         console->Printf(KGreeting);
+00035         fsSession.Close(); // close file server session
+00036         }
+

Generated on Thu Jan 21 10:32:56 2010 for TB10.1 Example Applications by  + +doxygen 1.5.3
+ +