xref: /haiku/src/bin/urlwrapper.h (revision 5115ca085884f7b604a3d607688f0ca20fb7cf57)
1 /*
2  * Copyright 2007, Haiku. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		François Revol, revol@free.fr
7  */
8 
9 /*
10  * urlwrapper: compile-time configuration of supported protocols.
11  */
12 
13 #define APP_SIGNATURE "application/x-vnd.Haiku-urlwrapper"
14 
15 /*
16  * comment out to disable handling a specific protocol
17  */
18 
19 
20 /* NetPositive Bookmark file type */
21 #define HANDLE_BOOKMARK_FILES
22 
23 /* file: redirects to Tracker */
24 #define HANDLE_FILE
25 
26 /* http: downloads with wget in a Terminal */
27 #define HANDLE_HTTP_WGET
28 
29 /* query: BeOS/Haiku-specific: this should allow putting queries in web pages :) */
30 #define HANDLE_QUERY
31 
32 /* mid: cid: as per RFC 2392 */
33 /* http://www.rfc-editor.org/rfc/rfc2392.txt query MAIL:cid */
34 /* UNIMPLEMENTED */
35 //#define HANDLE_MID_CID
36 
37 /* sh: executes a shell command (before warning user of danger) */
38 #define HANDLE_SH
39 
40 /* beshare: optionaly connect to a server and start a query */
41 #define HANDLE_BESHARE
42 
43 /* icq: msn: ... should open im_client to this user */
44 /* UNIMPLEMENTED */
45 //#define HANDLE_IM
46 
47 /* mms: rtp: rtsp: opens the stream with VLC */
48 #define HANDLE_VLC
49 
50 /* audio: redirects SoundPlay-urls for shoutcast streams */
51 /* UNIMPLEMENTED */
52 //#define HANDLE_AUDIO
53