diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_basic_session_8cpp-source.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_basic_session_8cpp-source.html Tue Mar 30 11:56:28 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,48 +0,0 @@ - -
-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 } -