aknexquerybaselisteventhandler.h
来自「symbian ui的 例子 初学者可以 好好看看,这个是培训的资料,应该比较宝」· C头文件 代码 · 共 86 行
H
86 行
/*
* ==============================================================================
* Name : aknexquerybaselisteventhandler.h
* Part of : Query 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 __AKNEXQUERYBASELISTEVENTHANDLER_H__
#define __AKNEXQUERYBASELISTEVENTHANDLER_H__
// INCLUDES
#include <e32base.h>
#include <eiklbo.h> // For MEikListBoxObserver
// FORWARD DECLARATIONS
class CAknExQueryContainer;
// CLASS DECLARATION
/**
* CAknExQueryBaseListEventHandler class.
*/
class CAknExQueryBaseListEventHandler :
public CBase,
public MEikListBoxObserver
{
public: // Constructors and destructor
/**
* CAknExQueryBaseListEventHandler
* Constructor.
* @param aContainer Pointer to Container class object.
*/
CAknExQueryBaseListEventHandler( CAknExQueryContainer* aContainer );
/**
* ~CAknExQueryBaseListEventHandler
* Destructor.
*/
virtual ~CAknExQueryBaseListEventHandler();
public: // New function
/**
* HandleSelectedListItemL
* Handles events that list item selected.
* Pure virtual function.
* @param aCommand Selected list item index
*/
virtual void HandleSelectedListItemL( TInt aCommand ) = NULL;
public: // From MEikListBoxObserver
/**
* HandleListBoxEventL
* From MEikListBoxObserver, Handle listbox event
* Handles the list box events.
* When list item is selected, HandleSelectedListItemL() is called.
* @param aListBox Pointer to ListBox object.
* @param aEventType
*/
void HandleListBoxEventL(
CEikListBox* aListBox,
TListBoxEvent aEventType );
protected: //data
/**
* iContainer
* Does not own
*/
CAknExQueryContainer* iContainer;
};
#endif // __AKNEXQUERYBASELISTEVENTHANDLER_H__
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?