Namespace

Cog – 0.0

The Cog core library

Version0.17.0
AuthorsThe WPE WebKit team
LicenseMIT
Websitehttps://wpewebkit.org
Sourcehttps://github.com/Igalia/cog

Build

C headerscog/cog.h
pkg-config files

Dependencies

GLib The base utility library
Browse documentation
GObject The base type system library
Browse documentation
Gio The GLib input/output library
Browse documentation
Soup The Soup networking library
Browse documentation

Classes

DirectoryFilesHandler

Request handler implementation that loads content from files inside a local directory.

HostRoutesHandler

Direct custom URI scheme requests to different handlers.

Platform
PrefixRoutesHandler

Direct custom URI scheme requests to different handlers.

Shell

A shell managed a WebKit.WebView, the default URI that it will load, the view configuration, and keeps track of a number of registered CogRequestHandler instances.

Interfaces

RequestHandler

Convenience interface which allows implementing custom URI scheme handlers.

Functions

appid_to_dbus_object_path
gamepad_parse_backend
gamepad_set_backend
gamepad_setup
handle_web_view_load_changed

Handles page load status changes, writing status reports to the standard error output.

handle_web_view_load_failed

Handles page load errors, showing a simple error page if needed and logging a message to the standard error output.

handle_web_view_load_failed_with_tls_errors

Handles TLS page load errors, showing a simple error page if needed and logging a message to the standard error output.

handle_web_view_web_process_terminated

Handles unexpected web process termination, showing a simple error page and logging a message to the standard error output.

handle_web_view_web_process_terminated_exit

Handles unexpected web process termination, exiting the program with the value passed as userdata as status.

modules_add_directory

Scans a directory for loadable modules and registers them with the extension points they implement.

modules_foreach

Invokes a callback for each module which implements an extension point.

modules_get_platform_extension_point

Obtain the extension point for platform modules.

modules_get_preferred

Retrieves the default class which implements a certain extension point.

option_entries_from_class
uri_guess_from_user_input

Tries to assemble a valid URI from input that resembles an URI.

web_view_connect_default_error_handlers

Install the default error signal handlers.

web_view_connect_default_progress_handlers

Install the default page load progress signal handlers.

web_view_connect_web_process_terminated_restart_handler

Handles unexpected web process termination, trying to restart the web process up to a maximum number of attempts during a retry window.

webkit_settings_apply_from_key_file

Reads values from a given group of a GLib.KeyFile object, and uses them to set the writable properties of a WebKit.Settings object.