// BAUTILS.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

// Started by DWW, November 1995
// BAFL utilities static class
//

#if !defined(__BAUTILS_H__)
#define __BAUTILS_H__

#if !defined(__E32STD_H__)
#include <e32std.h>
#endif

const TUint KBaflCharTruncation=0x85; // '…';

class RFs;
class BaflUtils
	{
public:
	IMPORT_C static void CopyWithTruncation(TDes& aDest,const TDesC& aSrc,TChar aTruncationSymbol=KBaflCharTruncation);
	IMPORT_C static TBool FileExists(const RFs& aFs,const TDesC& aFileName);
	IMPORT_C static void EnsurePathExistsL(RFs& aFs,const TDesC& aFileName);
	IMPORT_C static TPtrC ExtractAppNameFromFullName(const TFullName &aName);
	IMPORT_C static void NearestLanguageFile(const RFs& aFs,TFileName& aName);
	};

#endif
