inc/silentobserver_p.h
changeset 0 6be25656cbbb
equal deleted inserted replaced
-1:000000000000 0:6be25656cbbb
       
     1 /*
       
     2 * Copyright (c) 2010 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: Silent profiles observer
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef SILENTOBSERVER_P_H
       
    19 #define SILENTOBSERVER_P_H
       
    20 
       
    21 // System includes
       
    22 #include <e32base.h>
       
    23 #include <QObject>
       
    24 #include <MProfileChangeObserver.h>
       
    25 
       
    26 // Forward declarations
       
    27 class CProfileChangeNotifyHandler;
       
    28 
       
    29 // Class declaration
       
    30 class SilentObserverPrivate : public CBase, public MProfileChangeObserver
       
    31 {
       
    32 public:
       
    33     static SilentObserverPrivate *NewL(QObject *parent);
       
    34     SilentObserverPrivate();
       
    35     ~SilentObserverPrivate();
       
    36     
       
    37 private:
       
    38     void ConstructL(QObject *parent);
       
    39     virtual void HandleActiveProfileEventL(
       
    40         TProfileEvent aProfileEvent,
       
    41         TInt aProfileId );
       
    42 
       
    43 private:
       
    44     CProfileChangeNotifyHandler *iHandler;
       
    45     QObject *iParent;
       
    46 };
       
    47 
       
    48 #endif  //SILENTOBSERVER_P_H