📄 symbian4appui.h
字号:
/*
============================================================================
Name : CSymbian4AppUi from Symbian3Appui.h
Author :
Version :
Copyright : Your copyright notice
Description : Declares UI class for application.
============================================================================
*/
#ifndef SYMBIAN3APPUI_H
#define SYMBIAN3APPUI_H
// INCLUDES
#include <aknviewappui.h>
#include <akntabgrp.h>
#include <aknnavide.h>
#include <akntabobserver.h>
#include <flogger.h> //日志文件
// FORWARD DECLARATIONS
class CSymbian4View;
class CSymbian4View2;
// CLASS DECLARATION
/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
* - view architecture
* - status pane
*
*/
class CSymbian4AppUi : public CAknViewAppUi, MAknTabObserver
{
public: // // Constructors and destructor
CSymbian4AppUi();
/**
* EPOC default constructor.
*/
void ConstructL();
/**
* Destructor.
*/
~CSymbian4AppUi();
public: // New functions
void GetPlayList();//获得列表
CDesCArrayFlat* GetPlayListPoint();
TInt GetCurrent(); //获得当前序号
void SetCurrent(TInt aCurrent);//设置当前序号
//RFileLogger iLog;
public: // Functions from base classes
/**
* From MAknTabObserver.
* @param aIndex tab index
*/
void TabChangedL(TInt aIndex);
private:
// From MEikMenuObserver
void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
private:
/**
* From CEikAppUi, takes care of command handling.
* @param aCommand command to be handled
*/
void HandleCommandL(TInt aCommand);
/**
* From CEikAppUi, handles key events.
* @param aKeyEvent Event to handled.
* @param aType Type of the key event.
* @return Response code (EKeyWasConsumed, EKeyWasNotConsumed).
*/
virtual TKeyResponse HandleKeyEventL(
const TKeyEvent& aKeyEvent,TEventCode aType);
private: //Data
RFileLogger iLog;
CAknNavigationControlContainer* iNaviPane;
CAknTabGroup* iTabGroup;
CAknNavigationDecorator* iDecoratedTabGroup;
CSymbian4View2* m_pCSymbianView2;
CSymbian4View* m_pCSymbianView;
CDesCArrayFlat* iPlayListArray;
TInt iCurrent;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -