messagingfw/senduiservices/watcher/inc/senduipropertyobserver.h
branchRCL_3
changeset 23 d51193d814ea
parent 0 8e480a14352b
equal deleted inserted replaced
22:d2c4c66342f3 23:d51193d814ea
       
     1 /*
       
     2 * Copyright (c) 2006 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:   Launches SendUi Service Resolver in the event of:
       
    15 *                - refresh request.
       
    16 *                - MTM amount has changed since previous boot
       
    17 *                - Phone language has change since previous boot*
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 #ifndef C_CSENDUIPROPERTYOBSERVER_H
       
    23 #define C_CSENDUIPROPERTYOBSERVER_H
       
    24 
       
    25 #include <e32base.h>
       
    26 #include <e32property.h>
       
    27 
       
    28 class CSendUiWatcher;
       
    29 
       
    30 /**
       
    31  *  ?one_line_short_description
       
    32  *
       
    33  *  ?more_complete_description
       
    34  *
       
    35  *  @lib ?library
       
    36  *  @since S60 ?S60_version *** for example, S60 v3.0
       
    37  */
       
    38 class CSendUiPropertyObserver : public CActive
       
    39     {
       
    40 
       
    41 public:
       
    42 
       
    43     static CSendUiPropertyObserver* NewL( CSendUiWatcher* aParent );
       
    44 
       
    45     virtual ~CSendUiPropertyObserver();
       
    46 
       
    47 // from base class CActive
       
    48 
       
    49     /**
       
    50      * From CActive.
       
    51      *
       
    52      * @since S60 v3.2
       
    53      */
       
    54     void RunL();
       
    55 
       
    56     /**
       
    57      * From CActive.
       
    58      *
       
    59      * @since S60 v3.2
       
    60      */
       
    61     void DoCancel();
       
    62     
       
    63 private:
       
    64 
       
    65     CSendUiPropertyObserver( CSendUiWatcher* aWatcher );
       
    66 
       
    67     void ConstructL( );
       
    68 
       
    69 private: // data
       
    70 
       
    71     /**
       
    72      * Property for making update requests
       
    73      */
       
    74     RProperty iPropertyUpdateRequest;
       
    75 
       
    76     /**
       
    77      * Parent.
       
    78      * Not own.
       
    79      */
       
    80      CSendUiWatcher*   iParent;
       
    81      
       
    82     };
       
    83 
       
    84 #endif // C_CSENDUIPROPERTYOBSERVER_H