RemoteDrawingEngine: Reduce RP_READ_BITMAP result timeout.
[haiku.git] / src / preferences / filetypes / PreferredAppMenu.h
blobc15c0c582f9641671dde70180565d368f2790cdf
1 /*
2 * Copyright 2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef PREFERRED_APP_MENU_H
6 #define PREFERRED_APP_MENU_H
9 #include <SupportDefs.h>
11 class BMenu;
12 class BMessage;
13 class BMimeType;
14 class BString;
16 void update_preferred_app_menu(BMenu* menu, BMimeType* type, uint32 what,
17 const char* preferredFrom = NULL);
19 status_t retrieve_preferred_app(BMessage* message, bool sameAs,
20 const char* forType, BString& preferredApp);
22 #endif // PREFERRED_APP_MENU_H