/* * Copyright 2004-2009 Haiku Inc. All rights reserved. * Distributed under the terms of the MIT License. * * Authors: * Sandor Vroemisse * Jérôme Duval */ #ifndef KEYMAP_LIST_ITEM_H #define KEYMAP_LIST_ITEM_H #include #include /*! A BStringItem modified such that it holds the BEntry object it corresponds with */ class KeymapListItem : public BStringItem { public: KeymapListItem(entry_ref& keymap, const char* name = NULL); entry_ref& EntryRef() { return fKeymap; }; protected: entry_ref fKeymap; }; #endif // KEYMAP_LIST_ITEM_H