Initialize Tizen 2.3
[apps/osp/Contacts.git] / inc / CtContactValueListItemProvider.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Flora License, Version 1.1 (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
7 //
8 //     http://floralicense.org/license/
9 //
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.
15 //
16
17 /**
18  * @file        CtContactValueListItemProvider.h
19  * @brief       This is the header file for the ContactValueListItemProvider class.
20  */
21
22 #ifndef _CT_CONTACT_VALUE_LIST_ITEM_PROVIDER_H_
23 #define _CT_CONTACT_VALUE_LIST_ITEM_PROVIDER_H_
24
25 #include <FBase.h>
26 #include <FUi.h>
27
28 class ContactValueListItemProvider
29         : public Tizen::Ui::Controls::IListViewItemProvider
30 {
31 public:
32         ContactValueListItemProvider(Tizen::Base::Collection::IList* pContactValueList);
33         virtual ~ContactValueListItemProvider(void);
34
35         virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);
36         virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);
37         virtual int GetItemCount(void);
38
39 private:
40         Tizen::Base::Collection::IList* __pContactValueList;
41 };
42
43
44 #endif /* _CT_CONTACT_VALUE_LIST_ITEM_PROVIDER_H_ */