KeymapListItem comment and style fixes

This commit is contained in:
John Scipione 2013-05-12 21:34:10 -04:00
parent a62422fc9c
commit e90aead4f9
2 changed files with 8 additions and 9 deletions

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)
{
}

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,