wmdrm/wmdrmengine/wmdrmserver/server/inc/enumeratordata.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 __ENUMERATORDATA_H
       
    20 #define __ENUMERATORDATA_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <f32file.h>
       
    24 #include "wmdrmserver.h"
       
    25 
       
    26 class CEnumeratorData: public CBase
       
    27     {
       
    28 public:
       
    29 
       
    30     static CEnumeratorData* NewL( 
       
    31         CWmDrmServer* aServer, 
       
    32         const TDesC8& aStore,
       
    33         const TDesC8& aNamespace,
       
    34         const TDesC8& aHashKey );
       
    35 
       
    36     void ConstructL( 
       
    37         CWmDrmServer* aServer, 
       
    38         const TDesC8& aStore,
       
    39         const TDesC8& aNamespace,
       
    40         const TDesC8& aHashKey );
       
    41 
       
    42     CEnumeratorData();
       
    43     ~CEnumeratorData();
       
    44 
       
    45     void Close();
       
    46     
       
    47 	CWmDrmServer* iServer;
       
    48 	TInt iReferences;
       
    49 	TBuf8<KMaxWmDrmStoreNameSize> iStore;
       
    50     TBuf8<KMaxWmDrmNamespaceNameSize> iNamespace;
       
    51     TBuf8<KWmDrmIdSize> iHashKey;
       
    52     RPointerArray<HBufC8> iEntries;
       
    53     };
       
    54     
       
    55 #endif