📄 helpfulform.h
字号:
/*
* ==============================================================================
* Name : helpfulform.h
* Part of : Help example
* Interface :
* Description :
* Version :
*
* Copyright (c) 2004 - 2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
#ifndef __HELPFULFORM_H__
#define __HELPFULFORM_H__
// INCLUDES
#include <AknForm.h>
/**
* CHelpfulForm
* CHelpfulForm implements context sensitive help for
* itself and the controls it contains
*/
class CHelpfulForm : public CAknForm
{
public: // Constructors and Destructors.
/**
* NewL()
* Construct a CHelpfulForm for the AVKON application
* using two phase construction, and return a pointer to
* the created object
* @param aMenuResource Resource of menu to be added to form menu
* (with Help option)
* @return A pointer to the created instance of CHelpfulForm
*/
static CHelpfulForm* NewL( TInt aMenuResource );
/**
* NewLC()
* Construct a CHelpfulForm for the AVKON application
* using two phase construction, and return a pointer to
* the created object
* @param aMenuResource Resource of menu to be added to form
* menu (with Help option)
* @return A pointer to the created instance of CHelpfulForm
*/
static CHelpfulForm* NewLC( TInt aMenuResource );
public: // from AknForm
/**
* ProcessCommandL()
* Handle user menu commands
* @param aCommandId The command identifier to process
*/
void ProcessCommandL( TInt aCommandId );
/**
* GetHelpContext()
* Identify the help context so that the framework can look up
* the corresponding help topic
* @param aContext Returns the help context
*/
void GetHelpContext( TCoeHelpContext& aContext ) const;
/**
* DynInitMenuPaneL()
* Remove the unused default form options
* @param aResourceId The id of the menu pane
* @param aMenuPane The menu pane itself
*/
void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
private: // Constructor
/**
* ConstructL()
* Perform the second phase construction of a CHelpfulForm object
* @param aMenuResource The menu resource to be used for the form
*/
void ConstructL( TInt aMenuResource );
};
#endif // __HELPFULFORM_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -