NetSurf
browser.h
Go to the documentation of this file.
1/*
2 * Copyright 2003 Phil Mellor <monkeyson@users.sourceforge.net>
3 * Copyright 2006 James Bursa <bursa@users.sourceforge.net>
4 *
5 * This file is part of NetSurf, http://www.netsurf-browser.org/
6 *
7 * NetSurf is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * NetSurf is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20/**
21 * \file
22 * Browser interfaces.
23 */
24
25#ifndef NETSURF_BROWSER_H_
26#define NETSURF_BROWSER_H_
27
28/**
29 * Set the DPI of the browser.
30 *
31 * \param dpi The DPI to set.
32 */
34
35/**
36 * Get the browser DPI.
37 *
38 * \return The DPI in use.
39 */
40int browser_get_dpi(void);
41
42#endif
nserror
Enumeration of error codes.
Definition: errors.h:29
int browser_get_dpi(void)
Get the browser DPI.
Definition: browser.c:45
nserror browser_set_dpi(int dpi)
Set the DPI of the browser.
Definition: browser.c:32