root/src/preferences/keymap/KeymapListItem.cpp
/*
 * Copyright 2004-2006 Haiku Inc. All rights reserved.
 * Distributed under the terms of the MIT License.
 *
 * Authors:
 *              Sandor Vroemisse
 *              Jérôme Duval
 */


#include "KeymapListItem.h"


KeymapListItem::KeymapListItem(entry_ref& keymap, const char* name)
        :
        BStringItem(name != NULL ? name : keymap.name),
        fKeymap(keymap)
{
}