javatools/javaapppreconverter/legacy/inc/MMIDletTableV2.h
branchRCL_3
changeset 18 9ac0a0a7da70
parent 17 0fd27995241b
child 19 71c436fe3ce0
equal deleted inserted replaced
17:0fd27995241b 18:9ac0a0a7da70
     1 /*
       
     2 * Copyright (c) 2005 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 
       
    19 #ifndef MMIDLETTABLEV2_H
       
    20 #define MMIDLETTABLEV2_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 class RDbDatabase;
       
    25 
       
    26 namespace MIDP
       
    27 {
       
    28 namespace DBv2
       
    29 {
       
    30 class MMIDletTableIterator;
       
    31 
       
    32 class MMIDletTable
       
    33 {
       
    34 public:
       
    35 
       
    36     virtual void CreateL(RDbDatabase&)  = 0;
       
    37 
       
    38     virtual void OpenL(RDbDatabase&)    = 0;
       
    39 
       
    40     virtual void Close(void)    = 0;
       
    41 
       
    42     virtual void AddL(
       
    43         TUint32      aMSId,
       
    44         TUint32      aOrdinal,
       
    45         TUint32      aUID,
       
    46         const TDesC& aName,
       
    47         const TDesC& aClassName,
       
    48         const TDesC& aID) = 0;
       
    49 
       
    50     // Update single midlet given by msid and name
       
    51     virtual void UpdateL(
       
    52         TUint32      aMSId,
       
    53         const TDesC& aName,
       
    54         TUint32      aOrdinal,
       
    55         TUint32      aUID,
       
    56         const TDesC& aClassName,
       
    57         const TDesC& aID) = 0;
       
    58 
       
    59     virtual void RemoveL(TUint32 aMSId) = 0;
       
    60 
       
    61     virtual MMIDletTableIterator* IteratorLC(void)  = 0;
       
    62 };
       
    63 
       
    64 
       
    65 } // end of namespace DBv2
       
    66 } // end of namespace MIDP
       
    67 
       
    68 #endif // MMIDLETTABLEV2_H
       
    69