1#include "urlwrapper.h" 2 3resource app_signature APP_SIGNATURE; 4/*resource app_flags B_MULTIPLE_LAUNCH | B_BACKGROUND_APP | B_ARGV_ONLY;*/ 5resource app_flags B_MULTIPLE_LAUNCH | B_BACKGROUND_APP; 6 7resource(1, "BEOS:FILE_TYPES") message 8{ 9#ifdef HANDLE_BOOKMARK_FILES 10 "types" = "application/x-vnd.Be-bookmark", 11#endif 12#ifdef HANDLE_URL_FILES 13 /* setmime -set text/x-url -short "Internet Shortcut" -long "Internet Shortcut File" -sniffRule '0.80 ("[InternetShortcut]")' */ 14 "types" = "wwwserver/redirection", 15 "types" = "application/internet-shortcut", 16 "types" = "application/x-url", 17 "types" = "message/external-body", 18 "types" = "text/url", 19 "types" = "text/x-url", 20#endif 21#ifdef HANDLE_FILE 22 "types" = "application/x-vnd.Be.URL.file", 23#endif 24#ifdef HANDLE_HTTP_WGET 25 "types" = "application/x-vnd.Be.URL.http", 26#endif 27#ifdef HANDLE_QUERY 28 "types" = "application/x-vnd.Be.URL.query", 29#endif 30#ifdef HANDLE_MID_CID 31 "types" = "application/x-vnd.Be.URL.mid", 32 "types" = "application/x-vnd.Be.URL.cid", 33#endif 34#ifdef HANDLE_SH 35 "types" = "application/x-vnd.Be.URL.sh", 36#endif 37#ifdef HANDLE_BESHARE 38 "types" = "application/x-vnd.Be.URL.beshare", 39#endif 40#ifdef HANDLE_IM 41 "types" = "application/x-vnd.Be.URL.icq", 42 "types" = "application/x-vnd.Be.URL.msn", 43#endif 44#ifdef HANDLE_VLC 45 "types" = "application/x-vnd.Be.URL.mms", 46 "types" = "application/x-vnd.Be.URL.rtp", 47 "types" = "application/x-vnd.Be.URL.rtsp", 48#endif 49#ifdef HANDLE_AUDIO 50 "types" = "application/x-vnd.Be.URL.audio", 51#endif 52/* default urls */ 53 "types" = "application/x-vnd.Be.URL.telnet", 54 "types" = "application/x-vnd.Be.URL.ssh", 55 "types" = "application/x-vnd.Be.URL.ftp", 56 "types" = "application/x-vnd.Be.URL.sftp", 57 "types" = "application/x-vnd.Be.URL.finger" 58}; 59 60