1 /* 2 * Copyright 2004-2006 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 10 /* 11 * A BStringItem modified such that it holds 12 * the BEntry object it corresponds with 13 */ 14 15 #include "KeymapListItem.h" 16 17 18 KeymapListItem::KeymapListItem( entry_ref &keymap, const char* name ) 19 : BStringItem( name ? name : keymap.name ), 20 fKeymap(keymap) 21 { 22 } 23