java_stubs/javaregistry/clientserver/client/src/javaregistryentry.cpp
branchRCL_3
changeset 8 014f8c42e1d4
parent 0 3fd91c96c86c
equal deleted inserted replaced
7:9d598f7f02da 8:014f8c42e1d4
       
     1 /*
       
     2 * Copyright (c) 2006-2006 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:  javaregistryentry implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "javaregistryentry.h"
       
    20 #include "writeablejavaregistryentry.h"
       
    21 #include "javaattributes.h"
       
    22 
       
    23 using namespace Java;
       
    24 using namespace Java::Manager::Registry;
       
    25 
       
    26 // ============================ MEMBER FUNCTIONS ==============================
       
    27 // ---------------------------------------------------------------------------
       
    28 // CJavaRegistryEntry::CJavaRegistryEntry
       
    29 // ---------------------------------------------------------------------------
       
    30 //
       
    31 CJavaRegistryEntry::CJavaRegistryEntry
       
    32 (CWriteableJavaRegistryEntry* /* aWritableEntry */)
       
    33 {
       
    34 }
       
    35 
       
    36 // ---------------------------------------------------------------------------
       
    37 // CJavaRegistryEntry::Uid
       
    38 // ---------------------------------------------------------------------------
       
    39 //
       
    40 EXPORT_C TUid CJavaRegistryEntry::Uid() const
       
    41 {
       
    42     return TUid::Null();
       
    43 }
       
    44 
       
    45 // ---------------------------------------------------------------------------
       
    46 // CJavaRegistryEntry::Name
       
    47 // ---------------------------------------------------------------------------
       
    48 //
       
    49 EXPORT_C const TDesC& CJavaRegistryEntry::Name() const
       
    50 {
       
    51     return KNullDesC;
       
    52 }
       
    53 
       
    54 // ---------------------------------------------------------------------------
       
    55 // CJavaRegistryEntry::Type
       
    56 // ---------------------------------------------------------------------------
       
    57 //
       
    58 EXPORT_C TJavaRegistryEntryType CJavaRegistryEntry::Type() const
       
    59 {
       
    60     return EGeneralApplication;
       
    61 }
       
    62 
       
    63 
       
    64 // ---------------------------------------------------------------------------
       
    65 // CJavaRegistryEntry::DriveL
       
    66 // ---------------------------------------------------------------------------
       
    67 //
       
    68 EXPORT_C TDriveNumber CJavaRegistryEntry::Drive() const
       
    69 {
       
    70     return EDriveC;
       
    71 }
       
    72 
       
    73 
       
    74 // ---------------------------------------------------------------------------
       
    75 // CJavaRegistryEntry::NumberOfCertificateChains
       
    76 // ---------------------------------------------------------------------------
       
    77 //
       
    78 EXPORT_C TInt CJavaRegistryEntry::NumberOfCertificateChains() const
       
    79 {
       
    80     return 0;
       
    81 }
       
    82 
       
    83 
       
    84 // ---------------------------------------------------------------------------
       
    85 // CJavaRegistryEntry::CertificateChain
       
    86 // ---------------------------------------------------------------------------
       
    87 //
       
    88 EXPORT_C const TDesC8& CJavaRegistryEntry::
       
    89 CertificateChain(TInt /* aChain */) const
       
    90 {
       
    91     return KNullDesC8;
       
    92 }
       
    93 
       
    94 
       
    95 // ---------------------------------------------------------------------------
       
    96 // CJavaRegistryEntry::DrmContentId
       
    97 // ---------------------------------------------------------------------------
       
    98 //
       
    99 EXPORT_C const TDesC& CJavaRegistryEntry::DrmContentId() const
       
   100 {
       
   101     return KNullDesC;
       
   102 }
       
   103 
       
   104 
       
   105 // ---------------------------------------------------------------------------
       
   106 // CJavaRegistryEntry::~CJavaRegistryEntry
       
   107 // ---------------------------------------------------------------------------
       
   108 //
       
   109 CJavaRegistryEntry::~CJavaRegistryEntry()
       
   110 {
       
   111 }
       
   112 // ---------------------------------------------------------------------------
       
   113 // CJavaRegistryEntry::WritableEntry
       
   114 // ---------------------------------------------------------------------------
       
   115 //
       
   116 CWriteableJavaRegistryEntry* CJavaRegistryEntry::WritableEntry() const
       
   117 {
       
   118     return NULL;
       
   119 }
       
   120 
       
   121 // ---------------------------------------------------------------------------
       
   122 // CJavaRegistryEntry::AttributeL
       
   123 // ---------------------------------------------------------------------------
       
   124 //
       
   125 
       
   126 EXPORT_C const MJavaAttribute* CJavaRegistryEntry::AttributeL(const TDesC& /*aName*/) const
       
   127 {
       
   128     return NULL;
       
   129 }
       
   130 
       
   131 // ---------------------------------------------------------------------------
       
   132 // CJavaRegistryEntry::AttributesL
       
   133 // ---------------------------------------------------------------------------
       
   134 //
       
   135 EXPORT_C const RPointerArray<MJavaAttribute>& CJavaRegistryEntry::AttributesL() const
       
   136 {
       
   137     return iAttributes;
       
   138 }
       
   139