aknnotify.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name        : AknNotify.h
00004 *  Part of     : UI Framework Core / AVKON Notifiers Client
00005 *  Description :
00006 *  Version     : %version: %
00007 *
00008 *  Copyright © 2002-2007 Nokia.  All rights reserved.
00009 *  This material, including documentation and any related computer
00010 *  programs, is protected by copyright controlled by Nokia.  All
00011 *  rights are reserved.  Copying, including reproducing, storing,
00012 *  adapting or translating, any or all of this material requires the
00013 *  prior written consent of Nokia.  This material also contains
00014 *  confidential information which may not be disclosed to others
00015 *  without the prior written consent of Nokia.
00016 * ============================================================================
00017 */
00018 #ifndef __AKNNOTIFY_H__
00019 #define __AKNNOTIFY_H__
00020 
00021 // INCLUDES
00022 #include <e32base.h>
00023 
00024 // FORWARD DECLARATIONS 
00025 class CAknSDData;
00026 
00027 // CLASS DECLARATION
00028 class RNotifier2 : public RNotifier
00029     {
00030 public:
00031     TInt Connect();
00032     };
00033     
00039 NONSHARABLE_CLASS(CAknNotifyBase) : public CBase
00040     {
00041 public:
00045     IMPORT_C ~CAknNotifyBase();
00046 
00056     IMPORT_C void SetSecondaryDisplayData(CAknSDData* aData);
00057 
00058 protected:
00063     CAknNotifyBase(TUid aUid);
00064     
00069     void ConstructL();
00070     
00076     void StartOrUpdateL(const TDesC8& aBuffer, TDes8& aResponse);
00077     
00084     void StartOrUpdateAndGetResponseL(
00085         TRequestStatus& aStatus,
00086         const TDesC8& aBuffer,
00087         TDes8& aResponse);
00088                                                                             
00089     // We don't give this funtionality out of library at the moment
00090     // returns instance of secondary display data if set.
00091     CAknSDData* SecondaryDisplayData();
00092                                                                           
00093 private:
00094     IMPORT_C void CAknNotifyBase_Reserved();
00095 
00096 private:
00097     TUid iUid;
00098     TBool iStarted;
00099     RNotifier2 iNotify;
00100     CAknSDData* iSecondaryDisplayData;
00101     };
00102 
00103 // __AKNNOTIFY_H__
00104 #endif

Copyright © Nokia Corporation 2001-2008
Back to top