dbg.h file is removed.
[profile/tv/apps/native/filebrowser.git] / src / views / Dummy / DummyContent.cpp
1 #include <AppCommon.h>
2 #include "DummyContent.h"
3
4
5 #define TOTAL_REL_CONTENTS 10
6
7
8 /* Dummy content for testing. Actuals should come from app store */
9 struct CDummyContent::SRelativeContent rltv_ctnt_list[] = {
10         {
11                 "Rel Content 1",
12                 "",
13                 "CONTENT1"
14         },
15         {
16                 "Rel Content 2",
17                 "",
18                 "CONTENT2"
19         },
20         {
21                 "Rel Content 3",
22                 "",
23                 "CONTENT3"
24         },
25         {
26                 "Rel Content 4",
27                 "",
28                 "CONTENT4"
29         },
30         {
31                 "Rel Content 5",
32                 "",
33                 "CONTENT5"
34         },
35         {
36                 "Rel Content 6",
37                 "",
38                 "CONTENT6"
39         },
40         {
41                 "Rel Content 7",
42                 "",
43                 "CONTENT7"
44         },
45         {
46                 "Rel Content 8",
47                 "",
48                 "CONTENT8"
49         },
50         {
51                 "Rel Content 9",
52                 "",
53                 "CONTENT9"
54         },
55         {
56                 "Rel Content 10",
57                 "",
58                 "CONTENT10"
59         }
60 };
61
62
63 Eina_List *CDummyContent::ListLinkApp(int type)
64 {
65         /*Dummy function. Actual should come from app store*/
66         Eina_List *list = NULL;
67         int i;
68
69         for (i = 0; i < 2; i++)
70                 list = eina_list_append(list, &rltv_ctnt_list[i]);
71
72         return list;
73 }
74
75
76 Eina_List *CDummyContent::ListRelative(int type)
77 {
78         /*Dummy function. Actual should come from app store*/
79         Eina_List *list = NULL;
80         int i;
81
82         for (i = 0; i < TOTAL_REL_CONTENTS; i++)
83                 list = eina_list_append(list, &rltv_ctnt_list[i]);
84
85         return list;
86 }