wmdrm/wmdrmengine/wmdrmserver/server/inc/slotenumerator.h
changeset 0 95b198f216e5
equal deleted inserted replaced
-1:000000000000 0:95b198f216e5
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Server definitions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __SLOTENUMERATOR_H
       
    20 #define __SLOTENUMERATOR_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <f32file.h>
       
    24 #include "wmdrmserver.h"
       
    25 #include "enumerator.h"
       
    26 
       
    27 class CEnumeratorData;
       
    28 
       
    29 class CSlotEnumerator: public CEnumerator
       
    30     {
       
    31 public:
       
    32 
       
    33     static CSlotEnumerator* NewL(
       
    34         CWmDrmServer* aServer,
       
    35         const TDesC8& aStore,
       
    36         const TDesC8& aNameSpace,
       
    37         const TDesC8& aHashKey );
       
    38 
       
    39     void ConstructL(
       
    40         CWmDrmServer* aServer,
       
    41         const TDesC8& aStore,
       
    42         const TDesC8& aNameSpace,
       
    43         const TDesC8& aHashKey );
       
    44 
       
    45     CSlotEnumerator();
       
    46     ~CSlotEnumerator();
       
    47 
       
    48     TInt OpenL();
       
    49     TInt NextL();
       
    50     void Close();
       
    51 
       
    52     TInt iPosition;
       
    53     CEnumeratorData* iEnumeratorData;
       
    54     };
       
    55 
       
    56 #endif