videocollection/mpxmyvideoscollection/tsrc/ut_vcxmyvideosmdsdb/src/mdequery.cpp
branchRCL_3
changeset 23 8f0df5c82986
child 26 67eb01668b0e
equal deleted inserted replaced
21:55fa1ec415c6 23: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:  Query base class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "mdequery.h"
       
    20 
       
    21 #include "mdeorderrule.h"
       
    22 #include "mdeinstanceitem.h"
       
    23 #include "mdelogiccondition.h"
       
    24 #include "mdenamespacedef.h"
       
    25 
       
    26 
       
    27 CMdEQuery::CMdEQuery(TQueryType aType, CMdESession& aSession, CMdENamespaceDef& aNamespaceDef)
       
    28         : iQueryId( 0 ), iSession(aSession), iNamespaceDef(aNamespaceDef), iType(aType), 
       
    29           iResultMode(EQueryResultModeItem), iState(EStateNew), iError(KErrNone), 
       
    30           iObjectResult(NULL), iCountResult(0), iDistinctResults(NULL), iDestroyed(EFalse)
       
    31     {
       
    32     }
       
    33 
       
    34 
       
    35 CMdEQuery::CMdEQuery()
       
    36         : iQueryId( 0 ), iSession(*(CMdESession*)0), iNamespaceDef(*(CMdENamespaceDef*)0), iType((TQueryType)0), 
       
    37           iResultMode(EQueryResultModeItem), iState(EStateNew), iError(KErrNone), 
       
    38           iObjectResult(NULL), iCountResult(0), iDistinctResults(NULL), iDestroyed(EFalse)
       
    39     {
       
    40     }
       
    41 
       
    42 void CMdEQuery::QueryConstructL()
       
    43     {
       
    44     }
       
    45 
       
    46 
       
    47 CMdEQuery::~CMdEQuery()
       
    48 	{
       
    49 	}
       
    50 
       
    51 
       
    52 EXPORT_C TQueryType CMdEQuery::Type() const
       
    53     {
       
    54     }
       
    55 
       
    56 EXPORT_C CMdENamespaceDef& CMdEQuery::NamespaceDef() const
       
    57 	{
       
    58 	}
       
    59     
       
    60 EXPORT_C CMdESession& CMdEQuery::Session() const
       
    61     {
       
    62     }
       
    63 
       
    64 
       
    65 EXPORT_C CMdELogicCondition& CMdEQuery::Conditions() const
       
    66     {
       
    67     }
       
    68     
       
    69     
       
    70 EXPORT_C void CMdEQuery::AppendOrderRuleL(const TMdEOrderRule& aRule)
       
    71     {
       
    72     }
       
    73 
       
    74 
       
    75 EXPORT_C void CMdEQuery::InsertOrderRuleL(const TMdEOrderRule& aRule, TInt aPos)
       
    76     {
       
    77     }
       
    78 
       
    79 
       
    80 EXPORT_C TInt CMdEQuery::OrderRuleCount() const
       
    81     {
       
    82     }
       
    83 
       
    84 
       
    85 EXPORT_C void CMdEQuery::RemoveOrderRule(TInt aIndex)
       
    86     {
       
    87     }
       
    88 
       
    89 
       
    90 EXPORT_C TMdEOrderRule CMdEQuery::OrderRule(TInt aIndex) const
       
    91     {   
       
    92     }
       
    93     
       
    94 
       
    95 EXPORT_C void CMdEQuery::FindL(TUint aMaxCount, TUint aNotifyCount)
       
    96     {
       
    97     }
       
    98 
       
    99 
       
   100 EXPORT_C void CMdEQuery::Cancel()
       
   101     {
       
   102     }
       
   103 
       
   104 
       
   105 EXPORT_C TBool CMdEQuery::IsComplete() const
       
   106     {
       
   107     }
       
   108 
       
   109 
       
   110 EXPORT_C TInt CMdEQuery::Error() const
       
   111     {
       
   112     }
       
   113 
       
   114 
       
   115 EXPORT_C TInt CMdEQuery::Count() const
       
   116     {
       
   117     }
       
   118 
       
   119 EXPORT_C CMdEItem& CMdEQuery::ResultItem(TInt aIndex) const
       
   120     {
       
   121     }
       
   122 
       
   123 
       
   124 EXPORT_C TItemId CMdEQuery::ResultId(TInt aIndex) const
       
   125     {
       
   126     }
       
   127 
       
   128 EXPORT_C const RArray<TItemId>& CMdEQuery::ResultIds() const
       
   129 	{
       
   130 	}
       
   131 
       
   132 EXPORT_C CMdEItem* CMdEQuery::TakeOwnershipOfResult(TInt aIndex)
       
   133     {
       
   134     }
       
   135 
       
   136 
       
   137 EXPORT_C TBool CMdEQuery::OwnsResult(TInt aIndex)
       
   138     {
       
   139     }
       
   140 
       
   141 
       
   142 EXPORT_C CMdEQuery::TState CMdEQuery::State() const
       
   143     {
       
   144     }
       
   145 
       
   146 void CMdEQuery::DoCancel()
       
   147     {
       
   148     }
       
   149 
       
   150 void CMdEQuery::SetState(TState aState)
       
   151     {
       
   152     }
       
   153 
       
   154 
       
   155 void CMdEQuery::AssertInState(TState aState)
       
   156     {
       
   157     }
       
   158     
       
   159 
       
   160 void CMdEQuery::AssertNotInState(TState aState)
       
   161     {
       
   162     }
       
   163     
       
   164 
       
   165 void CMdEQuery::NotifyNewResultsL(const RPointerArray<CMdEInstanceItem>& aNewResults)
       
   166     {
       
   167     }
       
   168 
       
   169 
       
   170 void CMdEQuery::NotifyNewResultsL(const RArray<TItemId>& aNewResults)
       
   171     {
       
   172     }
       
   173 
       
   174 void CMdEQuery::NotifyNewResultsL( const CDesCArray& aNewResults )
       
   175     {
       
   176     }
       
   177 
       
   178 void CMdEQuery::NotifyNewResults(TUint32 aResult)
       
   179 	{
       
   180 
       
   181     }
       
   182 
       
   183 void CMdEQuery::AppendResultsL(const RPointerArray<CMdEInstanceItem>& aNewResults)
       
   184     {
       
   185     }
       
   186 
       
   187 void CMdEQuery::AppendResultsL(const RArray<TItemId>& aNewResults)
       
   188     {
       
   189     }
       
   190 
       
   191 void CMdEQuery::AppendResultsL( const CDesCArray& aNewResults )
       
   192     {
       
   193     }
       
   194     
       
   195 void CMdEQuery::NotifyCompleted(TInt aError)
       
   196     {
       
   197     }
       
   198 
       
   199 EXPORT_C void CMdEQuery::AddObserverL(MMdEQueryObserver& aObserver)
       
   200 	{
       
   201 	}
       
   202 
       
   203 EXPORT_C void CMdEQuery::RemoveObserver(MMdEQueryObserver& aObserver)
       
   204 	{
       
   205 	}
       
   206 
       
   207 EXPORT_C void CMdEQuery::SetResultMode( TQueryResultMode aMode )
       
   208     {    
       
   209     }
       
   210 
       
   211 EXPORT_C TQueryResultMode CMdEQuery::ResultMode() const
       
   212     {
       
   213     }
       
   214 EXPORT_C CMdEItem& CMdEQuery::ResultObjectItem() const
       
   215     {
       
   216     }
       
   217 
       
   218 EXPORT_C TPtrC16 CMdEQuery::ResultDistinctValue(TInt aIndex) const
       
   219 	{
       
   220 	}
       
   221 
       
   222 RArray<TMdEOrderRule>& CMdEQuery::OrderRules()
       
   223 	{
       
   224 	}