⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 alarmorganisersecondcontainer.h

📁 series60 应用程序开发的源代码 series60 应用程序开发的源代码
💻 H
字号:
#ifndef __ALARMORGANISER_SECOND_CONTAINER_H__
#define __ALARMORGANISER_SECOND_CONTAINER_H__

// INCLUDES
#include <coecntrl.h>                // CCoeControl
#include "AlarmOrganiserMixins.h"    // MAlarmOrganiserEngineMixin
#include <eiklbo.h>                    // MEikListBoxObserver

// FORWARD DECLARATIONS
class CAlarmOrganiserSecondEngine;
class CEikColumnListBox;

// CLASS DECLARATION

/**
*
* @class    CAlarmOrganiserSecondContainer AlarmOrganiserContainer1.h 
* @brief    This is a container class for an agenda model example based on the 
* Series 60 view switching architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version    1.0
* 
*/
class CAlarmOrganiserSecondContainer 
        : public CCoeControl, 
          public MAlarmOrganiserEngineMixin, 
          public MEikListBoxObserver
{
public: // constructors and destructor
    static CAlarmOrganiserSecondContainer* NewL(const TRect& aRect);
    static CAlarmOrganiserSecondContainer* NewLC(const TRect& aRect);
    ~CAlarmOrganiserSecondContainer();
    
private: // constructor
    void ConstructL(const TRect& aRect);

public: // from MAlarmOrganiserEngineMixin
    void Progress(TInt aPercentageCompleted);
    void Completed(TInt aError = KErrNone);
    void EngineCallBack(TInt aError);
    void AddAlarmL();
    TBool ListBoxEmpty();

private: // from MEikListBoxObserver
    void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aListBoxEvent);

private: // from CoeControl
    TInt CountComponentControls() const;
    CCoeControl* ComponentControl(TInt aIndex) const;
    void Draw(const TRect& aRect) const;
    void SizeChanged();
    TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
    
private: // new methods
    void SetListBoxArray();

private: // data
    CAlarmOrganiserSecondEngine*    iEngine;
    CEikColumnListBox*                iListBox;
};

#endif    // __ALARMORGANISER_SECOND_CONTAINER_H__

// End of File

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -