taskswitcher/server/inc/tsservicesprovider.h
changeset 116 305818acdca4
child 125 26079c1bb561
equal deleted inserted replaced
112:dbfb5e38438b 116:305818acdca4
       
     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 TSSERVICESPROVIDER_H
       
    18 #define TSSERVICESPROVIDER_H
       
    19 
       
    20 #include "tsmodel.h"
       
    21 #include "tsservicesproviderconfig.h"
       
    22 
       
    23 class CTsService;
       
    24 
       
    25 class CTsServiceProvider: public CBase
       
    26 {
       
    27 public:
       
    28     static CTsServiceProvider* NewL( const CTsServiceProviderConfig& aConfig );
       
    29     ~CTsServiceProvider();
       
    30     MTsModel& operator[]( TInt aOffset ) const;
       
    31     TInt Count() const;
       
    32 
       
    33 private:
       
    34     CTsServiceProvider();
       
    35     void Construct( const CTsServiceProviderConfig& aConfig );
       
    36 
       
    37 private:
       
    38     RPointerArray<CTsService> iServices;
       
    39 };
       
    40 #endif //TSSERVICESPROVIDER_H