uiacceltk/hitchcock/backgroundanim/inc/themerepositorylistener.h
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     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 
       
    18 #ifndef __THEMEREPOSITORYLISTENER_H__
       
    19 #define __THEMEREPOSITORYLISTENER_H__
       
    20 
       
    21 #include <centralrepository.h>
       
    22 
       
    23 class CThemeRepositoryListener : public CActive
       
    24     {
       
    25     public:
       
    26         static CThemeRepositoryListener* NewL(TBool* aValueToChange);
       
    27         virtual ~CThemeRepositoryListener();
       
    28         void RunL();
       
    29         void DoCancel();
       
    30         void IssueRequest();
       
    31         void GPuMemLow(TBool aLow);
       
    32     protected:
       
    33         void ConstructL();
       
    34     private:
       
    35         CThemeRepositoryListener(TBool* aValueToChange);
       
    36     
       
    37         CRepository* iThemesRepository;
       
    38         TBool* iValueToChange;
       
    39         TInt iPreviousValue;
       
    40     };
       
    41     
       
    42 #endif