1/*
2 * Copyright 2004-2009 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Sandor Vroemisse
7 *		Jérôme Duval
8 */
9#ifndef KEYMAP_LIST_ITEM_H
10#define KEYMAP_LIST_ITEM_H
11
12
13#include <ListItem.h>
14#include <Entry.h>
15
16
17/*!	A BStringItem modified such that it holds
18	the BEntry object it corresponds with
19*/
20class KeymapListItem : public BStringItem {
21public:
22								KeymapListItem(entry_ref& keymap,
23									const char* name = NULL);
24
25			entry_ref&			EntryRef() { return fKeymap; };
26
27protected:
28			entry_ref			fKeymap;
29};
30
31#endif	// KEYMAP_LIST_ITEM_H
32