1 // Copyright (c) 2003-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 "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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Help Launcher module
21 #if !defined(__APGTASK_H__)
25 #if !defined(__EIKDLL_H__)
29 #if !defined(__WSERV_H__)
33 #if !defined(__COEHELP_H__)
37 /** Help application UID.
41 const TUid KHlpAppUid={ 0x10005234 };
43 /** UID of window message to send to application.
47 const TUid KHlpAppWsMsg={ 0x100055c7 };
49 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
51 /** Maximum length of command line to launch application.
55 const TInt KMaxCmdLineLength = 512;
58 _LIT(KHelpLauncherResource, "z:\\resource\\apps\\lch.rsc");
60 class CHlpCmdLine : public CBase
67 static CHlpCmdLine* NewL(CArrayFix<TCoeHelpContext>* aContextList);
68 static CHlpCmdLine* NewLC(CArrayFix<TCoeHelpContext>* aContextList);
74 void AddContextL(TCoeHelpContext& aContext);
77 CHlpCmdLine(CArrayFix<TCoeHelpContext>* aContextList);
79 CArrayFix<TCoeHelpContext>* iContextList;
83 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS
86 /** Launches the help application.
88 It assumes that such an application is at z:\\Sys\\Bin\\CsHelp.exe
95 IMPORT_C static void LaunchHelpApplicationL(RWsSession& aWsSession, CArrayFix<TCoeHelpContext>* aContextList);
96 IMPORT_C static void LaunchHelpApplicationL(RWsSession& aWsSession, TUid aUid);
97 IMPORT_C static void LaunchHelpApplicationL(RWsSession& aWsSession);
99 static void DoLaunchHelpApplicationL(RWsSession& aWsSession, const TDesC8& aCmdLine);