epoc32/include/mw/coehelp.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 epoc32/include/coehelp.h@2fe1408b6811
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     1 // Copyright (c) 1997-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef __COEHELP_H__
    17 #define __COEHELP_H__
    18 
    19 #include <e32std.h>
    20 
    21 /** Holds the name of the help context.
    22 
    23 @publishedAll
    24 @released */
    25 typedef TBuf<30> TCoeContextName;
    26 
    27 
    28 class TCoeHelpContext
    29 /** Help context.
    30 
    31 This class contains the information required to link the control and the appropriate 
    32 context sensitive help topic. This information includes the UID of the help 
    33 file and the literal descriptor for the appropriate help topic context.
    34 
    35 @see CCoeControl::GetHelpContext() 
    36 @publishedAll
    37 @released */
    38 	{
    39 public:
    40 	IMPORT_C TCoeHelpContext();
    41 	IMPORT_C TCoeHelpContext(TUid aMajor,const TDesC& aContext);
    42 	IMPORT_C TBool IsNull() const;
    43 	IMPORT_C TBool operator==(const TCoeHelpContext& aContext) const;
    44 	IMPORT_C TBool operator!=(const TCoeHelpContext& aContext) const;
    45 public:
    46 	/** The UID of the context sensitive help file containing the topic information. */
    47 	TUid iMajor;
    48 	/** The name of the help context. This is the literal descriptor generated from 
    49 	a context string by the context sensitive help compiler. */
    50 	TCoeContextName iContext;
    51 private:
    52     TInt iTCoeHelpContext_Reserved1;
    53 	};
    54 
    55 #endif	// __COEHELP_H__