KeymapListItem comment and style fixes

This commit is contained in:
John Scipione
2014-02-20 15:03:41 -05:00
parent a62422fc9c
commit e90aead4f9
2 changed files with 8 additions and 9 deletions
+2 -6
View File
@@ -7,17 +7,13 @@
* Jérôme Duval
*/
/*
* A BStringItem modified such that it holds
* the BEntry object it corresponds with
*/
#include "KeymapListItem.h"
KeymapListItem::KeymapListItem(entry_ref& keymap, const char* name)
:
BStringItem(name ? name : keymap.name),
BStringItem(name != NULL ? name : keymap.name),
fKeymap(keymap)
{
}
+6 -3
View File
@@ -10,13 +10,16 @@
#define KEYMAP_LIST_ITEM_H
/*
* A BStringItem modified so that it holds the BEntry object of the
* corresponding keymap.
*/
#include <ListItem.h>
#include <Entry.h>
/*! A BStringItem modified such that it holds
the BEntry object it corresponds with
*/
class KeymapListItem : public BStringItem {
public:
KeymapListItem(entry_ref& keymap,