browserutilities/favouritesengine/ClientServer/srvinc/BackupObserver.h
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2005 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 the License "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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __BACKUPOBSERVER_H__
       
    20 #define __BACKUPOBSERVER_H__
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <e32property.h>
       
    24 
       
    25 NONSHARABLE_CLASS(CBackupObserver) : public CActive
       
    26 {
       
    27 public:
       
    28 
       
    29 /*!
       
    30   @function NewL
       
    31    
       
    32   @discussion Create a CBackupObserver object
       
    33   @result a pointer to the created instance of CBackupObserver
       
    34   */
       
    35     static CBackupObserver* NewL();
       
    36 
       
    37 /*!
       
    38   @function NewLC
       
    39    
       
    40   @discussion Create a CBackupObserver object
       
    41   @result a pointer to the created instance of CBackupObserver
       
    42   */
       
    43     static CBackupObserver* NewLC();
       
    44 
       
    45 /*!
       
    46   @function ~CBackupObserver
       
    47   
       
    48   @discussion Destroy the object and release all memory objects
       
    49   */
       
    50     ~CBackupObserver();
       
    51 
       
    52 protected: // from CActive
       
    53 
       
    54 /*!
       
    55   @function DoCancel
       
    56   
       
    57   @discussion Cancel any outstanding requests
       
    58   */
       
    59     void DoCancel();
       
    60 
       
    61 /*!
       
    62   @function RunL
       
    63   
       
    64   @discussion Respond to an event
       
    65   */
       
    66     void RunL();
       
    67 
       
    68 private:
       
    69     
       
    70 /*!
       
    71   @function CBackupObserver
       
    72 
       
    73   @discussion Constructs this object
       
    74   */
       
    75     CBackupObserver();
       
    76 
       
    77 /*!
       
    78   @function ConstructL
       
    79 
       
    80   @discussion Performs second phase construction of this object
       
    81   */
       
    82     void ConstructL();
       
    83 
       
    84 private:
       
    85     // Member variables
       
    86     RProperty       iBackupStatus;
       
    87 };
       
    88 
       
    89 #endif // __BACKUPOBSERVER_H__
       
    90