java_stubs/javaregistry/clientserver/common/src/javaregproperty.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:  javaregproperty implementation
       
    15 *              : (__JAVA_EXCLUDED VERSION)
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #include "javaregproperty.h"
       
    21 
       
    22 using namespace Java::Manager::Registry;
       
    23 
       
    24 // ============================ MEMBER FUNCTIONS ==============================
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 // CJavaProperty::NewL
       
    28 // ---------------------------------------------------------------------------
       
    29 
       
    30 EXPORT_C CJavaProperty* CJavaProperty::NewL(TInt32 /* aId */,
       
    31         const TDesC&  /* aValue */)
       
    32 {
       
    33     User::Leave(KErrNotSupported);
       
    34     return NULL;
       
    35 }
       
    36 
       
    37 // ---------------------------------------------------------------------------
       
    38 // CJavaProperty::NewLC
       
    39 // ---------------------------------------------------------------------------
       
    40 EXPORT_C CJavaProperty* CJavaProperty::NewLC(TInt32 /* aId */,
       
    41         const TDesC& /* aValue */)
       
    42 {
       
    43     User::Leave(KErrNotSupported);
       
    44     return NULL;
       
    45 }
       
    46 
       
    47 // ---------------------------------------------------------------------------
       
    48 // CJavaProperty::~CJavaProperty
       
    49 // ---------------------------------------------------------------------------
       
    50 EXPORT_C CJavaProperty::~CJavaProperty()
       
    51 {
       
    52 }
       
    53 
       
    54 // ---------------------------------------------------------------------------
       
    55 // CJavaProperty::Id
       
    56 // ---------------------------------------------------------------------------
       
    57 EXPORT_C TInt32 CJavaProperty::Id() const
       
    58 {
       
    59     return 0;
       
    60 }
       
    61 
       
    62 // ---------------------------------------------------------------------------
       
    63 // CJavaProperty::Value
       
    64 // ---------------------------------------------------------------------------
       
    65 EXPORT_C const TDesC& CJavaProperty::Value() const
       
    66 {
       
    67     return KNullDesC;
       
    68 }
       
    69 
       
    70 // ---------------------------------------------------------------------------
       
    71 // operator==
       
    72 // ---------------------------------------------------------------------------
       
    73 EXPORT_C TBool CJavaProperty::operator==(const CJavaProperty& /* aProp */)
       
    74 {
       
    75     return EFalse;
       
    76 }