diff -r 000000000000 -r 40261b775718 mmhais/refacladapt/src/shared/mstreampositioncontrol.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mmhais/refacladapt/src/shared/mstreampositioncontrol.h Tue Feb 02 01:56:55 2010 +0200 @@ -0,0 +1,40 @@ +/* +* Copyright (c) 2006-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: +* +*/ + + + +#ifndef MSTREAMPOSITIONCONTROL_H +#define MSTREAMPOSITIONCONTROL_H + +#include + +/** + This class allow interaction with the physical layer in order to get + */ +class MStreamPositionControl + { +public: + /** + Get the position of the control based on samples played or recorded + @return the position of the control + */ + virtual TInt GetControlPosition(TTimeIntervalMicroSeconds& aPosition) = 0; + + virtual void ResetControlPosition() = 0; + }; + +#endif // MSTREAMPOSITIONCONTROL_H