dcmofw/dcmoserver/inc/dcmonotifieraob.h
branchRCL_3
changeset 25 b183ec05bd8c
parent 24 13d7c31c74e0
child 26 19bba8228ff0
equal deleted inserted replaced
24:13d7c31c74e0 25:b183ec05bd8c
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  DCMO Notifier Aob
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __DCMO_NOTIFIERAOB_H__
       
    19 #define __DCMO_NOTIFIERAOB_H__
       
    20 
       
    21 // INCLUDES
       
    22 
       
    23 #include <AknGlobalMsgQuery.h>
       
    24 
       
    25 /**
       
    26 * An active class to show the global note.
       
    27 *
       
    28 */
       
    29 class CDCMONotifierAob : public CActive
       
    30 	{
       
    31 public:
       
    32     static CDCMONotifierAob* NewL( );
       
    33     
       
    34   /**
       
    35 	 * Destructor
       
    36 	 */
       
    37 		~CDCMONotifierAob();
       
    38 		
       
    39 	/**
       
    40 	 * Show the Notification
       
    41 	 * @param aString , to be shown
       
    42 	 * @return 
       
    43 	 */
       
    44 		void ShowNotifierL( TDesC& aString );
       
    45 		
       
    46 		/**
       
    47      * From CActive,DoCancel.
       
    48      */
       
    49 		void DoCancel();
       
    50 
       
    51 		/**
       
    52      * From CActive,RunL.
       
    53      */
       
    54 	  void RunL();
       
    55 
       
    56 		/**
       
    57      * From CActive,RunError.
       
    58      */
       
    59 		TInt RunError(TInt aError);
       
    60 		
       
    61 private:  
       
    62 	/**
       
    63 	 * Createss CDCMOGenericControl
       
    64 	 * Default Constructor
       
    65 	 */  
       
    66 		CDCMONotifierAob( );
       
    67 		
       
    68 	/**
       
    69 	 * second phase constructor
       
    70 	 */
       
    71     void ConstructL();
       
    72 
       
    73 private:		
       
    74 		CAknGlobalMsgQuery* iGlobalMsgQuery;
       
    75 
       
    76 	};
       
    77 #endif //__DCMO_NOTIFIERAOB_H__