Files
haiku-beta6/src/preferences/keymap/KeymapListItem.cpp
T

29 lines
713 B
C++
Raw Normal View History

2004-07-14 16:10:25 +00:00
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
//
// Copyright (c) 2004, Haiku
//
// This software is part of the Haiku distribution and is covered
// by the Haiku license.
//
//
// File: KeymapListItem.cpp
// Author: Sandor Vroemisse, Jérôme Duval
// Description: Keymap Preferences
// Created : July 12, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
2002-07-09 12:24:59 +00:00
/*
* A BStringItem modified such that it holds
* the BEntry object it corresponds with
*/
#include "KeymapListItem.h"
2004-07-14 16:10:25 +00:00
KeymapListItem::KeymapListItem( entry_ref &keymap, const char* name )
: BStringItem( name ? name : keymap.name ),
fKeymap(keymap)
2002-07-09 12:24:59 +00:00
{
}