controlpanelui/src/cpprofilewrapper/src/cpprofilemonitor_p.h
changeset 40 593f946f4fec
child 41 ab0490982943
equal deleted inserted replaced
22:a5692c68d772 40:593f946f4fec
       
     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:  
       
    15  *   
       
    16  */
       
    17 #ifndef CPPROFILEMONITORPRIVATE_H
       
    18 #define CPPROFILEMONITORPRIVATE_H
       
    19 
       
    20 #include <MProfileChangeObserver.h>
       
    21 #include <qglobal.h>
       
    22 
       
    23 class CProfileChangeNotifyHandler;
       
    24 class CpProfileMonitor;
       
    25 
       
    26 class CpProfileMonitorPrivate:public MProfileChangeObserver
       
    27 {
       
    28     Q_DECLARE_PUBLIC(CpProfileMonitor)
       
    29 public:
       
    30     CpProfileMonitorPrivate();
       
    31     ~CpProfileMonitorPrivate();
       
    32     void initialize(CpProfileMonitor *parent);
       
    33     
       
    34 #ifdef Q_OS_SYMBIAN
       
    35 private:
       
    36     void HandleActiveProfileEventL(TProfileEvent aProfileEvent, TInt aProfileId);
       
    37 private:
       
    38     CProfileChangeNotifyHandler *mProfileNotifier;
       
    39 #endif
       
    40 private:
       
    41     CpProfileMonitor *q_ptr;
       
    42 };
       
    43 
       
    44 #endif