equal
deleted
inserted
replaced
|
1 |
|
2 /* |
|
3 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
4 * All rights reserved. |
|
5 * This component and the accompanying materials are made available |
|
6 * under the terms of "Eclipse Public License v1.0" |
|
7 * which accompanies this distribution, and is available |
|
8 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 * |
|
10 * Initial Contributors: |
|
11 * Nokia Corporation - initial contribution. |
|
12 * |
|
13 * Contributors: |
|
14 * |
|
15 * Description: |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef XAFRAMEWORKMANAGER_H |
|
20 #define XAFRAMEWORKMANAGER_H |
|
21 |
|
22 #include <stdlib.h> |
|
23 |
|
24 typedef enum |
|
25 { |
|
26 FWMgrMOUnknown, |
|
27 FWMgrMOPlayer, |
|
28 FWMgrMORecorder |
|
29 } FWMgrMOType; |
|
30 |
|
31 typedef enum |
|
32 { |
|
33 FWMgrFWUknown, |
|
34 FWMgrFWMMF, |
|
35 FWMgrFWGST |
|
36 } FWMgrFwType; |
|
37 |
|
38 typedef enum |
|
39 { |
|
40 FWMgrFalse, |
|
41 FWMgrTrue |
|
42 } FWMgrBool; |
|
43 |
|
44 typedef struct FrameworkMap_ FrameworkMap; |
|
45 |
|
46 struct FrameworkMap_ |
|
47 { |
|
48 FWMgrMOType moType; |
|
49 int uriSchemeCount; |
|
50 char **uriSchemes; |
|
51 int fileExtCount; |
|
52 char **fileExts; |
|
53 FWMgrFwType fwType; |
|
54 FrameworkMap *next; |
|
55 }; |
|
56 |
|
57 |
|
58 FrameworkMap* XAFrameworkMgr_CreateFrameworkMap(void); |
|
59 #ifdef _DEBUG |
|
60 void XAFrameworkMgr_DumpFrameworkMap(FrameworkMap *map); |
|
61 #endif |
|
62 void XAFrameworkMgr_DeleteFrameworkMap(FrameworkMap **map); |
|
63 |
|
64 FWMgrFwType XAFrameworkMgr_GetFramework( |
|
65 FrameworkMap *map, |
|
66 const char *uri, |
|
67 FWMgrMOType mediaObject); |
|
68 |
|
69 #endif //XAFRAMEWORKMANAGER_H |