devsoundextensions/effects/Loudness/LoudnessMessageHandler/src/EffectDataQueItem.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: This file contains definitions of the queue item class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef EFFECTDATAQUEITEM_H |
|
22 #define EFFECTDATAQUEITEM_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32base.h> |
|
26 |
|
27 |
|
28 // DATA TYPES |
|
29 |
|
30 // CLASS DECLARATION |
|
31 |
|
32 |
|
33 /** |
|
34 * Class to encapsulate a queue item. |
|
35 * |
|
36 * @lib VolumeMessageHandlerlib |
|
37 * @since 2.0 |
|
38 */ |
|
39 class CEffectDataQueItem : public CBase |
|
40 { |
|
41 public: // Constructors and destructor |
|
42 |
|
43 /** |
|
44 * Two-phased constructor. |
|
45 */ |
|
46 static CEffectDataQueItem* NewL( TDesC8* aDataBuffer ); |
|
47 |
|
48 /** |
|
49 * Destructor. |
|
50 */ |
|
51 virtual ~CEffectDataQueItem(); |
|
52 |
|
53 TDesC8& EffectData(); |
|
54 |
|
55 private: |
|
56 |
|
57 /** |
|
58 * C++ default constructor. |
|
59 */ |
|
60 CEffectDataQueItem(); |
|
61 |
|
62 /** |
|
63 * Construct a queue item object and initialize it with |
|
64 * @param aDataBuffer Buffer containing data |
|
65 */ |
|
66 void ConstructL( TDesC8* aDataBuffer ); |
|
67 |
|
68 public: |
|
69 // next item |
|
70 TSglQueLink* iLink; |
|
71 |
|
72 private: // Data |
|
73 |
|
74 // Data buffer |
|
75 HBufC8* iData; |
|
76 |
|
77 }; |
|
78 |
|
79 |
|
80 #endif // EFFECTDATAQUEITEM_H |
|
81 // End of File |