?? filebrowsercontainer.h
字號:
/*
* ============================================================================
* Name : CFileBrowserContainer from FileBrowserContainer.h
* Part of : FileBrowser
* Created : 03.05.2005 by ToBeReplacedByAuthorXinyu
* Description:
* Declares container control for application.
* Version :
* Copyright: ToBeReplacedByCopyrightNone
* ============================================================================
*/
#ifndef FILEBROWSERCONTAINER_H
#define FILEBROWSERCONTAINER_H
// INCLUDES
#include <coecntrl.h>
#include <eiklbo.h>
// FORWARD DECLARATIONS
class CEikLabel; // for example labels
class CAknSingleGraphicStyleListBox;
// CLASS DECLARATION
/**
* CFileBrowserContainer container control class.
*
*/
class CFileBrowserContainer : public CCoeControl, MEikListBoxObserver
{
public: // Constructors and destructor
/**
* EPOC default constructor.
* @param aRect Frame rectangle for container.
*/
void ConstructL(const TRect& aRect);
/**
* Destructor.
*/
~CFileBrowserContainer();
public: // New functions
void HandleCommandL(TInt aCommand);
public: // Functions from base classes
void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType );
private: // Functions from base classes
/**
* From CoeControl,SizeChanged.
*/
void SizeChanged();
/**
* From CoeControl,CountComponentControls.
*/
TInt CountComponentControls() const;
/**
* From CCoeControl,ComponentControl.
*/
CCoeControl* ComponentControl(TInt aIndex) const;
/**
* From CCoeControl,Draw.
*/
void Draw(const TRect& aRect) const;
TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,
TEventCode aType);
void UpdateFileDataL();
void UpdateDriveDataL();
void UpdateTitleL();
private: //data
CAknSingleGraphicStyleListBox* iListBox;
//CAknSingleStyleListBox* iListBox;
TBuf<KMaxFileName> iPath;
CDir* iDirList;
CDir* iFileList;
};
#endif
// End of File
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -