1.1 --- a/epoc32/include/hlplch.h Tue Mar 16 16:12:26 2010 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,98 +0,0 @@
1.4 -// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 -// All rights reserved.
1.6 -// This component and the accompanying materials are made available
1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.8 -// which accompanies this distribution, and is available
1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 -//
1.11 -// Initial Contributors:
1.12 -// Nokia Corporation - initial contribution.
1.13 -//
1.14 -// Contributors:
1.15 -//
1.16 -// Description:
1.17 -// Help Launcher module
1.18 -//
1.19 -//
1.20 -
1.21 -#ifndef __HLPLCH_H__
1.22 -#define __HLPLCH_H__
1.23 -
1.24 -#if !defined(__APGTASK_H__)
1.25 -#include <apgtask.h>
1.26 -#endif
1.27 -
1.28 -#if !defined(__EIKDLL_H__)
1.29 -#include <eikdll.h>
1.30 -#endif
1.31 -
1.32 -#if !defined(__WSERV_H__)
1.33 -#include <w32std.h>
1.34 -#endif
1.35 -
1.36 -#if !defined(__COEHELP_H__)
1.37 -#include <coehelp.h>
1.38 -#endif
1.39 -
1.40 -/** Help application UID.
1.41 -@internalComponent
1.42 -@released
1.43 -*/
1.44 -const TUid KHlpAppUid={ 0x10005234 };
1.45 -
1.46 -/** UID of window message to send to application.
1.47 -@internalComponent
1.48 -@released
1.49 -*/
1.50 -const TUid KHlpAppWsMsg={ 0x100055c7 };
1.51 -
1.52 -/** Maximum length of command line to launch application.
1.53 -@internalComponent
1.54 -@released
1.55 -*/
1.56 -const TInt KMaxCmdLineLength = 512;
1.57 -
1.58 -// resource file name
1.59 -_LIT(KHelpLauncherResource, "z:\\resource\\apps\\lch.rsc");
1.60 -
1.61 -class CHlpCmdLine : public CBase
1.62 -/**
1.63 -@internalComponent
1.64 -@released
1.65 -*/
1.66 - {
1.67 -public:
1.68 - static CHlpCmdLine* NewL(CArrayFix<TCoeHelpContext>* aContextList);
1.69 - static CHlpCmdLine* NewLC(CArrayFix<TCoeHelpContext>* aContextList);
1.70 - ~CHlpCmdLine();
1.71 -public:
1.72 - TPtr8 CmdLineL();
1.73 -private:
1.74 - void BuildCmdLineL();
1.75 - void AddContextL(TCoeHelpContext& aContext);
1.76 -private:
1.77 - void ConstructL();
1.78 - CHlpCmdLine(CArrayFix<TCoeHelpContext>* aContextList);
1.79 -private:
1.80 - CArrayFix<TCoeHelpContext>* iContextList;
1.81 - CBufFlat* iCmdLine;
1.82 - };
1.83 -
1.84 -class HlpLauncher
1.85 -/** Launches the help application.
1.86 -
1.87 -It assumes that such an application is at z:\\Sys\\Bin\\CsHelp.exe
1.88 -
1.89 -@publishedAll
1.90 -@released
1.91 -*/
1.92 - {
1.93 -public:
1.94 - IMPORT_C static void LaunchHelpApplicationL(RWsSession& aWsSession, CArrayFix<TCoeHelpContext>* aContextList);
1.95 - IMPORT_C static void LaunchHelpApplicationL(RWsSession& aWsSession, TUid aUid);
1.96 - IMPORT_C static void LaunchHelpApplicationL(RWsSession& aWsSession);
1.97 -private:
1.98 - static void DoLaunchHelpApplicationL(RWsSession& aWsSession, const TDesC8& aCmdLine);
1.99 - };
1.100 -
1.101 -#endif