sl@0: // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0: // All rights reserved.
sl@0: // This component and the accompanying materials are made available
sl@0: // under the terms of "Eclipse Public License v1.0"
sl@0: // which accompanies this distribution, and is available
sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0: //
sl@0: // Initial Contributors:
sl@0: // Nokia Corporation - initial contribution.
sl@0: //
sl@0: // Contributors:
sl@0: //
sl@0: // Description:
sl@0: // This contains internal class used by mmfcontroller framework
sl@0: // 
sl@0: //
sl@0: 
sl@0: #ifndef MMFMATCHDATA_H
sl@0: #define MMFMATCHDATA_H
sl@0: 
sl@0: /**
sl@0: class used to hold both the Matching data and uri scheme 
sl@0: */
sl@0: 
sl@0: class CMatchData; // declared here.
sl@0: 
sl@0: NONSHARABLE_CLASS( CMatchData ): public CBase
sl@0: 	{
sl@0: public:
sl@0: 	static CMatchData* CreateL();
sl@0: 	
sl@0: 	void SetMatchDataL(const TDesC8& aMatchData);
sl@0: 	
sl@0: 	void SetMatchUriSchemeL(const TDesC8& aMatchUriScheme);
sl@0: 	
sl@0: 	~CMatchData();
sl@0: 	
sl@0: 	const TDesC8& MatchData() const;
sl@0: 	const TDesC8& MatchUriScheme() const;
sl@0: 	
sl@0: private:
sl@0: 	HBufC8* iMatchData;
sl@0: 	HBufC8* iMatchUriScheme;
sl@0: 	};
sl@0:   
sl@0: #endif  
sl@0: