xref: /haiku/src/tests/kits/app/bmessenger/SMReplyTarget.h (revision 4f00613311d0bd6b70fa82ce19931c41f071ea4e)
1 // SMReplyTarget.h
2 
3 #ifndef SM_REPLY_TARGET_H
4 #define SM_REPLY_TARGET_H
5 
6 #include <Messenger.h>
7 
8 class SMHandler;
9 class SMLooper;
10 
11 class SMReplyTarget {
12 public:
13 	SMReplyTarget(bool preferred = false);
14 	virtual ~SMReplyTarget();
15 
16 	virtual BHandler *Handler();
17 	virtual BMessenger Messenger();
18 
19 	virtual bool ReplySuccess();
20 
21 private:
22 	SMHandler	*fHandler;
23 	SMLooper	*fLooper;
24 };
25 
26 #endif	// SM_REPLY_TARGET_H
27