sl@0: /* sl@0: * Copyright (c) 2004 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: Definition of custom command utility classes sl@0: * sl@0: */ sl@0: sl@0: sl@0: #ifndef __CUSTOMCOMMANDUTILITY_H sl@0: #define __CUSTOMCOMMANDUTILITY_H sl@0: sl@0: #include sl@0: #include sl@0: //#include "CustomCommandTypes.h" sl@0: sl@0: sl@0: // FORWARD DECLARATION sl@0: class CMdaAudioConvertUtility; sl@0: class CMdaAudioPlayerUtility; sl@0: class CMdaAudioRecorderUtility; sl@0: class CMidiClientUtility; sl@0: class CDrmPlayerUtility; sl@0: class CVideoPlayerUtility; sl@0: class CVideoRecorderUtility; sl@0: sl@0: // CLASS DECLARATION sl@0: class CCustomCommandUtility : public CBase, sl@0: public MCustomCommand sl@0: { sl@0: public: sl@0: sl@0: IMPORT_C static CCustomCommandUtility* NewL(CMdaAudioConvertUtility& aUtility); sl@0: sl@0: IMPORT_C static CCustomCommandUtility* NewL(CMdaAudioPlayerUtility& aUtility); sl@0: sl@0: IMPORT_C static CCustomCommandUtility* NewL(CMdaAudioRecorderUtility& aUtility, sl@0: TBool aRecordStream); sl@0: sl@0: IMPORT_C static CCustomCommandUtility* NewL(CMidiClientUtility& aUtility); sl@0: sl@0: IMPORT_C static CCustomCommandUtility* NewL(CDrmPlayerUtility& aUtility); sl@0: sl@0: IMPORT_C static CCustomCommandUtility* NewL(CVideoPlayerUtility& aUtility); sl@0: sl@0: IMPORT_C static CCustomCommandUtility* NewL(CVideoRecorderUtility& aUtility); sl@0: }; sl@0: sl@0: #endif