|
1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __UNKNOWNMIMEDEFS_H__ |
|
17 #define __UNKNOWNMIMEDEFS_H__ |
|
18 |
|
19 /** @file |
|
20 @publishedPartner |
|
21 @released |
|
22 */ |
|
23 |
|
24 /** generic filename for saving the Unknown Push Msg data */ |
|
25 _LIT(KTempUnknownFileName, "TempData"); |
|
26 |
|
27 |
|
28 /** Mime Types */ |
|
29 |
|
30 //text types |
|
31 _LIT(KTextBasic, "text/*"); // ".txt" |
|
32 _LIT(KTextPlain, "text/plain"); // ".txt" |
|
33 _LIT(KTextRich, "text/rtf"); // ".rtf" |
|
34 _LIT(KTextXML, "text/xml"); // ".xml" |
|
35 _LIT(KTextHTML, "text/html"); // ".html" |
|
36 _LIT(KTextWML, "text/vnd.wap.wml"); // ".wml" |
|
37 _LIT(KTextWMLScript,"text/vnd.wap.wmlscript"); // ".wmls" ? |
|
38 _LIT(KTextMSWord,"application/msword"); // ".doc" |
|
39 _LIT(KTextMSWord95,"application/msword95"); // ".doc" |
|
40 _LIT(KTextMSWord97,"application/msword97"); // ".doc" |
|
41 _LIT(KTextMSWord00,"application/msword00"); // ".doc" |
|
42 _LIT(KTextMSWord2000,"application/msword2000"); // ".doc" |
|
43 |
|
44 |
|
45 |
|
46 // Image types |
|
47 _LIT(KImageBasic, "image/*"); // Don't handle or use ".bmp" ? |
|
48 _LIT(KImageGIF, "image/gif"); // ".gif" |
|
49 _LIT(KImageJPEG, "image/jpeg"); // ".jpg" |
|
50 _LIT(KImageTIFF, "image/tiff"); // ".tif" |
|
51 _LIT(KImageWBMP, "image/vnd.wap.wbmp"); // ".wbmp" |
|
52 |
|
53 // Audio types |
|
54 _LIT(KAudioBasic, "audio/basic"); // ".wav" ?? |
|
55 |
|
56 //Video |
|
57 _LIT(KVideoMpeg, "video/mpeg"); // ".mpg" ?? |
|
58 |
|
59 //Application types |
|
60 _LIT(KAppXML, "application/xml"); // ".xml" |
|
61 _LIT(KAppWMLC, "application/vnd.wap.wmlc"); // ".wmlc" |
|
62 _LIT(KAppWBXML, "application/vnd.wap.wbxml"); // ".wmlc" ?? |
|
63 _LIT(KAppSIS, "application/vnd.symbian.install"); // ".sis" |
|
64 |
|
65 |
|
66 // Extensions for the file holding the Unknown Push Msg data |
|
67 _LIT(KStdUnknownExt, ".dat"); |
|
68 _LIT(KUnknownTextExt, ".txt"); |
|
69 _LIT(KUnknownDocExt, ".doc"); |
|
70 _LIT(KUnknownRTextExt, ".rtf"); |
|
71 _LIT(KUnknownXmlExt, ".xml"); |
|
72 _LIT(KUnknownHtmlExt, ".html"); |
|
73 _LIT(KUnknownWmlExt, ".wml"); |
|
74 // _LIT(KUnknownWmlsExt, ".wmls"); |
|
75 |
|
76 _LIT(KUnknownGifExt, ".gif"); |
|
77 _LIT(KUnknownJpegExt, ".jpg"); |
|
78 _LIT(KUnknownTiffExt, ".tif"); |
|
79 _LIT(KUnknownWbmpExt, ".wbmp"); |
|
80 |
|
81 //_LIT(KUnknownBasicAudioExt, ".wav"); |
|
82 //_LIT(KUnknownVidMpegExt, ".mpg"); |
|
83 |
|
84 _LIT(KUnknownWmlcExt, ".wmlc"); |
|
85 _LIT(KUnknownSISExt, ".sis"); |
|
86 |
|
87 |
|
88 |
|
89 |
|
90 |
|
91 |
|
92 |
|
93 |
|
94 |
|
95 |
|
96 #endif |