S60 3rd Edition API Reference: eikalert.h Source File

eikalert.h

Go to the documentation of this file.
00001 // EIKALERT.H
00002 //
00003 // Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
00004 //
00005 
00006 #if !defined(__EIKALERT_H__)
00007 #define __EIKALERT_H__
00008 
00009 #if !defined(__EIKDIALG_H__)
00010 #include <eikdialg.h>
00011 #endif
00012 
00013 #if !defined(__EIKENV_H__)
00014 #include <eikenv.h>
00015 #endif
00016 
00017 #include <aknstaticnotedialog.h>
00018 
00019 class CEikAlert : public CAknNoteDialog, public MEikAlertWin
00020         {
00021 public: 
00022     // From CCoeControl
00023     IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent);      
00024 private:
00025         // Defined by the Mix-in class:
00026         void ConstructL();
00027         void RunAlert(const TDesC& aMsg1,const TDesC& aMsg2);
00028         void Release();
00029         CEikDialog* AsEikDialog();
00030 private:
00031         void PreLayoutDynInitL();
00032 private:
00036     IMPORT_C void* ExtensionInterface( TUid aInterface );
00037 private: 
00038         virtual void CEikDialog_Reserved_1();
00039         virtual void CEikDialog_Reserved_2();   
00040 private: 
00041         virtual void CAknNoteDialog_Reserved();
00042 
00043 protected:
00044         const TDesC* iMsg1;
00045         const TDesC* iMsg2;
00046 #start_since SINCE_3_1_SDK
00047         friend class CEikAlertNotifier;
00048 #end_since SINCE_3_1_SDK
00049         };
00050 
00051 #start_since SINCE_3_1_SDK
00052 
00055 NONSHARABLE_CLASS(CEikAlertNotifier): public CBase, public MEikAlertWin
00056     {
00057     public: 
00058         ~CEikAlertNotifier();
00059     private: // from MEikAlert    
00060         void ConstructL();
00061         void RunAlert(const TDesC& aTitle, const TDesC& aMsg) ;
00062         void Release();
00063         CEikDialog* AsEikDialog();
00064     private:
00065         void CreateLocalDialogIfRequired();     
00066         CEikAlert* iLocalDialog;
00067         CBufFlat* iNotifierBuffer;
00068     };
00069 #end_since SINCE_3_1_SDK
00070 
00071 #endif

Copyright © Nokia Corporation 2001-2007
Back to top