alarmnotificationdocument.h

来自「this is used to get the alarm on the mob」· C头文件 代码 · 共 86 行

H
86
字号
/* ====================================================================
 * File: alarmnotificationDocument.h
 * Created: 10/16/06
 * Author: 
 * Copyright (c): , All rights reserved
 * ==================================================================== */

#ifndef __ALARMNOTIFICATION_DOCUMENT_H__
#define __ALARMNOTIFICATION_DOCUMENT_H__


#include <akndoc.h>

// Forward references
class CAlarmNotificationAppUi;
class CEikApplication;


/*! 
  @class CAlarmNotificationDocument
  
  @discussion An instance of class CAlarmNotificationDocument is the Document part of the AVKON
  application framework for the alarmnotification example application
  */
class CAlarmNotificationDocument : public CAknDocument
    {
public:

/*!
  @function NewL
  
  @discussion Construct a CAlarmNotificationDocument for the AVKON application aApp 
  using two phase construction, and return a pointer to the created object
  @param aApp application creating this document
  @result a pointer to the created instance of CAlarmNotificationDocument
  */
    static CAlarmNotificationDocument* NewL(CEikApplication& aApp);

/*!
  @function NewLC
  
  @discussion Construct a CAlarmNotificationDocument for the AVKON application aApp 
  using two phase construction, and return a pointer to the created object
  @param aApp application creating this document
  @result a pointer to the created instance of CAlarmNotificationDocument
  */
    static CAlarmNotificationDocument* NewLC(CEikApplication& aApp);

/*!
  @function ~CAlarmNotificationDocument
  
  @discussion Destroy the object and release all memory objects
  */
    ~CAlarmNotificationDocument();

public: // from CAknDocument
/*!
  @function CreateAppUiL 
  
  @discussion Create a CAlarmNotificationAppUi object and return a pointer to it
  @result a pointer to the created instance of the AppUi created
  */
    CEikAppUi* CreateAppUiL();

private:

/*!
  @function ConstructL
  
  @discussion Perform the second phase construction of a CAlarmNotificationDocument object
  */
    void ConstructL();

/*!
  @function CAlarmNotificationDocument
  
  @discussion Perform the first phase of two phase construction 
  @param aApp application creating this document
  */
    CAlarmNotificationDocument(CEikApplication& aApp);

    };


#endif // __ALARMNOTIFICATION_DOCUMENT_H__

⌨️ 快捷键说明

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