xref: /haiku/src/preferences/keymap/KeymapListItem.h (revision b55a57da7173b9af0432bd3e148d03f06161d036)
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 */
20 class KeymapListItem : public BStringItem {
21 public:
22 	KeymapListItem(entry_ref& keymap, const char* name = NULL);
23 
24 	entry_ref& EntryRef() { return fKeymap; };
25 
26 protected:
27 	entry_ref	fKeymap;
28 };
29 
30 #endif	// KEYMAP_LIST_ITEM_H
31