epoc32/include/remconcoreapitarget.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
     1.1 --- a/epoc32/include/remconcoreapitarget.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/remconcoreapitarget.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 @@ -13,8 +13,6 @@
    1.16  // Description:
    1.17  //
    1.18  
    1.19 -
    1.20 -
    1.21  /**
    1.22   @file
    1.23   @publishedAll
    1.24 @@ -48,6 +46,17 @@
    1.25  	*/
    1.26  	IMPORT_C static CRemConCoreApiTarget* NewL(CRemConInterfaceSelector& aInterfaceSelector, 
    1.27  		MRemConCoreApiTargetObserver& aObserver);
    1.28 +	/**
    1.29 +	Factory function.
    1.30 +	@param aInterfaceSelector The interface selector. The client must have 
    1.31 +	created one of these first.
    1.32 +	@param aObserver The observer of this interface.
    1.33 +	@param aFeatureSupported The Array is used to stote features supportd by the client 
    1.34 +	
    1.35 +	@return A new CRemConCoreApiTarget, owned by the interface selector.
    1.36 +	*/
    1.37 +	IMPORT_C static CRemConCoreApiTarget* NewL(CRemConInterfaceSelector& aInterfaceSelector, 
    1.38 +			MRemConCoreApiTargetObserver& aObserver,const RArray<TRemConCoreApiOperationId>& aFeatureSupported);
    1.39  	
    1.40  	/** Destructor */
    1.41  	IMPORT_C ~CRemConCoreApiTarget();
    1.42 @@ -505,6 +514,7 @@
    1.43  	*/
    1.44  	CRemConCoreApiTarget(CRemConInterfaceSelector& aInterfaceSelector, 
    1.45  		MRemConCoreApiTargetObserver& aObserver);
    1.46 +    void ConstructL(const RArray<TRemConCoreApiOperationId>& aFeaturesSupported);
    1.47  
    1.48  private: // utility
    1.49  	/**
    1.50 @@ -528,6 +538,8 @@
    1.51  	void HandleSelectDiskFunction(const TDesC8& aData, TRemConCoreApiButtonAction aButton);
    1.52  	void HandleSelectAvInputFunction(const TDesC8& aData, TRemConCoreApiButtonAction aButton);
    1.53  	void HandleSelectAudioInputFunction(const TDesC8& aData, TRemConCoreApiButtonAction aButton);
    1.54 +private :
    1.55 +	void RemConCoreSetFeatures(TBool* aFeatureSupported);
    1.56  
    1.57  private: // unowned
    1.58  	MRemConCoreApiTargetObserver& iObserver;