java_stubs/javaregistry/clientserver/client/src/javaregistryapplicationentry.cpp
branchRCL_3
changeset 8 014f8c42e1d4
parent 0 3fd91c96c86c
equal deleted inserted replaced
7:9d598f7f02da 8:014f8c42e1d4
       
     1 /*
       
     2 * Copyright (c) 2005-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:  javaregistryapplicationentry implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "javaregistrypackageentry.h"
       
    20 #include "javaregistryapplicationentry.h"
       
    21 #include "writeablejavaregistryapplicationentry.h"
       
    22 
       
    23 using namespace Java;
       
    24 using namespace Java::Manager::Registry;
       
    25 
       
    26 // ============================ MEMBER FUNCTIONS ==============================
       
    27 
       
    28 // ---------------------------------------------------------------------------
       
    29 // CJavaRegistryApplicationEntry::CJavaRegistryApplicationEntry
       
    30 // ---------------------------------------------------------------------------
       
    31 //
       
    32 CJavaRegistryApplicationEntry::CJavaRegistryApplicationEntry
       
    33 (CWriteableJavaRegistryApplicationEntry* aWritableEntry) :
       
    34         CJavaRegistryEntry(aWritableEntry)
       
    35 {
       
    36 }
       
    37 
       
    38 
       
    39 // ---------------------------------------------------------------------------
       
    40 // CJavaRegistryApplicationEntry::IsStartable
       
    41 // ---------------------------------------------------------------------------
       
    42 //
       
    43 EXPORT_C TBool CJavaRegistryApplicationEntry::IsStartable() const
       
    44 {
       
    45     return ETrue;
       
    46 }
       
    47 
       
    48 
       
    49 // ---------------------------------------------------------------------------
       
    50 // CJavaRegistryApplicationEntry::IsVisible
       
    51 // ---------------------------------------------------------------------------
       
    52 //
       
    53 EXPORT_C TBool CJavaRegistryApplicationEntry::IsVisible() const
       
    54 {
       
    55     return ETrue;
       
    56 }
       
    57 
       
    58 
       
    59 // ---------------------------------------------------------------------------
       
    60 // CJavaRegistryApplicationEntry::IsResident
       
    61 // ---------------------------------------------------------------------------
       
    62 //
       
    63 EXPORT_C TBool CJavaRegistryApplicationEntry::IsResident() const
       
    64 {
       
    65     return EFalse;
       
    66 }
       
    67 
       
    68 
       
    69 // ---------------------------------------------------------------------------
       
    70 // CJavaRegistryApplicationEntry::GroupName
       
    71 // ---------------------------------------------------------------------------
       
    72 //
       
    73 EXPORT_C const TDesC& CJavaRegistryApplicationEntry::GroupName() const
       
    74 {
       
    75     return KNullDesC;
       
    76 }
       
    77 
       
    78 
       
    79 // ---------------------------------------------------------------------------
       
    80 // CJavaRegistryApplicationEntry::PackageEntryL
       
    81 // ---------------------------------------------------------------------------
       
    82 //
       
    83 EXPORT_C CJavaRegistryPackageEntry* CJavaRegistryApplicationEntry::
       
    84 PackageEntryL() const
       
    85 {
       
    86     User::Leave(KErrNotSupported);
       
    87     return NULL;
       
    88 }