activityfw/storage/server/inc/afapplicationsengine.h
changeset 109 e0aa398e6810
child 119 50e220be30d1
equal deleted inserted replaced
104:9b022b1f357c 109:e0aa398e6810
       
     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 AFAPPLICATIONSENGINE_H
       
    18 #define AFAPPLICATIONSENGINE_H
       
    19 
       
    20 #include <e32base.h>
       
    21 #include "afstorage.h"
       
    22 
       
    23 class RApaLsSession;
       
    24 class CAfApplicationsCollection;
       
    25 class CAfApplicationsStorage;
       
    26 class CAfApplicationsMonitor;
       
    27 
       
    28 class CAfApplicationsEngine: public CBase
       
    29 {
       
    30 public:
       
    31     static CAfApplicationsEngine* NewL(RApaLsSession& serviceProvider, CAfStorage& storage);
       
    32     ~CAfApplicationsEngine();
       
    33 
       
    34 private:
       
    35     CAfApplicationsEngine();
       
    36     void ConstructL(CAfStorage& storage, RApaLsSession& serviceProvider);
       
    37 
       
    38 private:
       
    39     CAfApplicationsCollection *mCollection;
       
    40     CAfApplicationsMonitor *mMonitor;
       
    41     CAfApplicationsStorage *mStorage;
       
    42 };
       
    43 
       
    44 #endif //AFAPPLICATIONSENGINE_H