diff -r 26673e532f65 -r 159fc2f68139 ImagePrint/ImagePrintUI/imageprintprovider/inc/caiwprintpreviewprovider.h --- a/ImagePrint/ImagePrintUI/imageprintprovider/inc/caiwprintpreviewprovider.h Tue May 25 12:42:41 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,93 +0,0 @@ -/* -* Copyright (c) 2004-2007 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: -* -*/ - - -#ifndef CAIWPRINTPREVIEWPROVIDER_H -#define CAIWPRINTPREVIEWPROVIDER_H - -#include -#include -#include - -#include "caiwimageprintif.h" - -const TUid KPrintPropertyCat = {0x10012345}; -enum TPrintPropertyKeys - { - EPrintProperty, - }; - -enum - { - ENotAiwCall, - EAiwPrintCall, - EAiwQuickPrintCall - }; - -class CAiwPrintPreviewProvider : - public CAiwImagePrintIf, - public MAknServerAppExitObserver - - { - public: //Constructors and destructors - static CAiwPrintPreviewProvider* NewL(); - - ~CAiwPrintPreviewProvider(); - - public: // from MAknServerAppExitObserver - void HandleServerAppExit( TInt aReason ); - - private: // Implementation - void LaunchImagePrintApplicationL(); - - private: // From CAiwImagePrintIf - void InitialiseL(MAiwNotifyCallback& aFrameworkCallback, - const RCriteriaArray& aInterest); - - - void HandleServiceCmdL( const TInt& aCmdId, - const CAiwGenericParamList& aInParamList, - CAiwGenericParamList& aOutParamList, - TUint aCmdOptions = 0, - const MAiwNotifyCallback* aCallback = NULL); - - void InitializeMenuPaneL( CAiwMenuPane& aMenuPane, - TInt aIndex, - TInt aCascadeId, - const CAiwGenericParamList& aInParamList); - - void HandleMenuCmdL( TInt aMenuCmdId, - const CAiwGenericParamList& aInParamList, - CAiwGenericParamList& aOutParamList, - TUint aCmdOptions = 0, - const MAiwNotifyCallback* aCallback = NULL); - - void HandleLaunchRequestL( const CAiwGenericParamList& aInParamList, - CAiwGenericParamList& aOutParamList, - const MAiwNotifyCallback* aCallback = NULL); - - private: // Data - CAknLaunchAppService* iService; - - const CAiwGenericParamList *iConsumerInParamList; - CAiwGenericParamList *iConsumerOutParamList; - const MAiwNotifyCallback *iConsumerCallback; - }; - -#endif // CAIWPRINTPREVIEWPROVIDER_H - -// End of File