uiutils/hlplch/inc/hlplch_internal.h
branchRCL_3
changeset 4 8ca85d2f0db7
equal deleted inserted replaced
0:2f259fa3e83a 4:8ca85d2f0db7
       
     1 /*
       
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __HLPLCH_INTERNAL_H
       
    19 #define __HLPLCH_INTERNAL_H
       
    20 
       
    21 /** Maximum length of command line to launch application. 
       
    22 @internalComponent
       
    23 @released
       
    24 */
       
    25 const TInt KMaxCmdLineLength = 512;
       
    26 
       
    27 /** resource file name
       
    28 @internalComponent
       
    29 @released
       
    30 */
       
    31 _LIT(KHelpLauncherResource, "z:\\resource\\apps\\lch.rsc");
       
    32 
       
    33 class CHlpCmdLine : public CBase
       
    34 /**
       
    35 @internalComponent
       
    36 @released
       
    37 */
       
    38 	{
       
    39 public:
       
    40 	static CHlpCmdLine* NewL(CArrayFix<TCoeHelpContext>* aContextList);
       
    41 	static CHlpCmdLine* NewLC(CArrayFix<TCoeHelpContext>* aContextList);
       
    42 	~CHlpCmdLine();
       
    43 public:
       
    44 	TPtr8 CmdLineL();
       
    45 private:
       
    46 	void BuildCmdLineL();
       
    47 	void AddContextL(TCoeHelpContext& aContext);
       
    48 private:
       
    49 	void ConstructL();
       
    50 	CHlpCmdLine(CArrayFix<TCoeHelpContext>* aContextList);
       
    51 private:
       
    52 	CArrayFix<TCoeHelpContext>* iContextList;
       
    53 	CBufFlat* iCmdLine;
       
    54 	};
       
    55 	
       
    56 #endif //__HLPLCH_INTERNAL_H