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: This file contains definitions of the queue item class. sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: sl@0: #ifndef EFFECTDATAQUEITEM_H sl@0: #define EFFECTDATAQUEITEM_H sl@0: sl@0: // INCLUDES sl@0: #include sl@0: sl@0: sl@0: // DATA TYPES sl@0: sl@0: // CLASS DECLARATION sl@0: sl@0: sl@0: /** sl@0: * Class to encapsulate a queue item. sl@0: * sl@0: * @lib SourceOrientationMessageHandlerlib sl@0: * @since 2.0 sl@0: */ sl@0: class CEffectDataQueItem : public CBase sl@0: { sl@0: public: // Constructors and destructor sl@0: sl@0: /** sl@0: * Two-phased constructor. sl@0: */ sl@0: static CEffectDataQueItem* NewL( TDesC8* aDataBuffer ); sl@0: sl@0: /** sl@0: * Destructor. sl@0: */ sl@0: virtual ~CEffectDataQueItem(); sl@0: sl@0: TDesC8& EffectData(); sl@0: sl@0: private: sl@0: sl@0: /** sl@0: * C++ default constructor. sl@0: */ sl@0: CEffectDataQueItem(); sl@0: sl@0: /** sl@0: * Construct a queue item object and initialize it with sl@0: * @param aDataBuffer Buffer containing data sl@0: */ sl@0: void ConstructL( TDesC8* aDataBuffer ); sl@0: sl@0: public: sl@0: // next item sl@0: TSglQueLink* iLink; sl@0: sl@0: private: // Data sl@0: sl@0: // Data buffer sl@0: HBufC8* iData; sl@0: sl@0: }; sl@0: sl@0: sl@0: #endif // EFFECTDATAQUEITEM_H sl@0: // End of File