xref: /haiku/headers/os/be_apps/NetPositive/NetPositive.h (revision a84e14ca84d32e9469c91372d71556488bd3d48b)
1*7749d0bbSStephan Aßmus /*
2*7749d0bbSStephan Aßmus  * Copyright 2011, Haiku Inc. All Rights Reserved.
3*7749d0bbSStephan Aßmus  * Distributed under the terms of the MIT License.
4*7749d0bbSStephan Aßmus  */
55d9e40feSAxel Dörfler #ifndef	_NETPOSITIVE_H
65d9e40feSAxel Dörfler #define	_NETPOSITIVE_H
75d9e40feSAxel Dörfler 
85d9e40feSAxel Dörfler 
9*7749d0bbSStephan Aßmus // Message command constants
10*7749d0bbSStephan Aßmus // These are not supported by WebPositive at this time and only exists for
11*7749d0bbSStephan Aßmus // compile time backwards compatibility.
125d9e40feSAxel Dörfler enum {
13*7749d0bbSStephan Aßmus 	// This message could be sent to the NetPositive application, a window, or a
14*7749d0bbSStephan Aßmus 	// replicant view. The receiver expected the URL in a "be:url" string field.
155d9e40feSAxel Dörfler 	B_NETPOSITIVE_OPEN_URL		= 'NPOP',
165d9e40feSAxel Dörfler 
17*7749d0bbSStephan Aßmus 	// These commands could be sent to a window or replicant view.
185d9e40feSAxel Dörfler 	B_NETPOSITIVE_BACK			= 'NPBK',
195d9e40feSAxel Dörfler 	B_NETPOSITIVE_FORWARD		= 'NPFW',
205d9e40feSAxel Dörfler 	B_NETPOSITIVE_HOME			= 'NPHM',
215d9e40feSAxel Dörfler 	B_NETPOSITIVE_RELOAD		= 'NPRL',
225d9e40feSAxel Dörfler 	B_NETPOSITIVE_STOP			= 'NPST',
235d9e40feSAxel Dörfler 	B_NETPOSITIVE_DOWN			= 'NPDN',
245d9e40feSAxel Dörfler 	B_NETPOSITIVE_UP			= 'NPUP'
255d9e40feSAxel Dörfler };
265d9e40feSAxel Dörfler 
275d9e40feSAxel Dörfler 
28*7749d0bbSStephan Aßmus // NetPositive related MIME types
29*7749d0bbSStephan Aßmus // The first one is useless on Haiku, unless NetPositive was manually installed,
30*7749d0bbSStephan Aßmus // the second one is still used for URL files saved by WebPositive.
315d9e40feSAxel Dörfler #define B_NETPOSITIVE_APP_SIGNATURE  		"application/x-vnd.Be-NPOS"
325d9e40feSAxel Dörfler #define B_NETPOSITIVE_BOOKMARK_SIGNATURE 	"application/x-vnd.Be-bookmark"
335d9e40feSAxel Dörfler 
345d9e40feSAxel Dörfler 
35*7749d0bbSStephan Aßmus #endif // _NETPOSITIVE_H
36