videocollection/mpxmyvideoscollection/tsrc/ut_vcxmyvideosmdsdb/src/mdeproperty.cpp
branchRCL_3
changeset 15 8f0df5c82986
equal deleted inserted replaced
14:55fa1ec415c6 15:8f0df5c82986
       
     1 /*
       
     2 * Copyright (c) 2009 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:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "mdeproperty.h"
       
    20 #include "mdepropertydef.h"
       
    21 #include "mdeobject.h"
       
    22 #include "mdeobjectdef.h"
       
    23 #include "mdeerror.h"
       
    24 #include "mdesession.h"
       
    25 
       
    26 CMdEProperty::CMdEProperty(const CMdEPropertyDef& aDef, const CMdEObject& aObject)
       
    27 		: CMdEInstanceItem( CONST_CAST( CMdESession*, &aDef.NamespaceDef().Session() ), KNoId), 
       
    28 		iModFlags(0), iDef(aDef), iObject(aObject)
       
    29 	{
       
    30 	}
       
    31 
       
    32 CMdEProperty* CMdEProperty::NewL(const CMdEPropertyDef& aDef, const CMdEObject& aObject)
       
    33     {
       
    34     }
       
    35 
       
    36 CMdEProperty::CMdEProperty() :  
       
    37         CMdEInstanceItem(  NULL, 0  ), 
       
    38         iDef(const_cast<const CMdEPropertyDef&>( *(CMdEPropertyDef*)0) ), 
       
    39         iObject(*(CMdEObject*)0)
       
    40     {
       
    41     }
       
    42 
       
    43 CMdEProperty* CMdEProperty::NewLC(const CMdEPropertyDef& aDef, const CMdEObject& aObject)
       
    44     {
       
    45     }
       
    46 
       
    47 
       
    48 CMdEProperty* CMdEProperty::NewL( const CMdEObject& aObject, CMdCSerializationBuffer& aBuffer )
       
    49 	{
       
    50 	}
       
    51 
       
    52 CMdEProperty* CMdEProperty::NewLC( const CMdEObject& aObject, CMdCSerializationBuffer& aBuffer )
       
    53 	{
       
    54 	}
       
    55 
       
    56 void CMdEProperty::BaseConstructL()
       
    57 	{
       
    58 	}
       
    59 
       
    60 CMdEProperty::~CMdEProperty()
       
    61 	{
       
    62 	}
       
    63 
       
    64 EXPORT_C const CMdEPropertyDef& CMdEProperty::Def() const
       
    65 	{
       
    66 	}
       
    67 
       
    68 EXPORT_C const CMdEObject& CMdEProperty::Object() const
       
    69 	{
       
    70 	}
       
    71 
       
    72 EXPORT_C TBool CMdEProperty::Modified() const
       
    73 	{
       
    74 	}
       
    75 
       
    76 TUint8 CMdEProperty::ModFlags() const
       
    77 	{
       
    78 	}
       
    79 
       
    80 void CMdEProperty::SetRemoved()
       
    81 	{
       
    82 	}
       
    83 
       
    84 TBool CMdEProperty::Removed()
       
    85 	{
       
    86 	}
       
    87 
       
    88 void CMdEProperty::ClearFlags()
       
    89 	{
       
    90 	}
       
    91 
       
    92 void CMdEProperty::SetModified()
       
    93 	{
       
    94 	}
       
    95 
       
    96 TMdEInstanceType CMdEProperty::InstanceType() const
       
    97 	{
       
    98 	}
       
    99 
       
   100 EXPORT_C TBool CMdEProperty::BoolValueL() const
       
   101 	{
       
   102 	}
       
   103 
       
   104 EXPORT_C TInt8 CMdEProperty::Int8ValueL() const
       
   105 	{
       
   106 	}
       
   107 
       
   108 EXPORT_C TUint8 CMdEProperty::Uint8ValueL() const
       
   109 	{
       
   110 	}
       
   111 
       
   112 EXPORT_C TInt16 CMdEProperty::Int16ValueL() const
       
   113 	{
       
   114 	}
       
   115 
       
   116 EXPORT_C TUint16 CMdEProperty::Uint16ValueL() const
       
   117 	{
       
   118 	}
       
   119 
       
   120 EXPORT_C TInt32 CMdEProperty::Int32ValueL() const
       
   121 	{
       
   122 	}
       
   123 
       
   124 EXPORT_C TUint32 CMdEProperty::Uint32ValueL() const
       
   125 	{
       
   126 	}
       
   127 
       
   128 EXPORT_C TInt64 CMdEProperty::Int64ValueL() const
       
   129 	{
       
   130 	}
       
   131 
       
   132 EXPORT_C TReal32 CMdEProperty::Real32ValueL() const
       
   133 	{
       
   134 	}
       
   135 
       
   136 EXPORT_C TReal64 CMdEProperty::Real64ValueL() const
       
   137 	{
       
   138 	}
       
   139 
       
   140 EXPORT_C TTime CMdEProperty::TimeValueL() const
       
   141 	{
       
   142 	}
       
   143 
       
   144 EXPORT_C const TDesC& CMdEProperty::TextValueL() const
       
   145 	{
       
   146     return KNullDesC();
       
   147 	}
       
   148 
       
   149 
       
   150 EXPORT_C void CMdEProperty::SetBoolValueL(TBool aValue)
       
   151 	{
       
   152 	}
       
   153 
       
   154 EXPORT_C void CMdEProperty::SetInt8ValueL(TInt8 aValue)
       
   155 	{
       
   156 	}
       
   157 
       
   158 EXPORT_C void CMdEProperty::SetUint8ValueL(TUint8 aValue)
       
   159 	{
       
   160 	}
       
   161 
       
   162 
       
   163 EXPORT_C void CMdEProperty::SetInt16ValueL(TInt16 aValue)
       
   164 	{
       
   165 	}
       
   166 
       
   167 EXPORT_C void CMdEProperty::SetUint16ValueL(TUint16 aValue)
       
   168 	{
       
   169 	}
       
   170 
       
   171 EXPORT_C void CMdEProperty::SetInt32ValueL(TInt32 aValue)
       
   172 	{
       
   173 	}
       
   174 
       
   175 EXPORT_C void CMdEProperty::SetUint32ValueL(TUint32 aValue)
       
   176 	{
       
   177 	}
       
   178 
       
   179 EXPORT_C void CMdEProperty::SetInt64ValueL(TInt64 aValue)
       
   180 	{
       
   181 	}
       
   182 
       
   183 EXPORT_C void CMdEProperty::SetReal32ValueL(TReal32 aValue)
       
   184 	{
       
   185 	}
       
   186 
       
   187 EXPORT_C void CMdEProperty::SetReal64ValueL(TReal64 aValue)
       
   188 	{
       
   189 	}
       
   190 
       
   191 EXPORT_C void CMdEProperty::SetTimeValueL(const TTime& aValue)
       
   192 	{
       
   193 	}
       
   194 
       
   195 EXPORT_C void CMdEProperty::SetTextValueL(const TDesC& aValue)
       
   196     {
       
   197     }
       
   198 
       
   199 void CMdEProperty::DoSetTextValueL(const TDesC& aValue)
       
   200     {
       
   201 	}
       
   202 
       
   203 TMdCOffset CMdEProperty::SerializeL(CMdCSerializationBuffer& aBuffer, TMdCOffset aFreespaceOffset) const
       
   204 	{
       
   205 	}
       
   206