2012-07-22 18:48:55 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2012 Michael Drake <tlsa@netsurf-browser.org>
|
|
|
|
*
|
|
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
|
|
*
|
|
|
|
* NetSurf is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* NetSurf is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** \file
|
|
|
|
* Useful interned string pointers (interface).
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NETSURF_UTILS_CORESTRINGS_H_
|
|
|
|
#define NETSURF_UTILS_CORESTRINGS_H_
|
|
|
|
|
|
|
|
#include <libwapcaplet/libwapcaplet.h>
|
|
|
|
#include "utils/errors.h"
|
|
|
|
|
|
|
|
nserror corestrings_init(void);
|
|
|
|
void corestrings_fini(void);
|
|
|
|
|
|
|
|
/* lwc_string strings */
|
|
|
|
extern lwc_string *corestring_lwc_a;
|
|
|
|
extern lwc_string *corestring_lwc_abscenter;
|
|
|
|
extern lwc_string *corestring_lwc_absmiddle;
|
|
|
|
extern lwc_string *corestring_lwc_align;
|
|
|
|
extern lwc_string *corestring_lwc_applet;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern lwc_string *corestring_lwc_base;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_baseline;
|
|
|
|
extern lwc_string *corestring_lwc_body;
|
|
|
|
extern lwc_string *corestring_lwc_bottom;
|
2012-07-22 21:01:10 +04:00
|
|
|
extern lwc_string *corestring_lwc_button;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_caption;
|
|
|
|
extern lwc_string *corestring_lwc_center;
|
2013-02-24 17:15:05 +04:00
|
|
|
extern lwc_string *corestring_lwc_charset;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_checkbox;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern lwc_string *corestring_lwc_circle;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_col;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern lwc_string *corestring_lwc_default;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_div;
|
|
|
|
extern lwc_string *corestring_lwc_embed;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_file;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_font;
|
2012-07-26 18:57:33 +04:00
|
|
|
extern lwc_string *corestring_lwc_frame;
|
|
|
|
extern lwc_string *corestring_lwc_frameset;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_h1;
|
|
|
|
extern lwc_string *corestring_lwc_h2;
|
|
|
|
extern lwc_string *corestring_lwc_h3;
|
|
|
|
extern lwc_string *corestring_lwc_h4;
|
|
|
|
extern lwc_string *corestring_lwc_h5;
|
|
|
|
extern lwc_string *corestring_lwc_h6;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern lwc_string *corestring_lwc_head;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_hidden;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_hr;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern lwc_string *corestring_lwc_html;
|
2012-10-08 22:26:35 +04:00
|
|
|
extern lwc_string *corestring_lwc_https;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_iframe;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_image;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_img;
|
|
|
|
extern lwc_string *corestring_lwc_input;
|
|
|
|
extern lwc_string *corestring_lwc_justify;
|
|
|
|
extern lwc_string *corestring_lwc_left;
|
2012-10-12 19:21:29 +04:00
|
|
|
extern lwc_string *corestring_lwc_li;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern lwc_string *corestring_lwc_link;
|
2012-07-26 17:49:27 +04:00
|
|
|
extern lwc_string *corestring_lwc_meta;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_middle;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_multipart_form_data;
|
2012-07-26 18:57:33 +04:00
|
|
|
extern lwc_string *corestring_lwc_no;
|
2012-07-26 17:49:27 +04:00
|
|
|
extern lwc_string *corestring_lwc_noscript;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_object;
|
2012-07-26 18:57:33 +04:00
|
|
|
extern lwc_string *corestring_lwc_optgroup;
|
|
|
|
extern lwc_string *corestring_lwc_option;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_p;
|
2012-07-26 18:57:33 +04:00
|
|
|
extern lwc_string *corestring_lwc_param;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_password;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern lwc_string *corestring_lwc_poly;
|
|
|
|
extern lwc_string *corestring_lwc_polygon;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_post;
|
|
|
|
extern lwc_string *corestring_lwc_radio;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern lwc_string *corestring_lwc_rect;
|
|
|
|
extern lwc_string *corestring_lwc_rectangle;
|
2012-07-26 17:49:27 +04:00
|
|
|
extern lwc_string *corestring_lwc_refresh;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_reset;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_right;
|
2012-11-04 21:29:26 +04:00
|
|
|
extern lwc_string *corestring_lwc_search;
|
2012-09-19 17:42:05 +04:00
|
|
|
extern lwc_string *corestring_lwc_select;
|
2012-07-26 18:57:33 +04:00
|
|
|
extern lwc_string *corestring_lwc_src;
|
2012-07-26 17:49:27 +04:00
|
|
|
extern lwc_string *corestring_lwc_style;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_submit;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_table;
|
|
|
|
extern lwc_string *corestring_lwc_tbody;
|
|
|
|
extern lwc_string *corestring_lwc_td;
|
|
|
|
extern lwc_string *corestring_lwc_text;
|
|
|
|
extern lwc_string *corestring_lwc_textarea;
|
|
|
|
extern lwc_string *corestring_lwc_texttop;
|
2012-07-26 17:49:27 +04:00
|
|
|
extern lwc_string *corestring_lwc_text_css;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_tfoot;
|
|
|
|
extern lwc_string *corestring_lwc_th;
|
|
|
|
extern lwc_string *corestring_lwc_thead;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_title;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_top;
|
|
|
|
extern lwc_string *corestring_lwc_tr;
|
2012-10-12 19:21:29 +04:00
|
|
|
extern lwc_string *corestring_lwc_ul;
|
2012-07-26 17:49:27 +04:00
|
|
|
extern lwc_string *corestring_lwc_url;
|
2012-07-26 18:57:33 +04:00
|
|
|
extern lwc_string *corestring_lwc_yes;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern lwc_string *corestring_lwc__blank;
|
|
|
|
extern lwc_string *corestring_lwc__parent;
|
|
|
|
extern lwc_string *corestring_lwc__self;
|
|
|
|
extern lwc_string *corestring_lwc__top;
|
2012-07-22 18:48:55 +04:00
|
|
|
|
|
|
|
struct dom_string;
|
|
|
|
|
|
|
|
/* dom_string strings */
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_a;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_abort;
|
|
|
|
extern struct dom_string *corestring_dom_afterprint;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_align;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_area;
|
2012-07-27 19:59:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_async;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_background;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_beforeprint;
|
|
|
|
extern struct dom_string *corestring_dom_beforeunload;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_bgcolor;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_blur;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_border;
|
|
|
|
extern struct dom_string *corestring_dom_bordercolor;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_cancel;
|
|
|
|
extern struct dom_string *corestring_dom_canplay;
|
|
|
|
extern struct dom_string *corestring_dom_canplaythrough;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_cellpadding;
|
|
|
|
extern struct dom_string *corestring_dom_cellspacing;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_change;
|
2012-12-31 03:33:27 +04:00
|
|
|
extern struct dom_string *corestring_dom_charset;
|
2013-01-23 21:00:13 +04:00
|
|
|
extern struct dom_string *corestring_dom_class;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_click;
|
|
|
|
extern struct dom_string *corestring_dom_close;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_color;
|
|
|
|
extern struct dom_string *corestring_dom_cols;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern struct dom_string *corestring_dom_content;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_contextmenu;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_coords;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_cuechange;
|
|
|
|
extern struct dom_string *corestring_dom_dblclick;
|
2012-07-27 19:59:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_defer;
|
2013-02-20 03:51:16 +04:00
|
|
|
extern struct dom_string *corestring_dom_DOMAttrModified;
|
|
|
|
extern struct dom_string *corestring_dom_DOMNodeInserted;
|
|
|
|
extern struct dom_string *corestring_dom_DOMNodeInsertedIntoDocument;
|
|
|
|
extern struct dom_string *corestring_dom_DOMSubtreeModified;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_drag;
|
|
|
|
extern struct dom_string *corestring_dom_dragend;
|
|
|
|
extern struct dom_string *corestring_dom_dragenter;
|
|
|
|
extern struct dom_string *corestring_dom_dragleave;
|
|
|
|
extern struct dom_string *corestring_dom_dragover;
|
|
|
|
extern struct dom_string *corestring_dom_dragstart;
|
|
|
|
extern struct dom_string *corestring_dom_drop;
|
|
|
|
extern struct dom_string *corestring_dom_durationchange;
|
|
|
|
extern struct dom_string *corestring_dom_emptied;
|
|
|
|
extern struct dom_string *corestring_dom_ended;
|
|
|
|
extern struct dom_string *corestring_dom_error;
|
|
|
|
extern struct dom_string *corestring_dom_focus;
|
|
|
|
extern struct dom_string *corestring_dom_hashchange;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_height;
|
|
|
|
extern struct dom_string *corestring_dom_href;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern struct dom_string *corestring_dom_hreflang;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_hspace;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern struct dom_string *corestring_dom_http_equiv;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_id;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_input;
|
|
|
|
extern struct dom_string *corestring_dom_invalid;
|
|
|
|
extern struct dom_string *corestring_dom_keydown;
|
|
|
|
extern struct dom_string *corestring_dom_keypress;
|
|
|
|
extern struct dom_string *corestring_dom_keyup;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_link;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_load;
|
|
|
|
extern struct dom_string *corestring_dom_loadeddata;
|
|
|
|
extern struct dom_string *corestring_dom_loadedmetadata;
|
|
|
|
extern struct dom_string *corestring_dom_loadstart;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_map;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern struct dom_string *corestring_dom_media;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_message;
|
|
|
|
extern struct dom_string *corestring_dom_mousedown;
|
|
|
|
extern struct dom_string *corestring_dom_mousemove;
|
|
|
|
extern struct dom_string *corestring_dom_mouseout;
|
|
|
|
extern struct dom_string *corestring_dom_mouseover;
|
|
|
|
extern struct dom_string *corestring_dom_mouseup;
|
|
|
|
extern struct dom_string *corestring_dom_mousewheel;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_name;
|
|
|
|
extern struct dom_string *corestring_dom_nohref;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_offline;
|
|
|
|
extern struct dom_string *corestring_dom_online;
|
|
|
|
extern struct dom_string *corestring_dom_pagehide;
|
|
|
|
extern struct dom_string *corestring_dom_pageshow;
|
|
|
|
extern struct dom_string *corestring_dom_pause;
|
|
|
|
extern struct dom_string *corestring_dom_play;
|
|
|
|
extern struct dom_string *corestring_dom_playing;
|
|
|
|
extern struct dom_string *corestring_dom_popstate;
|
|
|
|
extern struct dom_string *corestring_dom_progress;
|
|
|
|
extern struct dom_string *corestring_dom_ratechange;
|
2012-12-17 18:55:16 +04:00
|
|
|
extern struct dom_string *corestring_dom_readystatechange;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_rect;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern struct dom_string *corestring_dom_rel;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_reset;
|
|
|
|
extern struct dom_string *corestring_dom_resize;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_rows;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_scroll;
|
|
|
|
extern struct dom_string *corestring_dom_seeked;
|
|
|
|
extern struct dom_string *corestring_dom_seeking;
|
|
|
|
extern struct dom_string *corestring_dom_select;
|
|
|
|
extern struct dom_string *corestring_dom_shape;
|
|
|
|
extern struct dom_string *corestring_dom_show;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_size;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern struct dom_string *corestring_dom_sizes;
|
2012-07-22 21:58:22 +04:00
|
|
|
extern struct dom_string *corestring_dom_src;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_stalled;
|
|
|
|
extern struct dom_string *corestring_dom_storage;
|
2013-02-20 03:51:16 +04:00
|
|
|
extern struct dom_string *corestring_dom_style;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_submit;
|
|
|
|
extern struct dom_string *corestring_dom_suspend;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_target;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_text;
|
2012-07-22 21:58:22 +04:00
|
|
|
extern struct dom_string *corestring_dom_text_javascript;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_timeupdate;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_type;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_unload;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_valign;
|
|
|
|
extern struct dom_string *corestring_dom_vlink;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_volumechange;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_vspace;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_waiting;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_width;
|
|
|
|
|
2012-11-28 21:19:49 +04:00
|
|
|
|
2012-07-22 18:48:55 +04:00
|
|
|
#endif
|