videocollection/mpxmyvideoscollection/tsrc/ut_vcxmyvideosmdsdb/src/mdeobjectquery.cpp
branchRCL_3
changeset 15 8f0df5c82986
child 16 67eb01668b0e
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:  Interface for object query
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "mdeobjectquery.h"
       
    20 #include "mdeobject.h"
       
    21 
       
    22 
       
    23 CMdEObjectQuery::CMdEObjectQuery(CMdESession& aSession, CMdENamespaceDef& aNamespaceDef, 
       
    24 		CMdEObjectDef& aObjectDef, RPointerArray<CMdEObjectDef>* aObjectDefs)
       
    25         : CMdEQuery(EQueryTypeObject, aSession, aNamespaceDef), 
       
    26           iObjectDef(aObjectDef), iObjectDefs(aObjectDefs),
       
    27           iFreetextsInResult( ETrue )
       
    28     {
       
    29     }
       
    30 CMdEObjectQuery::CMdEObjectQuery()
       
    31         : iObjectDef(*(CMdEObjectDef*)NULL), iObjectDefs((RPointerArray<CMdEObjectDef>*)NULL),
       
    32           iFreetextsInResult( ETrue )
       
    33     {
       
    34     }
       
    35 
       
    36 void CMdEObjectQuery::ObjectQueryConstructL()
       
    37     {
       
    38     }
       
    39 
       
    40 CMdEObjectQuery::~CMdEObjectQuery()
       
    41 	{
       
    42 	}
       
    43 
       
    44 EXPORT_C CMdEObject& CMdEObjectQuery::Result(TInt aIndex) const
       
    45     {
       
    46     }
       
    47 
       
    48 EXPORT_C CMdEObjectDef& CMdEObjectQuery::ObjectDef() const
       
    49 	{
       
    50 	}
       
    51 
       
    52 EXPORT_C void CMdEObjectQuery::AddPropertyFilterL(const CMdEPropertyDef* aProperty)
       
    53     {
       
    54     }
       
    55 
       
    56 EXPORT_C void CMdEObjectQuery::ResetPropertyFilter()
       
    57     {
       
    58     }
       
    59     
       
    60 RPointerArray<CMdEPropertyDef>& CMdEObjectQuery::PropertyFilter()
       
    61 	{
       
    62 	}
       
    63 
       
    64 RPointerArray<CMdEObjectDef>* CMdEObjectQuery::ObjectDefs() const
       
    65 	{
       
    66 	}
       
    67 
       
    68 void CMdEObjectQuery::DoCancel() 
       
    69     {
       
    70     }