epoc32/include/mmf/common/mmfdurationinfocustomcommands.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
     1.1 --- a/epoc32/include/mmf/common/mmfdurationinfocustomcommands.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/mmf/common/mmfdurationinfocustomcommands.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5  // All rights reserved.
     1.6  // This component and the accompanying materials are made available
     1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 +// under the terms of "Eclipse Public License v1.0"
     1.9  // which accompanies this distribution, and is available
    1.10 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.12  //
    1.13  // Initial Contributors:
    1.14  // Nokia Corporation - initial contribution.
    1.15 @@ -19,7 +19,7 @@
    1.16  #ifdef SYMBIAN_CAF_V2
    1.17  
    1.18  #include <e32base.h>
    1.19 -#include <mmf/common/mmcaf.h>
    1.20 +#include "mmf/common/mmcaf.h"
    1.21  #include <mmf/common/mmfstandardcustomcommands.h>
    1.22  
    1.23  
    1.24 @@ -31,23 +31,7 @@
    1.25  const TUid KUidInterfaceMMFDurationInfoControl = {0x102737C8};
    1.26  
    1.27  /**
    1.28 -@publishedPartner
    1.29 -@released
    1.30 -*/
    1.31 -
    1.32 -const TUid KUidInterfaceMMFDurationInfoControl2 = {0x10273812};
    1.33 -
    1.34 -/**
    1.35 -@internalComponent
    1.36 -*/
    1.37 -enum TMMFDurationInfoMessages
    1.38 -	{
    1.39 -	EMMFGetDurationInfo
    1.40 -	};
    1.41 -	
    1.42 -	
    1.43 -/**
    1.44 -@publishedPartner
    1.45 +@publishedAll
    1.46  @released
    1.47  
    1.48  The duration state of the controller.
    1.49 @@ -59,6 +43,11 @@
    1.50  	EMMFDurationInfoInfinite,	// Clip is of infinite length
    1.51  	};
    1.52  
    1.53 +#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
    1.54 +#include <mmf/common/mmfdurationinfocustomcommandsimpl.h>
    1.55 +#include <mmf/common/mmfdurationinfocustomcommandsenums.h>
    1.56 +#endif
    1.57 +
    1.58  /**
    1.59  @publishedAll
    1.60  @deprecated 9.2 - Replaced by MMMFDurationInfoCustomCommandImplementor2
    1.61 @@ -141,90 +130,8 @@
    1.62  	MMMFDurationInfoCustomCommandImplementor& iImplementor;
    1.63  	
    1.64  	};
    1.65 -	
    1.66 -/**
    1.67 -@publishedPartner
    1.68 -@released
    1.69 -
    1.70 -Mixin class to be derived from by controller plugins wishing to support the Duration information 
    1.71 -custom commands
    1.72 -*/
    1.73 -class MMMFDurationInfoCustomCommandImplementor2
    1.74 -	{
    1.75 -public:
    1.76 -
    1.77 -	/**
    1.78 -	Is the duration of the clip known? i.e. is the stream infinite?
    1.79 -	
    1.80 -	@param aDurationInfo
    1.81 -		   Controller duration information
    1.82 -		   
    1.83 -	@return KErrNone or System wide error code
    1.84 -	*/
    1.85 -	virtual TInt GetDurationInfo(TMMFDurationInfo& aDurationInfo)=0;
    1.86 -	};
    1.87 -	
    1.88 -/**
    1.89 -@publishedPartner
    1.90 -@released
    1.91 -
    1.92 -Custom command parser capable of processing duration information controller commands
    1.93 -*/
    1.94 -class CMMFDurationInfoCustomCommandParser2 : public CMMFCustomCommandParserBase
    1.95 -	{
    1.96 -public:
    1.97 -
    1.98 -	/**
    1.99 -	Creates a new custom command parser capable of processing duration information controller commands.
   1.100 -
   1.101 -	@param  aImplementor
   1.102 -	        A reference to the controller plugin that owns this new object.
   1.103 -
   1.104 -	@return A pointer to the object created.
   1.105 -
   1.106 -	@since  9.2
   1.107 -	*/
   1.108 -	IMPORT_C static CMMFDurationInfoCustomCommandParser2* NewL(MMMFDurationInfoCustomCommandImplementor2& aImplementor);
   1.109 -
   1.110 -	/**
   1.111 -	Destructor.
   1.112 -
   1.113 -	@since  9.2
   1.114 -	*/
   1.115 -	IMPORT_C ~CMMFDurationInfoCustomCommandParser2();
   1.116 -
   1.117 -	/**
   1.118 -	Handles a request from the client. Called by the controller framework.
   1.119 -
   1.120 -	@param  aMessage
   1.121 -	        The message to be handled.
   1.122 -
   1.123 -	@since  9.2
   1.124 -	*/
   1.125 -	void HandleRequest(TMMFMessage& aMessage);
   1.126 -
   1.127 -private:
   1.128 -	/**
   1.129 -	Constructor.
   1.130 -
   1.131 -	@param  aImplementor
   1.132 -	        A reference to the controller plugin that owns this new object.
   1.133 -	@since  9.2
   1.134 -	*/
   1.135 -	CMMFDurationInfoCustomCommandParser2(MMMFDurationInfoCustomCommandImplementor2& aImplementor);
   1.136 -	
   1.137 -	/**
   1.138 -	Request duration information from the implementor
   1.139 -
   1.140 -	@param  aMessage
   1.141 -	        Message for writing results to the client.
   1.142 -	*/
   1.143 -	TInt GetDurationInfo(TMMFMessage& aMessage);
   1.144 -
   1.145 -private:
   1.146 -	MMMFDurationInfoCustomCommandImplementor2& iImplementor;
   1.147 -	};
   1.148  
   1.149  #endif // SYMBIAN_CAF_V2
   1.150  
   1.151  #endif // __MMF_DURATION_INFO_CUSTOM_COMMANDS_H__
   1.152 +