2 * Copyright 2003-2008 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT license.
10 #ifndef __HEVENTLIST_H__
11 #define __HEVENTLIST_H__
14 #include <ColumnListView.h>
24 class HEventRow
: public BRow
{
26 HEventRow(const char* event_name
,
30 const char* Name() const { return fName
.String(); }
31 const char* Path() const { return fPath
.String(); }
32 void Remove(const char* type
);
33 void SetPath(const char* path
);
42 M_EVENT_CHANGED
= 'SCAG'
46 class HEventList
: public BColumnListView
{
48 HEventList(const char* name
= "EventList");
49 virtual ~HEventList();
51 void SetType(const char* type
);
52 void SetPath(const char* path
);
55 virtual void SelectionChanged();
62 #endif // __HEVENTLIST_H__