KeymapListItem comment and style fixes
This commit is contained in:
@@ -7,17 +7,13 @@
|
|||||||
* Jérôme Duval
|
* Jérôme Duval
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
* A BStringItem modified such that it holds
|
|
||||||
* the BEntry object it corresponds with
|
|
||||||
*/
|
|
||||||
|
|
||||||
#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),
|
BStringItem(name != NULL ? name : keymap.name),
|
||||||
fKeymap(keymap)
|
fKeymap(keymap)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,13 +10,16 @@
|
|||||||
#define KEYMAP_LIST_ITEM_H
|
#define KEYMAP_LIST_ITEM_H
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* A BStringItem modified so that it holds the BEntry object of the
|
||||||
|
* corresponding keymap.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <ListItem.h>
|
#include <ListItem.h>
|
||||||
#include <Entry.h>
|
#include <Entry.h>
|
||||||
|
|
||||||
|
|
||||||
/*! A BStringItem modified such that it holds
|
|
||||||
the BEntry object it corresponds with
|
|
||||||
*/
|
|
||||||
class KeymapListItem : public BStringItem {
|
class KeymapListItem : public BStringItem {
|
||||||
public:
|
public:
|
||||||
KeymapListItem(entry_ref& keymap,
|
KeymapListItem(entry_ref& keymap,
|
||||||
|
|||||||
Reference in New Issue
Block a user