xref: /haiku/src/tests/kits/app/broster/RosterTestAppDefs.h (revision 3b590dd8c1eca2ae5562ddcbf08113b115807e48)
1 // RosterTestAppDefs.h
2 #ifndef ROSTER_TEST_APP_DEF_H
3 #define ROSTER_TEST_APP_DEF_H
4 
5 // message codes
6 enum {
7 	MSG_STARTED				= 'strt',	// "path": B_STRING_TYPE
8 	MSG_TERMINATED			= 'term',	//
9 	MSG_MAIN_ARGS			= 'args',	// "argc": B_INT32_TYPE,
10 										// "argv": B_STRING_TYPE[]
11 	MSG_ARGV_RECEIVED		= 'argv',	// "argc": B_INT32_TYPE,
12 										// "argv": B_STRING_TYPE[]
13 	MSG_REFS_RECEIVED		= 'refs',	// "refs": B_REF_TYPE[]
14 	MSG_MESSAGE_RECEIVED	= 'mesg',	// "message": B_MESSAGE_TYPE
15 	MSG_QUIT_REQUESTED		= 'quit',	//
16 	MSG_READY_TO_RUN		= 'redy',	//
17 	MSG_1					= 'msg1',	//
18 	MSG_2					= 'msg2',	//
19 	MSG_3					= 'msg3',	//
20 	MSG_REPLY				= 'rply',	//
21 };
22 
23 // Argh, a macro! But that way, we avoid a compiler warning.
24 #define kDefaultTestAppSignature \
25 	"application/x-vnd.obos-roster-launch-app-default"
26 
27 #endif	// ROSTER_TEST_APP_DEF_H
28