docs/ikteam: Delete most files.
[haiku.git] / src / preferences / joysticks / MessagedItem.h
blob2d80d97707e5fadb8901a50289184b8cfa5f5e13
1 /*
2 * Copyright 2007 Haiku.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
7 * Ryan Leavengood, leavengood@gmail.com
8 */
9 #ifndef MESSAGED_ITEM_H
10 #define MESSAGED_ITEM_H
13 #include <Window.h>
14 #include <ListItem.h>
15 #include <Message.h>
16 #include <ListItem.h>
19 class MessagedItem : public BStringItem {
20 public:
21 MessagedItem(const char* label, BMessage* information) : BStringItem(label)
23 fMessage = information;
26 ~MessagedItem()
28 delete fMessage;
31 BMessage* getMessage()
33 return fMessage;
36 protected:
37 BMessage* fMessage;
42 #endif /* MESSAGED_ITEM_H */