uiacceltk/hitchcock/ServerCore/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 NONSHARABLE_CLASS(CThemeRepositoryListener) : public CActive
       
    24     {
       
    25     public:
       
    26         static CThemeRepositoryListener* NewL();
       
    27         virtual ~CThemeRepositoryListener();
       
    28         void RunL();
       
    29         void DoCancel();
       
    30         void IssueRequest();
       
    31     protected:
       
    32         void ConstructL();
       
    33     private:
       
    34         CThemeRepositoryListener();
       
    35         CRepository* iThemesRepository;
       
    36         TInt iPreviousValue;
       
    37     };
       
    38     
       
    39 #endif