2011-10-29 19:38:20 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2011, Haiku Inc. All Rights Reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2004-02-26 22:35:02 +03:00
|
|
|
#ifndef _NETPOSITIVE_H
|
|
|
|
#define _NETPOSITIVE_H
|
|
|
|
|
|
|
|
|
2011-10-29 19:38:20 +04:00
|
|
|
// Message command constants
|
|
|
|
// These are not supported by WebPositive at this time and only exists for
|
|
|
|
// compile time backwards compatibility.
|
2004-02-26 22:35:02 +03:00
|
|
|
enum {
|
2011-10-29 19:38:20 +04:00
|
|
|
// This message could be sent to the NetPositive application, a window, or a
|
|
|
|
// replicant view. The receiver expected the URL in a "be:url" string field.
|
2004-02-26 22:35:02 +03:00
|
|
|
B_NETPOSITIVE_OPEN_URL = 'NPOP',
|
|
|
|
|
2011-10-29 19:38:20 +04:00
|
|
|
// These commands could be sent to a window or replicant view.
|
2004-02-26 22:35:02 +03:00
|
|
|
B_NETPOSITIVE_BACK = 'NPBK',
|
|
|
|
B_NETPOSITIVE_FORWARD = 'NPFW',
|
|
|
|
B_NETPOSITIVE_HOME = 'NPHM',
|
|
|
|
B_NETPOSITIVE_RELOAD = 'NPRL',
|
2011-10-29 19:38:20 +04:00
|
|
|
B_NETPOSITIVE_STOP = 'NPST',
|
2004-02-26 22:35:02 +03:00
|
|
|
B_NETPOSITIVE_DOWN = 'NPDN',
|
|
|
|
B_NETPOSITIVE_UP = 'NPUP'
|
|
|
|
};
|
|
|
|
|
2011-10-29 19:38:20 +04:00
|
|
|
|
|
|
|
// NetPositive related MIME types
|
|
|
|
// The first one is useless on Haiku, unless NetPositive was manually installed,
|
|
|
|
// the second one is still used for URL files saved by WebPositive.
|
2004-02-26 22:35:02 +03:00
|
|
|
#define B_NETPOSITIVE_APP_SIGNATURE "application/x-vnd.Be-NPOS"
|
|
|
|
#define B_NETPOSITIVE_BOOKMARK_SIGNATURE "application/x-vnd.Be-bookmark"
|
|
|
|
|
|
|
|
|
2011-10-29 19:38:20 +04:00
|
|
|
#endif // _NETPOSITIVE_H
|