git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35218 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2010-01-21 14:38:04 +00:00
parent a292eb4af2
commit 384ed4569c
2 changed files with 8 additions and 6 deletions
+4 -3
View File
@@ -15,8 +15,9 @@
#include "KeymapListItem.h" #include "KeymapListItem.h"
KeymapListItem::KeymapListItem( entry_ref &keymap, const char* name ) KeymapListItem::KeymapListItem(entry_ref& keymap, const char* name)
: BStringItem( name ? name : keymap.name ), :
fKeymap(keymap) BStringItem(name ? name : keymap.name),
fKeymap(keymap)
{ {
} }
+4 -3
View File
@@ -19,12 +19,13 @@
*/ */
class KeymapListItem : public BStringItem { class KeymapListItem : public BStringItem {
public: public:
KeymapListItem(entry_ref& keymap, const char* name = NULL); KeymapListItem(entry_ref& keymap,
const char* name = NULL);
entry_ref& EntryRef() { return fKeymap; }; entry_ref& EntryRef() { return fKeymap; };
protected: protected:
entry_ref fKeymap; entry_ref fKeymap;
}; };
#endif // KEYMAP_LIST_ITEM_H #endif // KEYMAP_LIST_ITEM_H