merge with master
[apps/osp/Internet.git] / inc / IntTypes.h
1 //\r
2 \r
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
4 //\r
5 // Licensed under the Flora License, Version 1.0 (the License);\r
6 // you may not use this file except in compliance with the License.\r
7 // You may obtain a copy of the License at\r
8 //\r
9 //     http://floralicense.org/license/\r
10 //\r
11 // Unless required by applicable law or agreed to in writing, software\r
12 // distributed under the License is distributed on an AS IS BASIS,\r
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
14 // See the License for the specific language governing permissions and\r
15 // limitations under the License.\r
16 //\r
17 \r
18 //!Internet\r
19 /*@file: IntTypes.h\r
20  *@brief: This is the header file for TableType\r
21  */\r
22 #ifndef _INT_TYPES_H\r
23 #define _INT_TYPES_H\r
24 \r
25 #include <FGraphics.h>\r
26 \r
27 static const int NB_DB_PRIMARY_KEY = -1;\r
28 static const int MAX_NB_DB_ID_LEN = 100;\r
29 static const int MAX_NB_DB_TITLE_LEN = 100000;\r
30 static const int MAX_NB_DB_CONTENT_LEN = 100000;\r
31 \r
32 static const int MAX_NOTE_TABLE_COLUMN = 15;\r
33 static const int MAX_NOTEBOOK_TABLE_COLUMN = 8;\r
34 \r
35 static const int IDA_BUTTON_NO = 1000;\r
36 static const int IDA_BUTTON_YES = 1001;\r
37 \r
38 static const unsigned int CUSTOM_COLOR_GREY = Tizen::Graphics::Color32<124,124,124>::Value;\r
39 static const unsigned int CUSTOM_COLOR_TRANSPARENT = Tizen::Graphics::Color32<0,0,0>::Value;\r
40 static const unsigned int CUSTOM_BACKGROUND_COLOR_LISTVIEW = Tizen::Graphics::Color32<236,240,242>::Value;\r
41 static const unsigned int CUSTOM_BACKGROUND_COLOR_LISTVIEW_PRESSED_HIGHLIGHTED = Tizen::Graphics::Color32<42, 137, 194>::Value;\r
42 static const unsigned int CUSTOM_COLOR_LISTVIEW_TEXT = Tizen::Graphics::Color32<249,249,249>::Value;\r
43 static const unsigned int CUSTOM_COLOR_BROWN = Tizen::Graphics::Color32<32, 32, 32>::Value;\r
44 static const unsigned int CUSTOM_COLOR_INFO_LABEL = Tizen::Graphics::Color32<68, 68, 68>::Value;\r
45 static const unsigned int CUSTOM_BACKGROUND_COLOR_PREVIEW_PANEL = Tizen::Graphics::Color32<81,81,81>::Value;\r
46 static const unsigned int CUSTOM_BACKGROUND_COLOR_PREVIEW_PANEL_INACTIVE = Tizen::Graphics::Color32<0,0,0,20>::Value;\r
47 static const unsigned int CUSTOM_COLOR_PREVIEW_PANEL_PRESSED_RECTANGLE = Tizen::Graphics::Color32<7,180,211>::Value;\r
48 static const unsigned int CUSTOM_COLOR_LISTVIEW_TEXT2 = Tizen::Graphics::Color32<70,70,70>::Value;\r
49 static const unsigned int CUSTOM_COLOR_SETTINGS_TEXT = Tizen::Graphics::Color32<128, 128, 128>::Value;\r
50 static const unsigned int CUSTOM_COLOR_SETTINGS_LISTITEM_BACKGROUND = Tizen::Graphics::Color32<248, 246, 239>::Value;\r
51 static const unsigned int CUSTOM_COLOR_SETTINGS_LISTITEM_RADIO_BACKGROUND = Tizen::Graphics::Color32<220, 218, 211>::Value;\r
52 static const unsigned int CUSTOM_COLOR_SETTINGS_GROUPTITLE = Tizen::Graphics::Color32<59, 115, 182>::Value;\r
53 \r
54 enum BrowserDbTableTypes\r
55 {\r
56         DB_TYPE_INVALID = -1,\r
57         DB_TYPE_BOOKMARKURLS,\r
58         //DB_TYPE_BOOKMARKFOLDERS,\r
59         DB_TYPE_HISTORYDATA,\r
60         DB_TYPE_FAVICON,\r
61         DB_TYPE_MAX\r
62 };\r
63 \r
64 \r
65 #endif // _INT_TYPES_H\r
66 \r