helix_ren/helix_stub/ThumbnailAPI/src/hxmetadatautil.cpp
changeset 0 d7e778ce6e8e
equal deleted inserted replaced
-1:000000000000 0:d7e778ce6e8e
       
     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:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // symbian includes
       
    20 #include <E32Base.h>
       
    21 #include <e32std.h>
       
    22 
       
    23 // MetaData includes
       
    24 
       
    25 #include "hxmetadatautil.h"
       
    26 #include "hxmetadatakeys.h"
       
    27 
       
    28 
       
    29 
       
    30 CHXMetaDataUtility::CHXMetaDataUtility()
       
    31    
       
    32 {
       
    33 
       
    34 //do nothing
       
    35 }
       
    36 
       
    37 CHXMetaDataUtility::~CHXMetaDataUtility()
       
    38 {
       
    39     //do nothing
       
    40 
       
    41 }
       
    42 
       
    43 CHXMetaDataUtility* CHXMetaDataUtility::NewL()
       
    44 {
       
    45     return NULL;
       
    46 }
       
    47 
       
    48 CHXMetaDataUtility* CHXMetaDataUtility::ConstructL()
       
    49 {
       
    50     return NULL;
       
    51 }
       
    52 
       
    53 
       
    54 void CHXMetaDataUtility::OpenFileL( const TDesC& /*aFileName*/ )
       
    55 {
       
    56     User::Leave(KErrNotSupported);
       
    57    
       
    58 }
       
    59 
       
    60 void CHXMetaDataUtility::OpenFileL(RFile& /*aFile*/)
       
    61 {
       
    62      User::Leave(KErrNotSupported);
       
    63 }
       
    64 
       
    65 void CHXMetaDataUtility::OpenDesL(const TDesC8& /*aDes*/)
       
    66 {
       
    67    
       
    68     User::Leave(KErrNotSupported);
       
    69 
       
    70 }
       
    71 
       
    72 void CHXMetaDataUtility::ResetL()
       
    73 {
       
    74    User::Leave(KErrNotSupported);
       
    75 }
       
    76 
       
    77 
       
    78 TInt CHXMetaDataUtility::GetMetaDataCount(TUint& /*aCount*/)
       
    79 {
       
    80      
       
    81    return 0;
       
    82 }
       
    83 
       
    84 
       
    85 
       
    86 TInt CHXMetaDataUtility::GetMetaDataAt(TUint /*aIndex*/,
       
    87              HXMetaDataKeys::EHXMetaDataId& /*id*/, HBufC*& /*pDes*/)
       
    88 {
       
    89    
       
    90    
       
    91    return KErrNotSupported;
       
    92     
       
    93 }
       
    94 
       
    95 
       
    96 // utility functions
       
    97 
       
    98 void* CHXMetaDataUtility::GetSymbol(RLibrary& /* rlib */, const char* /* symbolName*/)
       
    99 {
       
   100   
       
   101  return NULL;   
       
   102 }
       
   103