2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Flora License, Version 1.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://floralicense.org/license/
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an AS IS BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
18 * @file PhnActiveCallForm.h
19 * @brief This is the header file for the %DlLogsDetailItemDataProvider class.
21 * This header file contains the declarations for %DlLogsDetailItemDataProvider class.
23 #ifndef _PHN_LOGS_DETAIL_ITEM_PROVIDER_H_
24 #define _PHN_LOGS_DETAIL_ITEM_PROVIDER_H_
29 using namespace Tizen::Ui;
30 using namespace Tizen::Ui::Controls;
36 * @class DlLogsDetailItemDataProvider
37 * @brief This class provides Item provider for list memo
40 class DlLogsDetailItemDataProvider
41 : public IListViewItemProvider
44 DlLogsDetailItemDataProvider(void);
46 ~DlLogsDetailItemDataProvider(void);
48 ///IListViewItemProvider method
49 virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);
51 ///IListViewItemProvider method
52 virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);
54 ///IListViewItemProvider method
55 virtual int GetItemCount(void);
57 void SetViewMode(bool mode);
59 void ResetDetailsList(void);
62 static const int ID_NAME_STRING;
63 static const int ID_NUMBER_STRING;
64 static const int ID_TIME_STRING;
65 static const int ID_CALLTYPE_BITMAP;
67 static const int X_TEXT_LINE1_ITEM;
68 static const int Y_TEXT_LINE1_ITEM;
69 static const int H_TEXT_LINE1_ITEM;
70 static const int W_TEXT_LINE1_ITEM;
72 static const int X_TEXT_LINE2_ITEM;
73 static const int Y_TEXT_LINE2_ITEM;
74 static const int H_TEXT_LINE2_ITEM;
75 static const int W_TEXT_LINE2_ITEM;
77 static const int X_TEXT_TIME_ITEM;
78 static const int Y_TEXT_TIME_ITEM;
79 static const int H_TEXT_TIME_ITEM;
80 static const int W_TEXT_TIME_ITEM;
83 static const int X_CALLTYPE_BITMAP_ITEM;
84 static const int Y_CALLTYPE_BITMAP_ITEM;
85 static const int H_CALLTYPE_BITMAP_ITEM;
86 static const int W_CALLTYPE_BITMAP_ITEM;
89 CallLogManager* __pCallMgr;
90 Tizen::Base::Collection::IListT<CallLogDetails>* __pCalllogListByNumber;
93 #endif /* _PHN_LOGS_DETAIL_ITEM_PROVIDER_H_ */