22#include <Application.h>
27#ifndef B_BEOS_VERSION_DANO
28#define B_UI_SETTINGS_CHANGED '_UIC'
31#define CALLED() fprintf(stderr, "%s()\n", __FUNCTION__);
39 const char *username,
const char *password,
40 nserror (*cb)(
const char *username,
73char *
find_resource(
char *buf,
const char *filename,
const char *def);
static const __attribute__((used))
nserror gui_401login_open(struct nsurl *url, const char *realm, const char *username, const char *password, nserror(*cb)(const char *username, const char *password, void *pw), void *cbpw)
void nsbeos_gui_view_source(struct hlcache_handle *content)
Send the source of a content to a text editor.
image_id nsbeos_find_app_path(char *path)
void nsbeos_gui_poll(void)
int gui_init_replicant(int argc, char **argv)
called when replicated from NSBaseView::Instantiate()
void nsbeos_pipe_message_top(BMessage *message, BWindow *_this, struct beos_scaffolding *scaffold)
void nsbeos_pipe_message(BMessage *message, BView *_this, struct gui_window *gui)
char * find_resource(char *buf, const char *filename, const char *def)
Locate a shared resource file by searching known places in order.
bool replicated
if we are running as a replicant
void die(const char *const error) __attribute__((noreturn))
Cause an abnormal program termination.
nserror beos_warn_user(const char *warning, const char *detail)
Display a warning for a serious problem (eg memory exhaustion).
void nsbeos_update_system_ui_colors(void)
char * options_file_location
virtual void AboutRequested()
virtual void MessageReceived(BMessage *message)
virtual void ArgvReceived(int32 argc, char **argv)
virtual ~NSBrowserApplication()
virtual bool QuitRequested()
virtual void RefsReceived(BMessage *message)
nserror
Enumeration of error codes.
struct nsurl nsurl
NetSurf URL object.
Content which corresponds to a single URL.
first entry in window list
static nserror path(const struct redraw_context *ctx, const plot_style_t *pstyle, const float *p, unsigned int n, const float transform[6])
Plots a path.