videocollection/mpxmyvideoscollection/tsrc/ut_vcxmyvideosmdsdb/src/vcxmyvideosmdscmdqueue.cpp
branchRCL_3
changeset 16 67eb01668b0e
equal deleted inserted replaced
15:8f0df5c82986 16:67eb01668b0e
       
     1 /*
       
     2 * Copyright (c) 2007 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 the License "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:  Queues commands to MDS.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include <e32base.h>
       
    21 #include <mpxlog.h>
       
    22 #include "vcxmyvideosmdscmdqueue.h"
       
    23 
       
    24 #include <mdesession.h>
       
    25 #include <mdequery.h>
       
    26 #include <harvesterclient.h>
       
    27 #include <mpxcollectionmessagedefs.h>
       
    28 #include <vcxmyvideosdefs.h>
       
    29 #include <e32property.h>
       
    30 #include "vcxmyvideosalbum.h"
       
    31 
       
    32 #define protected public
       
    33 #define private public
       
    34 #include "vcxmyvideosmdsdb.h"
       
    35 #undef private
       
    36 #undef protected
       
    37 
       
    38 // ============================ MEMBER FUNCTIONS =============================
       
    39 
       
    40 // ---------------------------------------------------------------------------
       
    41 // Constructor
       
    42 // ---------------------------------------------------------------------------
       
    43 //
       
    44 CVcxMyVideosMdsCmdQueue::CVcxMyVideosMdsCmdQueue( CVcxMyVideosMdsDb& aMdsDb )
       
    45 : iMdsDb( aMdsDb )
       
    46     {
       
    47     }
       
    48 
       
    49 // ---------------------------------------------------------------------------
       
    50 // 2nd-phase constructor
       
    51 // ---------------------------------------------------------------------------
       
    52 //
       
    53 void CVcxMyVideosMdsCmdQueue::ConstructL()
       
    54     {}
       
    55 
       
    56 // ---------------------------------------------------------------------------
       
    57 // Two-Phase Constructor
       
    58 // ---------------------------------------------------------------------------
       
    59 //
       
    60 CVcxMyVideosMdsCmdQueue* CVcxMyVideosMdsCmdQueue::NewL( CVcxMyVideosMdsDb& aMdsDb )
       
    61     {
       
    62     CVcxMyVideosMdsCmdQueue* self = new(ELeave) CVcxMyVideosMdsCmdQueue( aMdsDb );
       
    63     CleanupStack::PushL( self );
       
    64     self->ConstructL();
       
    65     CleanupStack::Pop( self );
       
    66     return self;
       
    67     }
       
    68 
       
    69 // ---------------------------------------------------------------------------
       
    70 // Destructor
       
    71 // ---------------------------------------------------------------------------
       
    72 //
       
    73 CVcxMyVideosMdsCmdQueue::~CVcxMyVideosMdsCmdQueue()
       
    74     {}
       
    75 
       
    76 // ---------------------------------------------------------------------------
       
    77 // CVcxMyVideosMdsCmdQueue::Cancel
       
    78 // ---------------------------------------------------------------------------
       
    79 //
       
    80 void CVcxMyVideosMdsCmdQueue::Cancel( CVcxMyVideosMdsDb::TRequestType aType )
       
    81     {}
       
    82 
       
    83 // ---------------------------------------------------------------------------
       
    84 // CVcxMyVideosMdsCmdQueue::ExecuteCmdL
       
    85 // ---------------------------------------------------------------------------
       
    86 //
       
    87 void CVcxMyVideosMdsCmdQueue::ExecuteCmdL( CVcxMyVideosMdsCmd* aCmd )
       
    88     {}
       
    89     
       
    90 // ---------------------------------------------------------------------------
       
    91 // CVcxMyVideosMdsCmdQueue::CmdFinished
       
    92 // ---------------------------------------------------------------------------
       
    93 //
       
    94 void CVcxMyVideosMdsCmdQueue::CmdFinished()
       
    95     {}
       
    96 
       
    97 // ---------------------------------------------------------------------------
       
    98 // CVcxMyVideosMdsCmdQueue::DoExecuteCmdL
       
    99 // ---------------------------------------------------------------------------
       
   100 //
       
   101 void CVcxMyVideosMdsCmdQueue::DoExecuteCmdL( CVcxMyVideosMdsCmd* aCmd )
       
   102     {}    
       
   103 // END OF FILE