userlibandfileserver/fileserver/sfsrv/cl_insecure.cpp
changeset 43 96e5fb8b040d
equal deleted inserted replaced
-1:000000000000 43:96e5fb8b040d
       
     1 // Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // f32\sfsrv\cl_insecure.cpp
       
    15 // 
       
    16 //
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #include <e32std.h>
       
    22 #include <e32std_private.h>
       
    23 
       
    24 enum TClientPanic
       
    25 	{
       
    26 	EDefaultPathCalled,
       
    27 	ESetDefaultPathCalled,
       
    28 	};
       
    29 
       
    30 class RFs : public RSessionBase
       
    31 	{
       
    32 public:
       
    33 	IMPORT_C TInt DefaultPath(TDes& aPath) const;
       
    34 	IMPORT_C TInt SetDefaultPath(const TDesC& aPath);
       
    35 	};
       
    36 
       
    37 EXPORT_C TInt RFs::DefaultPath(TDes&) const 
       
    38 	{
       
    39 	User::Panic(_L("FSInsecCli panic"),EDefaultPathCalled);
       
    40 	return KErrNone;
       
    41 	}
       
    42 
       
    43 EXPORT_C TInt RFs::SetDefaultPath(const TDesC&)
       
    44 	{
       
    45 	User::Panic(_L("FSInsecCli panic"),ESetDefaultPathCalled);
       
    46 	return KErrNone;
       
    47 	}
       
    48