diff -r 2f5c9ee7098c -r 072a5fa0c63b voicerecorder/NewServiceSrc/CNewFileServiceClientImpl.h --- a/voicerecorder/NewServiceSrc/CNewFileServiceClientImpl.h Thu Aug 19 09:57:40 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,93 +0,0 @@ -/* -* Copyright (c) 2002-2006 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: Implementation for client side API -* -*/ - - - -#ifndef NEWFILESERVICECLIENTIMPL_H -#define NEWFILESERVICECLIENTIMPL_H - -// INCLUDES -#include -#include -#include -#include -#include - -// FORWARD DECLARATIONS -class RFile; -class CApaServerAppExitMonitor; -class CAiwGenericParamList; - -// CLASS DECLARATION - -/** -* Actual implementation class for client side API -* -* @lib NewService.lib -* @since Series 60 3.0 -*/ -class CNewFileServiceClientImpl : public CNewFileServiceClient, - public MAknServerAppExitObserver - { - - public: // New functions - - static CNewFileServiceClientImpl* NewL(); - - ~CNewFileServiceClientImpl(); - - public: // From CNewFileServiceClient - TBool NewFileL( CDesCArray& aFileNames, - CAiwGenericParamList* aParams, - TNewServiceFileType aFileType, - TBool aMultipleFiles ); - - TBool NewFileL( TUid aApplicationUid, - CDesCArray& aFileNames, - CAiwGenericParamList* aParams, - TNewServiceFileType aFileType, - TBool aMultipleFiles ); - - TBool NewFileL( RFile& aFileHandle, - CAiwGenericParamList* aParams, - TNewServiceFileType aFileType ); - - TBool NewFileL( TUid aApplicationUid, - RFile& aFileHandle, - CAiwGenericParamList* aParams, - TNewServiceFileType aFileType ); - - public: // from MApaServerAppExitObserver - void HandleServerAppExit( TInt aReason ); - - private: - - void ConstructL(); - - HBufC8* SerializeGenericParamListLC( CAiwGenericParamList* aParams ); - - private: - - CApaServerAppExitMonitor* iServerAppMonitor; - - RNewFileServiceClient iClient; - - }; - -#endif // NEWFILESERVICECLIENTIMPL_H - -// End of File