userlibandfileserver/fileserver/etshell/ts_clicomp.h
changeset 0 a41df078684a
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 1996-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\etshell\ts_clicomp.h
       
    15 // 
       
    16 //
       
    17 
       
    18 #include <e32cmn.h>
       
    19 #include <f32file.h>
       
    20 
       
    21 class CCliCompleter
       
    22 	{
       
    23 public:
       
    24 	static CCliCompleter* NewL();
       
    25 	~CCliCompleter();
       
    26 	
       
    27 	void EstablishCompletionContext(TDesC& aBuf, TUint aPos, TDes& aKnownPart);
       
    28 	TBool AttemptCompletionL(TDes& aKnownPart, RPointerArray<HBufC>& aAlternatives);
       
    29 	void DisplayAlternatives(RPointerArray<HBufC>& aAlternatives);
       
    30 
       
    31 private:
       
    32 	CCliCompleter();
       
    33 	void ConstructL();
       
    34 		
       
    35 private:
       
    36 	RFs iFs;
       
    37 	};