diff -r 000000000000 -r c3e98f10fcf4 localconnectivityservice/obexsendservices/obexserviceirsend/inc/IrSSProvider.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/localconnectivityservice/obexsendservices/obexserviceirsend/inc/IrSSProvider.h Mon Jan 18 21:03:15 2010 +0200 @@ -0,0 +1,134 @@ +/* +* Copyright (c) 2002 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 IR_SENDING_SERVICE_PROVIDER_H +#define IR_SENDING_SERVICE_PROVIDER_H + +// INCLUDES +#include + + +#include "IRClient.h" + +// FORWARD DECLARATIONS + + + +// CLASS DECLARATION + +/** +* Provides BT sending services +* +*/ +class CIRSSProvider : public CAiwServiceIfMenu + { + public: // Constructors and destructor + + /** + * Two-phased constructor. + */ + static CIRSSProvider* NewL(); + + /** + * Destructor. + */ + virtual ~CIRSSProvider(); + + + public: // Functions from base classes + + /** + * From CAiwServiceIfMenu Not used + * @since 2.6 + * @param aFrameworkCallback Not used + * @param aInterest Not used + * @return None + */ + virtual void InitialiseL( MAiwNotifyCallback& aFrameworkCallback, + const RCriteriaArray& aInterest ); + + /** + * From CAiwServiceIfMenu Processes service command + * and starts bt sending + * @since 2.6 + * @param aCmdId Command id + * @param aInParamList Not used + * @param aOutParamList List of files + * @param aCmdOptions Not used + * @param aCallback Not used + * @return None + */ + virtual void HandleServiceCmdL( const TInt& aCmdId, + const CAiwGenericParamList& aInParamList, + CAiwGenericParamList& aOutParamList, + TUint aCmdOptions, + const MAiwNotifyCallback* aCallback ); + + + virtual void InitializeMenuPaneL( CAiwMenuPane& aMenuPane, + TInt aIndex, + TInt /* aCascadeId */, + const CAiwGenericParamList& aInParamList ); + /** + * From CAiwServiceIfBase Processes service command + * and starts bt sending + * @since 2.6 + * @param aCmdId Command id + * @param aInParamList Not used + * @param aOutParamList List of files + * @param aCmdOptions Not used + * @param aCallback Not used + * @return None + */ + virtual void HandleMenuCmdL(TInt aMenuCmdId, + const CAiwGenericParamList& aInParamList, + CAiwGenericParamList& aOutParamList, + TUint aCmdOptions, + const MAiwNotifyCallback* aCallback ); + + + + + + + private: + + + + + private: + + /** + * C++ default constructor. + */ + CIRSSProvider(); + + /** + * By default Symbian 2nd phase constructor is private. + */ + void ConstructL(); + + private: // Data + + CIRClient* iIRClient; + }; + +#endif // BT_SENDING_SERVICE_PROVIDER_H + +// End of File