|
1 /* |
|
2 * Copyright (c) 2008-2009 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: Get request |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef GLXGETREQUEST_H_ |
|
22 #define GLXGETREQUEST_H_ |
|
23 |
|
24 // INCLUDES |
|
25 #include "glxrequest.h" |
|
26 #include <glxmediaid.h> |
|
27 #include <mpxattribute.h> |
|
28 #include <mpxfilter.h> |
|
29 |
|
30 // FORWARD DECLARATIONS |
|
31 |
|
32 // CONSTANTS |
|
33 |
|
34 // CLASS DECLARATION |
|
35 |
|
36 /** |
|
37 * CGlxGetRequest class |
|
38 * |
|
39 * @internal reviewed 11/07/2007 by Dave Schofield |
|
40 */ |
|
41 class CGlxGetRequest : public CGlxRequest |
|
42 { |
|
43 public: |
|
44 virtual ~CGlxGetRequest(); |
|
45 IMPORT_C static CGlxGetRequest* NewL(const RArray<TGlxMediaId>& aMediaIdArray, |
|
46 const RArray<TMPXAttribute>& aAttributeArray, |
|
47 const RArray<TMPXAttribute>& aCpiAttributeArray, |
|
48 const TUid& aCollectionPluginUid, |
|
49 CMPXFilter* aFilter=NULL, |
|
50 const TBool aDoNotNeedDataSource = EFalse); |
|
51 public: |
|
52 inline const RArray<TGlxMediaId>& MediaIds() const; |
|
53 inline TArray<TMPXAttribute> Attributes() const; |
|
54 inline TArray<TMPXAttribute> CpiAttributes() const; |
|
55 inline TBool CpiAttributesSet() const; |
|
56 inline void AppendCpiAttributeL(const TMPXAttribute& aAttribute); |
|
57 |
|
58 private: |
|
59 CGlxGetRequest(const RArray<TGlxMediaId>& aMediaIdArray, |
|
60 const RArray<TMPXAttribute>& aAttributeArray, |
|
61 const RArray<TMPXAttribute>& aCpiAttributeArray, |
|
62 const TUid& aCollectionPluginUid, |
|
63 const TBool aDoNotNeedDataSource); |
|
64 |
|
65 private: |
|
66 RArray<TGlxMediaId> iMediaIdArray; |
|
67 RArray<TMPXAttribute> iAttributeArray; |
|
68 RArray<TMPXAttribute> iCpiAttributeArray; |
|
69 }; |
|
70 |
|
71 #include "glxgetrequest.inl" |
|
72 |
|
73 #endif // GLXGETREQUEST_H_ |