equal
deleted
inserted
replaced
|
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: Record for an attribute retrieval error |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef T_GLXFETCHERROR_H |
|
22 #define T_GLXFETCHERROR_H |
|
23 |
|
24 #include <e32base.h> |
|
25 #include <mpxattribute.h> |
|
26 |
|
27 /** |
|
28 * TGlxFetchError |
|
29 * |
|
30 * Contains information about an attribute retrieval error |
|
31 * |
|
32 * @lib glxmedialists.lib |
|
33 */ |
|
34 class TGlxFetchError |
|
35 { |
|
36 public: |
|
37 /** |
|
38 * Constructor. Timestamp is set to current universal time. |
|
39 * @param aAttr The attribute with the error |
|
40 * @param aError The error code to record |
|
41 */ |
|
42 TGlxFetchError(TMPXAttribute aAttr, TInt aError); |
|
43 |
|
44 public: |
|
45 /// The errored attribute |
|
46 TMPXAttribute iAttr; |
|
47 /// The error code |
|
48 TInt iError; |
|
49 /// Timestamp of when the error was recorded |
|
50 TDateTime iTimestamp; |
|
51 }; |
|
52 |
|
53 #endif // T_GLXFETCHERROR_H |