ARB
|
#include "awt_config_manager.hxx"
#include "awt.hxx"
#include <aw_window.hxx>
#include <aw_global_awars.hxx>
#include <aw_awars.hxx>
#include <aw_root.hxx>
#include <aw_msg.hxx>
#include <arbdbt.h>
#include <gb_aci.h>
#include <arb_defs.h>
Go to the source code of this file.
Macros | |
#define | WWW_COUNT 10 |
#define | AWAR_WWW_SELECT "www/url_select" |
#define | AWAR_WWW_SELECT_TEMPLATE "www/url_%i/select" |
#define | AWAR_WWW_TEMPLATE "www/url_%i/srt" |
#define | AWAR_WWW_DESC_TEMPLATE "www/url_%i/desc" |
Functions | |
char * | extract_url_host (const char *templ) |
bool | url_host_matches (const char *templ1, const char *templ2) |
void | awt_create_aww_vars (AW_root *aw_root, AW_default aw_def) |
GB_ERROR | awt_open_ACI_URL_with_item (AW_root *aw_root, GBDATA *gb_main, GBDATA *gb_item, const char *url_aci) |
GB_ERROR | awt_openDefaultURL_with_item (AW_root *aw_root, GBDATA *gb_main, GBDATA *gb_item) |
static void | awt_openDefaultURL_on_selected_species (AW_window *aww, GBDATA *gb_main) |
static void | awt_www_select_change (AW_window *aww, int selected) |
static void | www_setup_config (AWT_config_definition &cdef) |
AW_window * | AWT_create_www_window (AW_root *aw_root, GBDATA *gb_main) |
void | AWT_openURL (AW_window *aww, const char *url) |
#define WWW_COUNT 10 |
Definition at line 25 of file AWT_www.cxx.
Referenced by awt_create_aww_vars(), AWT_create_www_window(), awt_www_select_change(), and www_setup_config().
#define AWAR_WWW_SELECT "www/url_select" |
Definition at line 26 of file AWT_www.cxx.
Referenced by awt_create_aww_vars(), AWT_create_www_window(), awt_openDefaultURL_with_item(), and awt_www_select_change().
#define AWAR_WWW_SELECT_TEMPLATE "www/url_%i/select" |
Definition at line 27 of file AWT_www.cxx.
Referenced by awt_create_aww_vars(), AWT_create_www_window(), awt_www_select_change(), and www_setup_config().
#define AWAR_WWW_TEMPLATE "www/url_%i/srt" |
Definition at line 28 of file AWT_www.cxx.
Referenced by awt_create_aww_vars(), AWT_create_www_window(), awt_openDefaultURL_with_item(), and www_setup_config().
#define AWAR_WWW_DESC_TEMPLATE "www/url_%i/desc" |
Definition at line 29 of file AWT_www.cxx.
Referenced by awt_create_aww_vars(), AWT_create_www_window(), and www_setup_config().
Definition at line 31 of file AWT_www.cxx.
References ARB_strpartdup(), and NULp.
Referenced by url_host_matches().
Definition at line 42 of file AWT_www.cxx.
References ARB_stricmp(), and extract_url_host().
Referenced by awt_create_aww_vars().
void awt_create_aww_vars | ( | AW_root * | aw_root, |
AW_default | aw_def | ||
) |
Definition at line 54 of file AWT_www.cxx.
References ARB_global_awars_initialized(), ARRAY_ELEMS, AW_root::awar_int(), AW_root::awar_string(), AWAR_WWW_DESC_TEMPLATE, AWAR_WWW_SELECT, AWAR_WWW_SELECT_TEMPLATE, AWAR_WWW_TEMPLATE, awt_assert, GBS_global_string(), AW_awar::read_char_pntr(), STATIC_ASSERT, url_host_matches(), AW_awar::write_string(), and WWW_COUNT.
Referenced by nt_create_all_awars().
GB_ERROR awt_open_ACI_URL_with_item | ( | AW_root * | aw_root, |
GBDATA * | gb_main, | ||
GBDATA * | gb_item, | ||
const char * | url_aci | ||
) |
Definition at line 120 of file AWT_www.cxx.
References AW_openURL(), error(), GB_await_error(), GB_command_interpreter_in_env(), GB_entry(), GB_read_char_pntr(), and NULp.
Referenced by AWT_input_mask_browse_url(), and awt_openDefaultURL_with_item().
Definition at line 148 of file AWT_www.cxx.
References AW_root::awar(), AWAR_WWW_SELECT, AWAR_WWW_TEMPLATE, awt_open_ACI_URL_with_item(), error(), GBS_global_string(), AW_awar::read_int(), and AW_awar::read_string().
Referenced by awt_openDefaultURL_on_selected_species(), and launch_MapViewer_cb().
Definition at line 159 of file AWT_www.cxx.
References aw_message(), AW_root::awar(), AWAR_SPECIES_NAME, awt_openDefaultURL_with_item(), error(), GBS_global_string(), GBT_find_species(), AW_window::get_root(), NULp, and AW_awar::read_string().
Referenced by AWT_create_www_window().
Definition at line 176 of file AWT_www.cxx.
References AW_root::awar(), AWAR_WWW_SELECT, AWAR_WWW_SELECT_TEMPLATE, GBS_global_string(), AW_window::get_root(), AW_awar::write_int(), and WWW_COUNT.
Referenced by AWT_create_www_window().
|
static |
Definition at line 185 of file AWT_www.cxx.
References AWT_config_definition::add(), AWAR_WWW_DESC_TEMPLATE, AWAR_WWW_SELECT_TEMPLATE, AWAR_WWW_TEMPLATE, and WWW_COUNT.
Referenced by AWT_create_www_window().
Definition at line 194 of file AWT_www.cxx.
References AW_POPDOWN(), AW_ROOT_DEFAULT, AW_root::awar(), AWAR_WWW_BROWSER, AWAR_WWW_DESC_TEMPLATE, AWAR_WWW_SELECT, AWAR_WWW_SELECT_TEMPLATE, AWAR_WWW_TEMPLATE, AWT_insert_config_manager(), awt_openDefaultURL_on_selected_species(), awt_www_select_change(), AW_window::load_xfig(), makeHelpCallback(), NULp, AW_awar::read_int(), WWW_COUNT, and www_setup_config().
Referenced by popup_new_main_window().
Definition at line 268 of file AWT_www.cxx.
References AW_openURL(), and AW_window::get_root().
Referenced by popup_new_main_window().