* Added two more public functions: get_named_icon().
* Implemented B_GET_ICON_NAME in get_device_icon(). * Comments welcome. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27004 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -50,6 +50,10 @@ status_t get_device_icon(const char* device, BBitmap* icon, icon_size which);
|
||||
status_t get_device_icon(const char* device, uint8** _data, size_t* _size,
|
||||
type_code* _type);
|
||||
|
||||
status_t get_named_icon(const char* name, BBitmap* icon, icon_size which);
|
||||
status_t get_named_icon(const char* name, uint8** _data, size_t* _size,
|
||||
type_code* _type);
|
||||
|
||||
// include MimeType.h for convenience
|
||||
# include <MimeType.h>
|
||||
#endif // __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user