mpengine/tsrc/unittest_mpmpxcollectionframeworkwrapper/stub/inc/mpxplaybackutility.h
author William Roberts <williamr@symbian.org>
Thu, 22 Jul 2010 16:32:33 +0100
branchGCC_SURGE
changeset 44 eff9df3d9c98
parent 32 c163ef0b758d
child 43 0f32e550d9d8
permissions -rw-r--r--
Catchup to latest Symbian^4

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: mpxplaybackutility stub for testing mpmpxframeworkwrapper
*
*/


#ifndef MMPXPLAYBACKUTILITY_H
#define MMPXPLAYBACKUTILITY_H

#include <mpxplaybackframeworkdefs.h>
#include <mpxcommonframeworkdefs.h>
#include <badesca.h>
#include <mpxattribute.h>
#include <mpxattributespecs.h>

//Forward declarations
class CMPXCollectionPlaylist;
class CMPXCollectionPath;

class MMPXPlaybackUtility
{
public:

    // Stub functions
    MMPXPlaybackUtility();
    ~MMPXPlaybackUtility();
    static MMPXPlaybackUtility* UtilityL(const TUid& aModeId = KPbModeDefault);
    void Close();
    void InitL(const CMPXCollectionPlaylist& aPlaylist, TBool aPlay=ETrue);
    void InitL(const TDesC& aUri, const TDesC8* aType=NULL);
    void SetL(TMPXPlaybackProperty aProperty, TInt aValue);

public:

    TInt                    iShuffle;
    TInt                    iRepeat;
    TMPXPlaybackProperty    iProperty;
    TBool                   iPlay;
    CMPXCollectionPath      *iCurrentPath;
};

#endif      // MMPXPLAYBACKUTILITY_H