3 * A simple structure that describes a MIDI object.
4 * Currently, it only contains icon data associated with the object.
6 * Copyright 2013, Haiku, Inc. All rights reserved.
7 * Distributed under the terms of the MIT License.
9 * Revisions by Pete Goodeve
11 * Copyright 1999, Be Incorporated. All Rights Reserved.
12 * This file may be used under the terms of the Be Sample Code License.
14 #ifndef ENDPOINTINFO_H
15 #define ENDPOINTINFO_H
17 #include <Mime.h> /* for icon_size */
18 #include <GraphicsDefs.h> /* for color_space */
22 extern const uint8 LARGE_ICON_SIZE
;
23 extern const uint8 MINI_ICON_SIZE
;
24 extern const icon_size DISPLAY_ICON_SIZE
;
25 extern const color_space ICON_COLOR_SPACE
;
31 EndpointInfo(int32 id
);
32 EndpointInfo(const EndpointInfo
& info
);
33 EndpointInfo
& operator=(const EndpointInfo
& info
);
40 const BBitmap
* Icon() const
44 void UpdateProperties(const BMessage
* props
);
51 #endif /* ENDPOINTINFO_H */