xref: /haiku/headers/libs/icon/IconEditorProtocol.h (revision 1acbe440b8dd798953bec31d18ee589aa3f71b73)
1 /*
2  * Copyright 2006, Haiku. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  */
6 
7 #ifndef ICON_EDITOR_PROTOCOL_H
8 #define ICON_EDITOR_PROTOCOL_H
9 
10 enum {
11 	B_EDIT_ICON_DATA	= 'EICN',
12 	// the message needs to contain these fields:
13 	// B_MESSENGER_TYPE		"reply to"		the messenger to which
14 	//										B_ICON_DATA_EDITED messages should
15 	//										be sent
16 	// B_VECTOR_ICON_TYPE	"icon data"		OPTIONAL - the original vector icon data
17 	//										- if missing, a new icon is created
18 
19 	B_ICON_DATA_EDITED	= 'ICNE',
20 	// the message needs to contain these fields:
21 	// B_VECTOR_ICON_TYPE	"icon data"		the changed icon data, do with it
22 	//										as you please, the message is sent
23 	//										to the specified messenger and is
24 	//										the result of the user having
25 	//										decided to "save" the edited icon
26 };
27 
28 #endif // ICON_EDITOR_PROTOCOL_H
29