60
|
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: Tag collection plugin definition
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
#ifndef C_GLXTAGCOLLECTIONPLUGIN_H
|
|
23 |
#define C_GLXTAGCOLLECTIONPLUGIN_H
|
|
24 |
|
|
25 |
// INCLUDES
|
|
26 |
#include <glxcollectionpluginbase.h> //Plugin Base Class
|
|
27 |
/**
|
|
28 |
* @internal reviewed 14/06/2007 by Alex Birkett
|
|
29 |
*/
|
|
30 |
|
|
31 |
const TInt KGlxCollectionTagLevel = KGlxCollectionRootLevel + 1; //Tag Collection Level
|
|
32 |
const TInt KGlxCollectionTagContentsLevel = KGlxCollectionRootLevel + 2; //Tag contents Level
|
|
33 |
const TInt KGlxCollectionTagFSContentsLevel = KGlxCollectionRootLevel + 3; //Tag FS contents Level
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
// CLASS DECLARATION
|
|
38 |
/**
|
|
39 |
* Tag collection plugin
|
|
40 |
*/
|
|
41 |
NONSHARABLE_CLASS(CGlxCollectionPluginTags) : public CGlxCollectionPluginBase
|
|
42 |
{
|
|
43 |
public: // Constructors and destructor
|
|
44 |
/**
|
|
45 |
* Two-phased constructor
|
|
46 |
*
|
|
47 |
* @param aObs observer
|
|
48 |
* @return object of constructed
|
|
49 |
*/
|
|
50 |
static CGlxCollectionPluginTags* NewL(TAny* aObs);
|
|
51 |
|
|
52 |
/**
|
|
53 |
* Destructor
|
|
54 |
*/
|
|
55 |
~CGlxCollectionPluginTags();
|
|
56 |
|
|
57 |
private :
|
|
58 |
/**
|
|
59 |
* Constructor
|
|
60 |
* @param aObs MMPXCollectionPluginObserver instance
|
|
61 |
*/
|
|
62 |
CGlxCollectionPluginTags(MMPXCollectionPluginObserver* aObs);
|
|
63 |
|
|
64 |
/**
|
|
65 |
* ConstructL
|
|
66 |
*/
|
|
67 |
void ConstructL();
|
|
68 |
|
|
69 |
private:
|
|
70 |
//From CGlxCollectionPluginBase
|
|
71 |
|
|
72 |
void CpiAttributeAdditionalAttributesL(const TMPXAttribute& aCpiAttribute
|
|
73 |
, RArray<TMPXAttribute>& aAttributeArray);
|
|
74 |
|
|
75 |
|
|
76 |
void HandleCpiAttributeResponseL(CMPXMedia* aResponse,
|
|
77 |
TArray<TMPXAttribute> aCpiAttributes, TArray<TGlxMediaId> aMediaIds);
|
|
78 |
TBool IsUpdateMessageIgnored(CMPXMessage& aMessage);
|
|
79 |
|
|
80 |
void HandleCpiAttributeResponseL(CMPXMedia* aResponse, TArray<TMPXAttribute> aCpiAttributes,
|
|
81 |
TGlxMediaId aMediaId);
|
|
82 |
|
|
83 |
TGlxFilterProperties DefaultFilter(TInt aLevel);
|
|
84 |
|
|
85 |
};
|
|
86 |
|
|
87 |
#endif // C_GLXTAGCOLLECTIONPLUGIN_H
|
|
88 |
|
|
89 |
//End Of File
|