2006-11-17 06:04:08 +03:00
|
|
|
/*
|
|
|
|
* Copyright 2006, Haiku. All rights reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ICON_EDITOR_PROTOCOL_H
|
|
|
|
#define ICON_EDITOR_PROTOCOL_H
|
|
|
|
|
|
|
|
enum {
|
2007-04-19 23:28:57 +04:00
|
|
|
B_EDIT_ICON_DATA = 'EICN',
|
2006-11-17 06:04:08 +03:00
|
|
|
// the message needs to contain these fields:
|
|
|
|
// B_MESSENGER_TYPE "reply to" the messenger to which
|
|
|
|
// B_ICON_DATA_EDITED messages should
|
|
|
|
// be sent
|
|
|
|
// B_VECTOR_ICON_TYPE "icon data" OPTIONAL - the original vector icon data
|
|
|
|
// - if missing, a new icon is created
|
|
|
|
|
2007-04-19 23:28:57 +04:00
|
|
|
B_ICON_DATA_EDITED = 'ICNE',
|
2006-11-17 06:04:08 +03:00
|
|
|
// the message needs to contain these fields:
|
|
|
|
// B_VECTOR_ICON_TYPE "icon data" the changed icon data, do with it
|
|
|
|
// as you please, the message is sent
|
|
|
|
// to the specified messenger and is
|
|
|
|
// the result of the user having
|
|
|
|
// decided to "save" the edited icon
|
2007-04-19 23:28:57 +04:00
|
|
|
B_CANCEL_EDITING_ICON_DATA = 'CEIC',
|
|
|
|
// the application requesting an icon to be edited is no longer interested
|
|
|
|
// TODO: think of a way to tell the original application if the icon was
|
|
|
|
// still changed, and if it wants to do anything with the changed icon
|
2006-11-17 06:04:08 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ICON_EDITOR_PROTOCOL_H
|