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

📄 sabbermessagecontainer.h

📁 Simple Jabber Client for Symbian Platform
💻 H
字号:
/*
* ============================================================================
*  Name     : CSabberMessageContainer from SabberMessageContainer.h
*  Part of  : Sabber
*  Created  : 2004-12-9 by Xie Tian Lu
*  Description:
*     Declares container control for application.
*  Version  : 0.1
*  Copyright: (c) Xie Tian Lu Http://sabber.jabberstudio.org/
* ============================================================================
*/

#ifndef SABBERMESSAGECONTAINER_H
#define SABBERMESSAGECONTAINER_H

// INCLUDES
#include "UUListBoxContainer.h"
 
// FORWARD DECLARATIONS
class CSabberAppUi;
class CEikGlobalTextEditor;
class CMessageViewer;
// CLASS DECLARATION

/**
*  CSabberMessageContainer  container control class.
*  
*/
class CSabberMessageContainer : public CUUListBoxContainer, MCoeControlObserver
    {
    public: // Constructors and destructor
        
        /**
        * EPOC default constructor.
        * @param aRect Frame rectangle for container.
        */
        void ConstructL(const TRect& aRect);

        /**
        * Destructor.
        */
        ~CSabberMessageContainer();

    public: // New functions
		void SetAppUi( CSabberAppUi* aUi );
		TBool GetTextEditorContent( char* cont );
		void GetCurItemDest( char* dest );
		void PopupEditorbox();
		void PopoffEditorbox();
		TBool PopupViewer();
		void PopoffViewer();

    public: // Functions from base classes
		TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
		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;

       /**
        * From ?base_class ?member_description
        */
        // event handling section
        // e.g Listbox events
        void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
        

    private: //data
		CSabberAppUi*			iUi;
		CEikGlobalTextEditor*	iTextEditor; // global text editor
		TBool					iEditorActive;
		CMessageViewer*			iMessageViewer;
		TBool					iViewerActive;
    };

#endif

// End of File

⌨️ 快捷键说明

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