inc/profilesobserver_p.h
changeset 0 dc71378f4890
equal deleted inserted replaced
-1:000000000000 0:dc71378f4890
       
     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: Profiles model private
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef PROFILESOBSERVER_P_H
       
    19 #define PROFILESOBSERVER_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 ProfilesObserverPrivate : public CBase, public MProfileChangeObserver
       
    31 {
       
    32 public:
       
    33     static ProfilesObserverPrivate* NewL(QObject *parent);
       
    34     ProfilesObserverPrivate();
       
    35     ~ProfilesObserverPrivate();
       
    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  //PROFILESOBSERVER_P_H