xref: /haiku/headers/os/be_apps/NetPositive/NetPositive.h (revision 220d04022750f40f8bac8f01fa551211e28d04f2)
1 /*
2  * Copyright 2011, Haiku Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef	_NETPOSITIVE_H
6 #define	_NETPOSITIVE_H
7 
8 
9 // Message command constants
10 // These are not supported by WebPositive at this time and only exists for
11 // compile time backwards compatibility.
12 enum {
13 	// This message could be sent to the NetPositive application, a window, or a
14 	// replicant view. The receiver expected the URL in a "be:url" string field.
15 	B_NETPOSITIVE_OPEN_URL		= 'NPOP',
16 
17 	// These commands could be sent to a window or replicant view.
18 	B_NETPOSITIVE_BACK			= 'NPBK',
19 	B_NETPOSITIVE_FORWARD		= 'NPFW',
20 	B_NETPOSITIVE_HOME			= 'NPHM',
21 	B_NETPOSITIVE_RELOAD		= 'NPRL',
22 	B_NETPOSITIVE_STOP			= 'NPST',
23 	B_NETPOSITIVE_DOWN			= 'NPDN',
24 	B_NETPOSITIVE_UP			= 'NPUP'
25 };
26 
27 
28 // NetPositive related MIME types
29 // The first one is useless on Haiku, unless NetPositive was manually installed,
30 // the second one is still used for URL files saved by WebPositive.
31 #define B_NETPOSITIVE_APP_SIGNATURE  		"application/x-vnd.Be-NPOS"
32 #define B_NETPOSITIVE_BOOKMARK_SIGNATURE 	"application/x-vnd.Be-bookmark"
33 
34 
35 #endif // _NETPOSITIVE_H
36