diff -r 0d1adf67ec1b -r 12f60d9a73b3 csxhelp/HelpEngine/inc/csxhconstants.h --- a/csxhelp/HelpEngine/inc/csxhconstants.h Thu Aug 19 09:42:56 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,188 +0,0 @@ -/* -* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: This file Contains Constants -* -*/ - - -_LIT(KEmptyString,""); -_LIT(KFwdSlash,"\\"); -_LIT(KBackSlash,"/"); -_LIT(KTabSpace,"\t"); -_LIT(KHexPrefix,"0x"); -_LIT(KZero,"0"); -_LIT(KZipFileExtn,".zip"); -_LIT(KHtmlFileExtn,".html"); -_LIT(KContentZipFile,"contents.zip"); -_LIT(KCsstext_First,"\n"); - -#ifdef FF_HELP_TUTORIAL_MERGE -_LIT(KTutorialFileExtn,".tut"); -#endif // FF_HELP_TUTORIAL_MERGE -#ifndef __SERIES60_30__ -_LIT(KFileUrlPrefix,"file:///"); -const TInt KFileUrlPrefixLength = 8; -#else -_LIT(KFileUrlPrefix,"file://"); -const TInt KFileUrlPrefixLength = 7; -#endif - -const TInt KHexPrefixLength = 2; -const TInt KHexUidLength = 8; -const TInt KOffsetFromUidToContext = 11; - -const TInt KHighestPriority = 1; -const TInt KLowestPriority = 20000; - -const TInt KMaxContextName = 30; - -//xhtml folder name -//#define qtn_app_xhtml_folder_text ":\\resource\\xhtml\\" -_LIT(KXhtmlFolder,":\\resource\\xhtml\\"); - -//masterkeywords.xml file name -_LIT(KMasterKywdFile,"keywords.xml"); - -//mastermeta.xml file name -_LIT(KMasterMetaFile,"index.xml"); - -//redirect.xml file name -_LIT(KRedirectFile,"redirect.xml"); - -//meta.xml file name -//#define qtn_app_meta_file_text "meta.xml" -_LIT(KMetaFile,"meta.xml"); - -//index.xml file name -//#define qtn_app_index_file_text "index.xml" -_LIT(KIndexFile,"index.xml"); - -_LIT(KRomAppUidFile, "appuid.dat"); -//Application name tag in meta.xml -//#define qtn_app_application_name_tag_text "title" -_LIT(KAppNameTag,"title"); - -_LIT(KPriorityTag, "priority"); - -_LIT(KFromTag, "from"); - -_LIT(KToTag, "to"); - -// toc1 drive information in master index.xml -// -_LIT( KDriveInfo, "drive"); - -// toc1 tag in master index.xml -// -_LIT( KAppFeatureIDTag,"FeatureID" ); - -//toc2title tag in index.xml -//#define qtn_app_toc2title_name_tag_text "navtitle" -_LIT(KTOC2NameTag,"navtitle"); - -//html page tag in index.xml -//#define qtn_app_htmlpage_name_tag_text "href" -_LIT(KHtmlPageTag,"href"); - -//#define qtn_app_compress_name_tag_text "compressed" -_LIT(KCompressedTag,"compressed"); - -//#define qtn_app_compress_name_tag_value_text "true" -_LIT(KCompressedTagText,"true"); - -//#define qtn_app_searchview_toc1title_tag_text "text" -_LIT(KSearchViewTOC1Tag,"text"); -//#define qtn_app_searchview_toc2title_tag_text "target" -_LIT(KSearchViewTOC2Tag,"target"); -//#define qtn_app_kywd_file_text "keywords.xml" -_LIT(KKeywordsFile,"keywords.xml"); - -_LIT(KMasterSearchTag,"keyword"); - -_LIT(KMasterCollectionTag,"collection"); - -_LIT(KMasterCollection_idTag,"id"); - -// Begin runtime indexing schema - -const TInt KMaxIndexEntryExclude = 200; - -const TInt KMaxUidLength = 10; - -// sis install path -// -//_LIT( KInstallPath, "?:\\data\\"); -_LIT( KInstallPath, ":\\resource\\xhtml\\"); - -// initial file's name -// -_LIT( KInitFileName, "helpinit.txt" ); - -// Index.xml version and encoding information -// -_LIT8( KIndexXMLVesion, "\r\n" ); - -// Collection ends -// -_LIT8( KIndexCollectEnd, "" ); - -// Begin of collection entry -// -_LIT8( KIndexXMLEntryBegin, " \r\n"); - -// Prefix of quotation mark -// -_LIT8( KIndexQuoteBegin, "=\""); - -// appendix of quotation mark -// -_LIT8( KIndexQuoteEnd, "\" "); - - -_LIT( KMasterMetaTmpFile,"tmp.xml" );