equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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: native mms message's utility class. Provides utility |
|
15 * functions for extracting data from SMIL and/or Attachment manager. |
|
16 */ |
|
17 |
|
18 #ifndef CONVERSATIONS_ENGINE_UTILITY_H |
|
19 #define CONVERSATIONS_ENGINE_UTILITY_H |
|
20 |
|
21 #include <ccsdefs.h> |
|
22 |
|
23 // CONSTANTS |
|
24 _LIT(KUnixEpoch, "19700000:000000.000000"); |
|
25 |
|
26 /** |
|
27 * Utility class for conversationengine. |
|
28 */ |
|
29 class ConversationsEngineUtility |
|
30 { |
|
31 |
|
32 public: |
|
33 |
|
34 /** |
|
35 * Map message type to ConvergedMessage::MessageType. |
|
36 * @param value, TCsType |
|
37 * @return ConvergedMessage::MessageType. |
|
38 */ |
|
39 static int messageType(TCsType value); |
|
40 |
|
41 /** |
|
42 * Map message type to ConvergedMessage::MessageType. |
|
43 * @param value |
|
44 * @return ConvergedMessage::MessageType. |
|
45 */ |
|
46 static int messageType(TInt32 value); |
|
47 |
|
48 }; |
|
49 |
|
50 #endif //CONVERSATIONS_ENGINE_UTILITY_H |