diff options
author | Perberos <[email protected]> | 2011-12-01 21:42:39 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-12-01 21:42:39 -0300 |
commit | fe8aea1c3b5348347633da18a02b0bffd3b266a1 (patch) | |
tree | 9881bf77df7572844707cc7c50bd8ca6b5a97076 /doc | |
download | libmateweather-fe8aea1c3b5348347633da18a02b0bffd3b266a1.tar.bz2 libmateweather-fe8aea1c3b5348347633da18a02b0bffd3b266a1.tar.xz |
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'doc')
36 files changed, 7935 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am new file mode 100644 index 0000000..1e02b60 --- /dev/null +++ b/doc/Makefile.am @@ -0,0 +1,90 @@ +## Process this file with automake to produce Makefile.in + +# We require automake 1.6 at least. +AUTOMAKE_OPTIONS = 1.6 + +# The name of the module, e.g. 'glib'. +DOC_MODULE=libmateweather + +# Uncomment for versioned docs and specify the version of the module, e.g. '2'. +#DOC_MODULE_VERSION=2 + +# The top-level SGML file. You can change this if you want to. +DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml + +# The directory containing the source code. Relative to $(srcdir). +# gtk-doc will search all .c & .h files beneath here for inline comments +# documenting the functions and macros. +# e.g. DOC_SOURCE_DIR=../../../gtk +DOC_SOURCE_DIR=../libmateweather + +# Extra options to pass to gtkdoc-scangobj. Not normally needed. +SCANGOBJ_OPTIONS= + +# Extra options to supply to gtkdoc-scan +# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" +SCAN_OPTIONS=--deprecated-guards="MATEWEATHER_DISABLE_DEPRECATED" + +# Extra options to supply to gtkdoc-mkdb. +# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml +MKDB_OPTIONS=--sgml-mode --output-format=xml + +# Extra options to supply to gtkdoc-mktmpl +# e.g. MKTMPL_OPTIONS=--only-section-tmpl +MKTMPL_OPTIONS= + +# Extra options to supply to gtkdoc-mkhtml +MKHTML_OPTIONS= + +# Extra options to supply to gtkdoc-fixref. Not normally needed. +# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html +FIXXREF_OPTIONS= + +# Used for dependencies. The docs will be rebuilt if any of these change. +# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h +# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c +HFILE_GLOB=$(top_srcdir)/libmateweather/*.h +CFILE_GLOB=$(top_srcdir)/libmateweather/*.c + +# Header files to ignore when scanning. +# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h +IGNORE_HFILES=mateweather-enum-types.h mateweather-win32.h parser.h weather-priv.h + +# Images to copy into HTML directory. +# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png +HTML_IMAGES= + +# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). +# e.g. content_files=running.sgml building.sgml changes-2.0.sgml +content_files= + +# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded +# These files must be listed here *and* in content_files +# e.g. expand_content_files=running.sgml +expand_content_files= + +# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. +# Only needed if you are using gtkdoc-scangobj to dynamically query widget +# signals and properties. +# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) +# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib) +GTKDOC_CFLAGS = -I$(top_srcdir) $(GTK_CFLAGS) $(LIBXML_CFLAGS) $(LIBSOUP_CFLAGS) $(MATECONF_CFLAGS) -DMATEWEATHER_I_KNOW_THIS_IS_UNSTABLE +GTKDOC_LIBS = $(top_builddir)/libmateweather/libmateweather.la $(GTK_LIBS) $(LIBXML_LIBS) $(LIBSOUP_LIBS) $(MATECONF_LIBS) + +# This includes the standard gtk-doc make rules, copied by gtkdocize. +include $(top_srcdir)/gtk-doc.make + +# Other files to distribute +# e.g. EXTRA_DIST += version.xml.in +EXTRA_DIST += + +# Files not to distribute +# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types +# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt +#DISTCLEANFILES += + +# Comment this out if you want your docs-status tested during 'make check' +#TESTS = $(GTKDOC_CHECK) + + +-include $(top_srcdir)/git.mk diff --git a/doc/Makefile.in b/doc/Makefile.in new file mode 100644 index 0000000..80c051d --- /dev/null +++ b/doc/Makefile.in @@ -0,0 +1,520 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(top_srcdir)/gtk-doc.make +subdir = doc +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \ + $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +COMPRESS_EXT = @COMPRESS_EXT@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIR = @DATADIR@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GLADEDIR = @GLADEDIR@ +GLIB_CFLAGS = @GLIB_CFLAGS@ +GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ +GLIB_LIBS = @GLIB_LIBS@ +GLIB_MKENUMS = @GLIB_MKENUMS@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GOBJECT_QUERY = @GOBJECT_QUERY@ +GREP = @GREP@ +GTKDOC_CHECK = @GTKDOC_CHECK@ +GTKDOC_MKPDF = @GTKDOC_MKPDF@ +GTKDOC_REBASE = @GTKDOC_REBASE@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_LIBS = @GTK_LIBS@ +HTML_DIR = @HTML_DIR@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBDIR = @LIBDIR@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ +LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSOUP_MATE_CFLAGS = @LIBSOUP_MATE_CFLAGS@ +LIBSOUP_MATE_LIBS = @LIBSOUP_MATE_LIBS@ +LIBTOOL = @LIBTOOL@ +LIBXML_CFLAGS = @LIBXML_CFLAGS@ +LIBXML_LIBS = @LIBXML_LIBS@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_VERSION = @LT_VERSION@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MATECONFTOOL = @MATECONFTOOL@ +MATECONF_CFLAGS = @MATECONF_CFLAGS@ +MATECONF_LIBS = @MATECONF_LIBS@ +MATECONF_SCHEMA_CONFIG_SOURCE = @MATECONF_SCHEMA_CONFIG_SOURCE@ +MATECONF_SCHEMA_FILE_DIR = @MATECONF_SCHEMA_FILE_DIR@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PYGOBJECT_CFLAGS = @PYGOBJECT_CFLAGS@ +PYGOBJECT_LIBS = @PYGOBJECT_LIBS@ +PYGTK_DEFS = @PYGTK_DEFS@ +PYTHON = @PYTHON@ +PYTHONDIR = @PYTHONDIR@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_INCLUDES = @PYTHON_INCLUDES@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +RANLIB = @RANLIB@ +REGEX_LIBS = @REGEX_LIBS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WARN_CFLAGS = @WARN_CFLAGS@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ + +# We require automake 1.6 at least. +AUTOMAKE_OPTIONS = 1.6 + +# The name of the module, e.g. 'glib'. +DOC_MODULE = libmateweather + +# Uncomment for versioned docs and specify the version of the module, e.g. '2'. +#DOC_MODULE_VERSION=2 + +# The top-level SGML file. You can change this if you want to. +DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml + +# The directory containing the source code. Relative to $(srcdir). +# gtk-doc will search all .c & .h files beneath here for inline comments +# documenting the functions and macros. +# e.g. DOC_SOURCE_DIR=../../../gtk +DOC_SOURCE_DIR = ../libmateweather + +# Extra options to pass to gtkdoc-scangobj. Not normally needed. +SCANGOBJ_OPTIONS = + +# Extra options to supply to gtkdoc-scan +# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" +SCAN_OPTIONS = --deprecated-guards="MATEWEATHER_DISABLE_DEPRECATED" + +# Extra options to supply to gtkdoc-mkdb. +# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml +MKDB_OPTIONS = --sgml-mode --output-format=xml + +# Extra options to supply to gtkdoc-mktmpl +# e.g. MKTMPL_OPTIONS=--only-section-tmpl +MKTMPL_OPTIONS = + +# Extra options to supply to gtkdoc-mkhtml +MKHTML_OPTIONS = + +# Extra options to supply to gtkdoc-fixref. Not normally needed. +# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html +FIXXREF_OPTIONS = + +# Used for dependencies. The docs will be rebuilt if any of these change. +# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h +# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c +HFILE_GLOB = $(top_srcdir)/libmateweather/*.h +CFILE_GLOB = $(top_srcdir)/libmateweather/*.c + +# Header files to ignore when scanning. +# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h +IGNORE_HFILES = mateweather-enum-types.h mateweather-win32.h parser.h weather-priv.h + +# Images to copy into HTML directory. +# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png +HTML_IMAGES = + +# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). +# e.g. content_files=running.sgml building.sgml changes-2.0.sgml +content_files = + +# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded +# These files must be listed here *and* in content_files +# e.g. expand_content_files=running.sgml +expand_content_files = + +# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. +# Only needed if you are using gtkdoc-scangobj to dynamically query widget +# signals and properties. +# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) +# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib) +GTKDOC_CFLAGS = -I$(top_srcdir) $(GTK_CFLAGS) $(LIBXML_CFLAGS) $(LIBSOUP_CFLAGS) $(MATECONF_CFLAGS) -DMATEWEATHER_I_KNOW_THIS_IS_UNSTABLE +GTKDOC_LIBS = $(top_builddir)/libmateweather/libmateweather.la $(GTK_LIBS) $(LIBXML_LIBS) $(LIBSOUP_LIBS) $(MATECONF_LIBS) + +# This includes the standard gtk-doc make rules, copied by gtkdocize. + +# Other files to distribute +# e.g. EXTRA_DIST += version.xml.in +EXTRA_DIST = missing-gtk-doc +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu doc/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am + + +# Files not to distribute +# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types +# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt +#DISTCLEANFILES += + +# Comment this out if you want your docs-status tested during 'make check' +#TESTS = $(GTKDOC_CHECK) + +-include $(top_srcdir)/git.mk + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/doc/html/MateWeatherLocationEntry.html b/doc/html/MateWeatherLocationEntry.html new file mode 100644 index 0000000..60c6c40 --- /dev/null +++ b/doc/html/MateWeatherLocationEntry.html @@ -0,0 +1,226 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>MateWeatherLocationEntry</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="libmateweather-mateweather-location.html" title="mateweather-location"> +<link rel="next" href="libmateweather-mateweather-timezone.html" title="mateweather-timezone"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="libmateweather-mateweather-location.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="libmateweather-mateweather-timezone.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#MateWeatherLocationEntry.synopsis" class="shortcut">Top</a> + | + <a href="#MateWeatherLocationEntry.description" class="shortcut">Description</a> + | + <a href="#MateWeatherLocationEntry.object-hierarchy" class="shortcut">Object Hierarchy</a> + | + <a href="#MateWeatherLocationEntry.implemented-interfaces" class="shortcut">Implemented Interfaces</a> + | + <a href="#MateWeatherLocationEntry.properties" class="shortcut">Properties</a> +</td></tr> +</table> +<div class="refentry" title="MateWeatherLocationEntry"> +<a name="MateWeatherLocationEntry"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="MateWeatherLocationEntry.top_of_page"></a>MateWeatherLocationEntry</span></h2> +<p>MateWeatherLocationEntry</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="MateWeatherLocationEntry.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"> <a class="link" href="MateWeatherLocationEntry.html#MateWeatherLocationEntry-struct" title="MateWeatherLocationEntry">MateWeatherLocationEntry</a>; +<span class="returnvalue">GtkWidget</span> * <a class="link" href="MateWeatherLocationEntry.html#mateweather-location-entry-new" title="mateweather_location_entry_new ()">mateweather_location_entry_new</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *top</code></em>); +<span class="returnvalue">void</span> <a class="link" href="MateWeatherLocationEntry.html#mateweather-location-entry-set-location" title="mateweather_location_entry_set_location ()">mateweather_location_entry_set_location</a> + (<em class="parameter"><code><a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> *entry</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * <a class="link" href="MateWeatherLocationEntry.html#mateweather-location-entry-get-location" title="mateweather_location_entry_get_location ()">mateweather_location_entry_get_location</a> + (<em class="parameter"><code><a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> *entry</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="MateWeatherLocationEntry.html#mateweather-location-entry-set-city" title="mateweather_location_entry_set_city ()">mateweather_location_entry_set_city</a> (<em class="parameter"><code><a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> *entry</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *city_name</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *code</code></em>); +</pre> +</div> +<div class="refsect1" title="Object Hierarchy"> +<a name="MateWeatherLocationEntry.object-hierarchy"></a><h2>Object Hierarchy</h2> +<pre class="synopsis"> + GObject + +----GInitiallyUnowned + +----GtkObject + +----GtkWidget + +----GtkEntry + +----MateWeatherLocationEntry +</pre> +</div> +<div class="refsect1" title="Implemented Interfaces"> +<a name="MateWeatherLocationEntry.implemented-interfaces"></a><h2>Implemented Interfaces</h2> +<p> +MateWeatherLocationEntry implements + AtkImplementorIface, GtkBuildable, GtkEditable and GtkCellEditable.</p> +</div> +<div class="refsect1" title="Properties"> +<a name="MateWeatherLocationEntry.properties"></a><h2>Properties</h2> +<pre class="synopsis"> + "<a class="link" href="MateWeatherLocationEntry.html#MateWeatherLocationEntry--location" title='The "location" property'>location</a>" <span class="type">gpointer</span> : Read / Write + "<a class="link" href="MateWeatherLocationEntry.html#MateWeatherLocationEntry--top" title='The "top" property'>top</a>" <span class="type">gpointer</span> : Write / Construct Only +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="MateWeatherLocationEntry.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="MateWeatherLocationEntry.details"></a><h2>Details</h2> +<div class="refsect2" title="MateWeatherLocationEntry"> +<a name="MateWeatherLocationEntry-struct"></a><h3>MateWeatherLocationEntry</h3> +<pre class="programlisting">typedef struct _MateWeatherLocationEntry MateWeatherLocationEntry;</pre> +<p> +A subclass of <span class="type">GtkEntry</span> that provides autocompletion on +<a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a>s</p> +</div> +<hr> +<div class="refsect2" title="mateweather_location_entry_new ()"> +<a name="mateweather-location-entry-new"></a><h3>mateweather_location_entry_new ()</h3> +<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * mateweather_location_entry_new (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *top</code></em>);</pre> +<p> +Creates a new <a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a>. +</p> +<p> +<em class="parameter"><code>top</code></em> will normally be a location returned from +<a class="link" href="libmateweather-mateweather-location.html#mateweather-location-new-world" title="mateweather_location_new_world ()"><code class="function">mateweather_location_new_world()</code></a>, but you can create an entry that +only accepts a smaller set of locations if you want.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>top</code></em> :</span></p></td> +<td>the top-level location for the entry. +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> the new <a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_entry_set_location ()"> +<a name="mateweather-location-entry-set-location"></a><h3>mateweather_location_entry_set_location ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_location_entry_set_location + (<em class="parameter"><code><a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> *entry</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Sets <em class="parameter"><code>entry</code></em>'s location to <em class="parameter"><code>loc</code></em>, and updates the text of the +entry accordingly.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td> +<td>a <a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>allow-none. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_entry_get_location ()"> +<a name="mateweather-location-entry-get-location"></a><h3>mateweather_location_entry_get_location ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * mateweather_location_entry_get_location + (<em class="parameter"><code><a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> *entry</code></em>);</pre> +<p> +Gets the location that was set by a previous call to +<a class="link" href="MateWeatherLocationEntry.html#mateweather-location-entry-set-location" title="mateweather_location_entry_set_location ()"><code class="function">mateweather_location_entry_set_location()</code></a> or was selected by the user.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td> +<td>a <a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>transfer full) (allow-none. <a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_entry_set_city ()"> +<a name="mateweather-location-entry-set-city"></a><h3>mateweather_location_entry_set_city ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> mateweather_location_entry_set_city (<em class="parameter"><code><a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> *entry</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *city_name</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *code</code></em>);</pre> +<p> +Sets <em class="parameter"><code>entry</code></em>'s location to a city with the given <em class="parameter"><code>code</code></em>, and given +<em class="parameter"><code>city_name</code></em>, if non-<a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. If there is no matching city, sets +<em class="parameter"><code>entry</code></em>'s location to <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td> +<td>a <a class="link" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"><span class="type">MateWeatherLocationEntry</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>city_name</code></em> :</span></p></td> +<td> the city name, or <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td> +<td>the METAR station code +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <code class="literal">TRUE</code> if <em class="parameter"><code>entry</code></em>'s location could be set to a matching city, +<code class="literal">FALSE</code> otherwise. +</td> +</tr> +</tbody> +</table></div> +</div> +</div> +<div class="refsect1" title="Property Details"> +<a name="MateWeatherLocationEntry.property-details"></a><h2>Property Details</h2> +<div class="refsect2" title='The "location" property'> +<a name="MateWeatherLocationEntry--location"></a><h3>The <code class="literal">"location"</code> property</h3> +<pre class="programlisting"> "location" <span class="type">gpointer</span> : Read / Write</pre> +<p>The selected MateWeatherLocation.</p> +</div> +<hr> +<div class="refsect2" title='The "top" property'> +<a name="MateWeatherLocationEntry--top"></a><h3>The <code class="literal">"top"</code> property</h3> +<pre class="programlisting"> "top" <span class="type">gpointer</span> : Write / Construct Only</pre> +<p>The MateWeatherLocation whose children will be used to fill in the entry.</p> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/MateWeatherTimezoneMenu.html b/doc/html/MateWeatherTimezoneMenu.html new file mode 100644 index 0000000..6af817d --- /dev/null +++ b/doc/html/MateWeatherTimezoneMenu.html @@ -0,0 +1,184 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>MateWeatherTimezoneMenu</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="libmateweather-mateweather-timezone.html" title="mateweather-timezone"> +<link rel="next" href="libmateweather-weather.html" title="weather"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="libmateweather-mateweather-timezone.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="libmateweather-weather.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#MateWeatherTimezoneMenu.synopsis" class="shortcut">Top</a> + | + <a href="#MateWeatherTimezoneMenu.description" class="shortcut">Description</a> + | + <a href="#MateWeatherTimezoneMenu.object-hierarchy" class="shortcut">Object Hierarchy</a> + | + <a href="#MateWeatherTimezoneMenu.implemented-interfaces" class="shortcut">Implemented Interfaces</a> + | + <a href="#MateWeatherTimezoneMenu.properties" class="shortcut">Properties</a> +</td></tr> +</table> +<div class="refentry" title="MateWeatherTimezoneMenu"> +<a name="MateWeatherTimezoneMenu"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="MateWeatherTimezoneMenu.top_of_page"></a>MateWeatherTimezoneMenu</span></h2> +<p>MateWeatherTimezoneMenu</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="MateWeatherTimezoneMenu.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"> <a class="link" href="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu-struct" title="MateWeatherTimezoneMenu">MateWeatherTimezoneMenu</a>; +<span class="returnvalue">GtkWidget</span> * <a class="link" href="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-new" title="mateweather_timezone_menu_new ()">mateweather_timezone_menu_new</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *top</code></em>); +<span class="returnvalue">void</span> <a class="link" href="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-set-tzid" title="mateweather_timezone_menu_set_tzid ()">mateweather_timezone_menu_set_tzid</a> (<em class="parameter"><code><a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a> *menu</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *tzid</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-get-tzid" title="mateweather_timezone_menu_get_tzid ()">mateweather_timezone_menu_get_tzid</a> (<em class="parameter"><code><a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a> *menu</code></em>); +</pre> +</div> +<div class="refsect1" title="Object Hierarchy"> +<a name="MateWeatherTimezoneMenu.object-hierarchy"></a><h2>Object Hierarchy</h2> +<pre class="synopsis"> + GObject + +----GInitiallyUnowned + +----GtkObject + +----GtkWidget + +----GtkContainer + +----GtkBin + +----GtkComboBox + +----MateWeatherTimezoneMenu +</pre> +</div> +<div class="refsect1" title="Implemented Interfaces"> +<a name="MateWeatherTimezoneMenu.implemented-interfaces"></a><h2>Implemented Interfaces</h2> +<p> +MateWeatherTimezoneMenu implements + AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.</p> +</div> +<div class="refsect1" title="Properties"> +<a name="MateWeatherTimezoneMenu.properties"></a><h2>Properties</h2> +<pre class="synopsis"> + "<a class="link" href="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--top" title='The "top" property'>top</a>" <span class="type">gpointer</span> : Write / Construct Only + "<a class="link" href="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--tzid" title='The "tzid" property'>tzid</a>" <span class="type">gchar</span>* : Read / Write +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="MateWeatherTimezoneMenu.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="MateWeatherTimezoneMenu.details"></a><h2>Details</h2> +<div class="refsect2" title="MateWeatherTimezoneMenu"> +<a name="MateWeatherTimezoneMenu-struct"></a><h3>MateWeatherTimezoneMenu</h3> +<pre class="programlisting">typedef struct _MateWeatherTimezoneMenu MateWeatherTimezoneMenu;</pre> +<p> +A <span class="type">GtkComboBox</span> subclass for choosing a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a></p> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_menu_new ()"> +<a name="mateweather-timezone-menu-new"></a><h3>mateweather_timezone_menu_new ()</h3> +<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * mateweather_timezone_menu_new (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *top</code></em>);</pre> +<p> +Creates a new <a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a>. +</p> +<p> +<em class="parameter"><code>top</code></em> will normally be a location returned from +<a class="link" href="libmateweather-mateweather-location.html#mateweather-location-new-world" title="mateweather_location_new_world ()"><code class="function">mateweather_location_new_world()</code></a>, but you can create a menu that +contains the timezones from a smaller set of locations if you want.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>top</code></em> :</span></p></td> +<td>the top-level location for the menu. +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> the new <a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_menu_set_tzid ()"> +<a name="mateweather-timezone-menu-set-tzid"></a><h3>mateweather_timezone_menu_set_tzid ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_timezone_menu_set_tzid (<em class="parameter"><code><a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a> *menu</code></em>, + <em class="parameter"><code>const <span class="type">char</span> *tzid</code></em>);</pre> +<p> +Sets <em class="parameter"><code>menu</code></em> to the given <em class="parameter"><code>tzid</code></em>. If <em class="parameter"><code>tzid</code></em> is <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, sets <em class="parameter"><code>menu</code></em> to +"Unknown".</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td> +<td>a <a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>tzid</code></em> :</span></p></td> +<td> a tzdata id (eg, "America/New_York"). <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_menu_get_tzid ()"> +<a name="mateweather-timezone-menu-get-tzid"></a><h3>mateweather_timezone_menu_get_tzid ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_timezone_menu_get_tzid (<em class="parameter"><code><a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a> *menu</code></em>);</pre> +<p> +Gets <em class="parameter"><code>menu</code></em>'s timezone id.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td> +<td>a <a class="link" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"><span class="type">MateWeatherTimezoneMenu</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>allow-none. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +</div> +<div class="refsect1" title="Property Details"> +<a name="MateWeatherTimezoneMenu.property-details"></a><h2>Property Details</h2> +<div class="refsect2" title='The "top" property'> +<a name="MateWeatherTimezoneMenu--top"></a><h3>The <code class="literal">"top"</code> property</h3> +<pre class="programlisting"> "top" <span class="type">gpointer</span> : Write / Construct Only</pre> +<p>The MateWeatherLocation whose children will be used to fill in the menu.</p> +</div> +<hr> +<div class="refsect2" title='The "tzid" property'> +<a name="MateWeatherTimezoneMenu--tzid"></a><h3>The <code class="literal">"tzid"</code> property</h3> +<pre class="programlisting"> "tzid" <span class="type">gchar</span>* : Read / Write</pre> +<p>The selected TZID.</p> +<p>Default value: NULL</p> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/ch01.html b/doc/html/ch01.html new file mode 100644 index 0000000..4cbae3c --- /dev/null +++ b/doc/html/ch01.html @@ -0,0 +1,56 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>[Insert title here]</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="index.html" title="libmateweather Reference Manual"> +<link rel="prev" href="index.html" title="libmateweather Reference Manual"> +<link rel="next" href="libmateweather-mateweather-location.html" title="mateweather-location"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> +<td><a accesskey="p" href="index.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td> </td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="libmateweather-mateweather-location.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr></table> +<div class="chapter" title="[Insert title here]"> +<div class="titlepage"><div><div><h2 class="title"> +<a name="id2528725"></a>[Insert title here]</h2></div></div></div> +<div class="toc"><dl> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-location.html">mateweather-location</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="MateWeatherLocationEntry.html">MateWeatherLocationEntry</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-timezone.html">mateweather-timezone</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="MateWeatherTimezoneMenu.html">MateWeatherTimezoneMenu</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-weather.html">weather</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-xml.html">mateweather-xml</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-mateconf.html">mateweather-mateconf</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-prefs.html">mateweather-prefs</a></span><span class="refpurpose"></span> +</dt> +</dl></div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/home.png b/doc/html/home.png Binary files differnew file mode 100644 index 0000000..1700361 --- /dev/null +++ b/doc/html/home.png diff --git a/doc/html/index.html b/doc/html/index.html new file mode 100644 index 0000000..5860012 --- /dev/null +++ b/doc/html/index.html @@ -0,0 +1,59 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>libmateweather Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="next" href="ch01.html" title="[Insert title here]"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div class="book" title="libmateweather Reference Manual"> +<div class="titlepage"> +<div> +<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">libmateweather Reference Manual</p></th></tr></table></div> +<div><p class="releaseinfo"> + for libmateweather [VERSION] + The latest version of this documentation can be found on-line at + <a class="ulink" href="http://%5BSERVER%5D/libmateweather/index.html" target="_top">http://[SERVER]/libmateweather/</a>. + </p></div> +</div> +<hr> +</div> +<div class="toc"><dl> +<dt><span class="chapter"><a href="ch01.html">[Insert title here]</a></span></dt> +<dd><dl> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-location.html">mateweather-location</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="MateWeatherLocationEntry.html">MateWeatherLocationEntry</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-timezone.html">mateweather-timezone</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="MateWeatherTimezoneMenu.html">MateWeatherTimezoneMenu</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-weather.html">weather</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-xml.html">mateweather-xml</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-mateconf.html">mateweather-mateconf</a></span><span class="refpurpose"></span> +</dt> +<dt> +<span class="refentrytitle"><a href="libmateweather-mateweather-prefs.html">mateweather-prefs</a></span><span class="refpurpose"></span> +</dt> +</dl></dd> +</dl></div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/index.sgml b/doc/html/index.sgml new file mode 100644 index 0000000..eb85662 --- /dev/null +++ b/doc/html/index.sgml @@ -0,0 +1,180 @@ +<ANCHOR id="libmateweather-mateweather-location" href="libmateweather/libmateweather-mateweather-location.html"> +<ANCHOR id="libmateweather-mateweather-location.synopsis" href="libmateweather/libmateweather-mateweather-location.html#libmateweather-mateweather-location.synopsis"> +<ANCHOR id="libmateweather-mateweather-location.description" href="libmateweather/libmateweather-mateweather-location.html#libmateweather-mateweather-location.description"> +<ANCHOR id="libmateweather-mateweather-location.details" href="libmateweather/libmateweather-mateweather-location.html#libmateweather-mateweather-location.details"> +<ANCHOR id="MateWeatherLocation" href="libmateweather/libmateweather-mateweather-location.html#MateWeatherLocation"> +<ANCHOR id="MateWeatherLocationLevel" href="libmateweather/libmateweather-mateweather-location.html#MateWeatherLocationLevel"> +<ANCHOR id="MATEWEATHER-LOCATION-WORLD:CAPS" href="libmateweather/libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WORLD:CAPS"> +<ANCHOR id="MATEWEATHER-LOCATION-REGION:CAPS" href="libmateweather/libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-REGION:CAPS"> +<ANCHOR id="MATEWEATHER-LOCATION-COUNTRY:CAPS" href="libmateweather/libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-COUNTRY:CAPS"> +<ANCHOR id="MATEWEATHER-LOCATION-ADM1:CAPS" href="libmateweather/libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-ADM1:CAPS"> +<ANCHOR id="MATEWEATHER-LOCATION-ADM2:CAPS" href="libmateweather/libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-ADM2:CAPS"> +<ANCHOR id="MATEWEATHER-LOCATION-CITY:CAPS" href="libmateweather/libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-CITY:CAPS"> +<ANCHOR id="MATEWEATHER-LOCATION-WEATHER-STATION:CAPS" href="libmateweather/libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WEATHER-STATION:CAPS"> +<ANCHOR id="mateweather-location-new-world" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-new-world"> +<ANCHOR id="mateweather-location-ref" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-ref"> +<ANCHOR id="mateweather-location-unref" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-unref"> +<ANCHOR id="mateweather-location-get-name" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-name"> +<ANCHOR id="mateweather-location-get-sort-name" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-sort-name"> +<ANCHOR id="mateweather-location-get-level" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-level"> +<ANCHOR id="mateweather-location-get-parent" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-parent"> +<ANCHOR id="mateweather-location-get-children" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-children"> +<ANCHOR id="mateweather-location-free-children" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-free-children"> +<ANCHOR id="mateweather-location-has-coords" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-has-coords"> +<ANCHOR id="mateweather-location-get-coords" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-coords"> +<ANCHOR id="mateweather-location-get-distance" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-distance"> +<ANCHOR id="mateweather-location-get-country" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-country"> +<ANCHOR id="mateweather-location-get-timezone" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-timezone"> +<ANCHOR id="mateweather-location-get-timezones" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-timezones"> +<ANCHOR id="mateweather-location-free-timezones" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-free-timezones"> +<ANCHOR id="mateweather-location-get-code" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-code"> +<ANCHOR id="mateweather-location-get-city-name" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-city-name"> +<ANCHOR id="mateweather-location-get-weather" href="libmateweather/libmateweather-mateweather-location.html#mateweather-location-get-weather"> +<ANCHOR id="MateWeatherLocationEntry" href="libmateweather/MateWeatherLocationEntry.html"> +<ANCHOR id="MateWeatherLocationEntry.synopsis" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry.synopsis"> +<ANCHOR id="MateWeatherLocationEntry.object-hierarchy" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry.object-hierarchy"> +<ANCHOR id="MateWeatherLocationEntry.implemented-interfaces" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry.implemented-interfaces"> +<ANCHOR id="MateWeatherLocationEntry.properties" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry.properties"> +<ANCHOR id="MateWeatherLocationEntry.description" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry.description"> +<ANCHOR id="MateWeatherLocationEntry.details" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry.details"> +<ANCHOR id="MateWeatherLocationEntry-struct" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry-struct"> +<ANCHOR id="mateweather-location-entry-new" href="libmateweather/MateWeatherLocationEntry.html#mateweather-location-entry-new"> +<ANCHOR id="mateweather-location-entry-set-location" href="libmateweather/MateWeatherLocationEntry.html#mateweather-location-entry-set-location"> +<ANCHOR id="mateweather-location-entry-get-location" href="libmateweather/MateWeatherLocationEntry.html#mateweather-location-entry-get-location"> +<ANCHOR id="mateweather-location-entry-set-city" href="libmateweather/MateWeatherLocationEntry.html#mateweather-location-entry-set-city"> +<ANCHOR id="MateWeatherLocationEntry.property-details" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry.property-details"> +<ANCHOR id="MateWeatherLocationEntry--location" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry--location"> +<ANCHOR id="MateWeatherLocationEntry--top" href="libmateweather/MateWeatherLocationEntry.html#MateWeatherLocationEntry--top"> +<ANCHOR id="libmateweather-mateweather-timezone" href="libmateweather/libmateweather-mateweather-timezone.html"> +<ANCHOR id="libmateweather-mateweather-timezone.synopsis" href="libmateweather/libmateweather-mateweather-timezone.html#libmateweather-mateweather-timezone.synopsis"> +<ANCHOR id="libmateweather-mateweather-timezone.description" href="libmateweather/libmateweather-mateweather-timezone.html#libmateweather-mateweather-timezone.description"> +<ANCHOR id="libmateweather-mateweather-timezone.details" href="libmateweather/libmateweather-mateweather-timezone.html#libmateweather-mateweather-timezone.details"> +<ANCHOR id="MateWeatherTimezone" href="libmateweather/libmateweather-mateweather-timezone.html#MateWeatherTimezone"> +<ANCHOR id="mateweather-timezone-get-name" href="libmateweather/libmateweather-mateweather-timezone.html#mateweather-timezone-get-name"> +<ANCHOR id="mateweather-timezone-get-tzid" href="libmateweather/libmateweather-mateweather-timezone.html#mateweather-timezone-get-tzid"> +<ANCHOR id="mateweather-timezone-get-offset" href="libmateweather/libmateweather-mateweather-timezone.html#mateweather-timezone-get-offset"> +<ANCHOR id="mateweather-timezone-has-dst" href="libmateweather/libmateweather-mateweather-timezone.html#mateweather-timezone-has-dst"> +<ANCHOR id="mateweather-timezone-get-dst-offset" href="libmateweather/libmateweather-mateweather-timezone.html#mateweather-timezone-get-dst-offset"> +<ANCHOR id="mateweather-timezone-ref" href="libmateweather/libmateweather-mateweather-timezone.html#mateweather-timezone-ref"> +<ANCHOR id="mateweather-timezone-unref" href="libmateweather/libmateweather-mateweather-timezone.html#mateweather-timezone-unref"> +<ANCHOR id="MateWeatherTimezoneMenu" href="libmateweather/MateWeatherTimezoneMenu.html"> +<ANCHOR id="MateWeatherTimezoneMenu.synopsis" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu.synopsis"> +<ANCHOR id="MateWeatherTimezoneMenu.object-hierarchy" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu.object-hierarchy"> +<ANCHOR id="MateWeatherTimezoneMenu.implemented-interfaces" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu.implemented-interfaces"> +<ANCHOR id="MateWeatherTimezoneMenu.properties" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu.properties"> +<ANCHOR id="MateWeatherTimezoneMenu.description" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu.description"> +<ANCHOR id="MateWeatherTimezoneMenu.details" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu.details"> +<ANCHOR id="MateWeatherTimezoneMenu-struct" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu-struct"> +<ANCHOR id="mateweather-timezone-menu-new" href="libmateweather/MateWeatherTimezoneMenu.html#mateweather-timezone-menu-new"> +<ANCHOR id="mateweather-timezone-menu-set-tzid" href="libmateweather/MateWeatherTimezoneMenu.html#mateweather-timezone-menu-set-tzid"> +<ANCHOR id="mateweather-timezone-menu-get-tzid" href="libmateweather/MateWeatherTimezoneMenu.html#mateweather-timezone-menu-get-tzid"> +<ANCHOR id="MateWeatherTimezoneMenu.property-details" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu.property-details"> +<ANCHOR id="MateWeatherTimezoneMenu--top" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--top"> +<ANCHOR id="MateWeatherTimezoneMenu--tzid" href="libmateweather/MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--tzid"> +<ANCHOR id="libmateweather-weather" href="libmateweather/libmateweather-weather.html"> +<ANCHOR id="libmateweather-weather.synopsis" href="libmateweather/libmateweather-weather.html#libmateweather-weather.synopsis"> +<ANCHOR id="libmateweather-weather.description" href="libmateweather/libmateweather-weather.html#libmateweather-weather.description"> +<ANCHOR id="libmateweather-weather.details" href="libmateweather/libmateweather-weather.html#libmateweather-weather.details"> +<ANCHOR id="WeatherLocation" href="libmateweather/libmateweather-weather.html#WeatherLocation"> +<ANCHOR id="weather-location-new" href="libmateweather/libmateweather-weather.html#weather-location-new"> +<ANCHOR id="weather-location-clone" href="libmateweather/libmateweather-weather.html#weather-location-clone"> +<ANCHOR id="weather-location-free" href="libmateweather/libmateweather-weather.html#weather-location-free"> +<ANCHOR id="weather-location-equal" href="libmateweather/libmateweather-weather.html#weather-location-equal"> +<ANCHOR id="WeatherForecastType" href="libmateweather/libmateweather-weather.html#WeatherForecastType"> +<ANCHOR id="TempUnit" href="libmateweather/libmateweather-weather.html#TempUnit"> +<ANCHOR id="SpeedUnit" href="libmateweather/libmateweather-weather.html#SpeedUnit"> +<ANCHOR id="PressureUnit" href="libmateweather/libmateweather-weather.html#PressureUnit"> +<ANCHOR id="DistanceUnit" href="libmateweather/libmateweather-weather.html#DistanceUnit"> +<ANCHOR id="WeatherPrefs" href="libmateweather/libmateweather-weather.html#WeatherPrefs"> +<ANCHOR id="WeatherInfo" href="libmateweather/libmateweather-weather.html#WeatherInfo"> +<ANCHOR id="WeatherInfoFunc" href="libmateweather/libmateweather-weather.html#WeatherInfoFunc"> +<ANCHOR id="weather-info-new" href="libmateweather/libmateweather-weather.html#weather-info-new"> +<ANCHOR id="weather-info-update" href="libmateweather/libmateweather-weather.html#weather-info-update"> +<ANCHOR id="weather-info-abort" href="libmateweather/libmateweather-weather.html#weather-info-abort"> +<ANCHOR id="weather-info-clone" href="libmateweather/libmateweather-weather.html#weather-info-clone"> +<ANCHOR id="weather-info-free" href="libmateweather/libmateweather-weather.html#weather-info-free"> +<ANCHOR id="weather-info-is-valid" href="libmateweather/libmateweather-weather.html#weather-info-is-valid"> +<ANCHOR id="weather-info-network-error" href="libmateweather/libmateweather-weather.html#weather-info-network-error"> +<ANCHOR id="weather-info-to-metric" href="libmateweather/libmateweather-weather.html#weather-info-to-metric"> +<ANCHOR id="weather-info-to-imperial" href="libmateweather/libmateweather-weather.html#weather-info-to-imperial"> +<ANCHOR id="weather-info-get-location" href="libmateweather/libmateweather-weather.html#weather-info-get-location"> +<ANCHOR id="weather-info-get-location-name" href="libmateweather/libmateweather-weather.html#weather-info-get-location-name"> +<ANCHOR id="weather-info-get-update" href="libmateweather/libmateweather-weather.html#weather-info-get-update"> +<ANCHOR id="weather-info-get-sky" href="libmateweather/libmateweather-weather.html#weather-info-get-sky"> +<ANCHOR id="weather-info-get-conditions" href="libmateweather/libmateweather-weather.html#weather-info-get-conditions"> +<ANCHOR id="weather-info-get-temp" href="libmateweather/libmateweather-weather.html#weather-info-get-temp"> +<ANCHOR id="weather-info-get-temp-min" href="libmateweather/libmateweather-weather.html#weather-info-get-temp-min"> +<ANCHOR id="weather-info-get-temp-max" href="libmateweather/libmateweather-weather.html#weather-info-get-temp-max"> +<ANCHOR id="weather-info-get-dew" href="libmateweather/libmateweather-weather.html#weather-info-get-dew"> +<ANCHOR id="weather-info-get-humidity" href="libmateweather/libmateweather-weather.html#weather-info-get-humidity"> +<ANCHOR id="weather-info-get-wind" href="libmateweather/libmateweather-weather.html#weather-info-get-wind"> +<ANCHOR id="weather-info-get-pressure" href="libmateweather/libmateweather-weather.html#weather-info-get-pressure"> +<ANCHOR id="weather-info-get-visibility" href="libmateweather/libmateweather-weather.html#weather-info-get-visibility"> +<ANCHOR id="weather-info-get-apparent" href="libmateweather/libmateweather-weather.html#weather-info-get-apparent"> +<ANCHOR id="weather-info-get-sunrise" href="libmateweather/libmateweather-weather.html#weather-info-get-sunrise"> +<ANCHOR id="weather-info-get-sunset" href="libmateweather/libmateweather-weather.html#weather-info-get-sunset"> +<ANCHOR id="weather-info-get-forecast" href="libmateweather/libmateweather-weather.html#weather-info-get-forecast"> +<ANCHOR id="weather-info-get-forecast-list" href="libmateweather/libmateweather-weather.html#weather-info-get-forecast-list"> +<ANCHOR id="weather-info-get-radar" href="libmateweather/libmateweather-weather.html#weather-info-get-radar"> +<ANCHOR id="weather-info-get-temp-summary" href="libmateweather/libmateweather-weather.html#weather-info-get-temp-summary"> +<ANCHOR id="weather-info-get-weather-summary" href="libmateweather/libmateweather-weather.html#weather-info-get-weather-summary"> +<ANCHOR id="weather-info-get-icon-name" href="libmateweather/libmateweather-weather.html#weather-info-get-icon-name"> +<ANCHOR id="weather-info-next-sun-event" href="libmateweather/libmateweather-weather.html#weather-info-next-sun-event"> +<ANCHOR id="WeatherWindDirection" href="libmateweather/libmateweather-weather.html#WeatherWindDirection"> +<ANCHOR id="WeatherSky" href="libmateweather/libmateweather-weather.html#WeatherSky"> +<ANCHOR id="WeatherConditionPhenomenon" href="libmateweather/libmateweather-weather.html#WeatherConditionPhenomenon"> +<ANCHOR id="WeatherConditionQualifier" href="libmateweather/libmateweather-weather.html#WeatherConditionQualifier"> +<ANCHOR id="weather-info-get-value-update" href="libmateweather/libmateweather-weather.html#weather-info-get-value-update"> +<ANCHOR id="weather-info-get-value-sky" href="libmateweather/libmateweather-weather.html#weather-info-get-value-sky"> +<ANCHOR id="weather-info-get-value-conditions" href="libmateweather/libmateweather-weather.html#weather-info-get-value-conditions"> +<ANCHOR id="weather-info-get-value-temp" href="libmateweather/libmateweather-weather.html#weather-info-get-value-temp"> +<ANCHOR id="weather-info-get-value-temp-min" href="libmateweather/libmateweather-weather.html#weather-info-get-value-temp-min"> +<ANCHOR id="weather-info-get-value-temp-max" href="libmateweather/libmateweather-weather.html#weather-info-get-value-temp-max"> +<ANCHOR id="weather-info-get-value-dew" href="libmateweather/libmateweather-weather.html#weather-info-get-value-dew"> +<ANCHOR id="weather-info-get-value-apparent" href="libmateweather/libmateweather-weather.html#weather-info-get-value-apparent"> +<ANCHOR id="weather-info-get-value-wind" href="libmateweather/libmateweather-weather.html#weather-info-get-value-wind"> +<ANCHOR id="weather-info-get-value-pressure" href="libmateweather/libmateweather-weather.html#weather-info-get-value-pressure"> +<ANCHOR id="weather-info-get-value-visibility" href="libmateweather/libmateweather-weather.html#weather-info-get-value-visibility"> +<ANCHOR id="weather-info-get-value-sunrise" href="libmateweather/libmateweather-weather.html#weather-info-get-value-sunrise"> +<ANCHOR id="weather-info-get-value-sunset" href="libmateweather/libmateweather-weather.html#weather-info-get-value-sunset"> +<ANCHOR id="libmateweather-mateweather-xml" href="libmateweather/libmateweather-mateweather-xml.html"> +<ANCHOR id="libmateweather-mateweather-xml.synopsis" href="libmateweather/libmateweather-mateweather-xml.html#libmateweather-mateweather-xml.synopsis"> +<ANCHOR id="libmateweather-mateweather-xml.description" href="libmateweather/libmateweather-mateweather-xml.html#libmateweather-mateweather-xml.description"> +<ANCHOR id="libmateweather-mateweather-xml.details" href="libmateweather/libmateweather-mateweather-xml.html#libmateweather-mateweather-xml.details"> +<ANCHOR id="mateweather-xml-load-locations" href="libmateweather/libmateweather-mateweather-xml.html#mateweather-xml-load-locations"> +<ANCHOR id="libmateweather-mateweather-mateconf" href="libmateweather/libmateweather-mateweather-mateconf.html"> +<ANCHOR id="libmateweather-mateweather-mateconf.synopsis" href="libmateweather/libmateweather-mateweather-mateconf.html#libmateweather-mateweather-mateconf.synopsis"> +<ANCHOR id="libmateweather-mateweather-mateconf.description" href="libmateweather/libmateweather-mateweather-mateconf.html#libmateweather-mateweather-mateconf.description"> +<ANCHOR id="libmateweather-mateweather-mateconf.details" href="libmateweather/libmateweather-mateweather-mateconf.html#libmateweather-mateweather-mateconf.details"> +<ANCHOR id="MateWeatherMateConf" href="libmateweather/libmateweather-mateweather-mateconf.html#MateWeatherMateConf"> +<ANCHOR id="mateweather-mateconf-new" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-new"> +<ANCHOR id="mateweather-mateconf-free" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-free"> +<ANCHOR id="mateweather-mateconf-get-client" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-client"> +<ANCHOR id="mateweather-mateconf-get-location" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-location"> +<ANCHOR id="mateweather-mateconf-get-full-key" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-full-key"> +<ANCHOR id="mateweather-mateconf-set-bool" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-bool"> +<ANCHOR id="mateweather-mateconf-set-int" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-int"> +<ANCHOR id="mateweather-mateconf-set-string" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-string"> +<ANCHOR id="mateweather-mateconf-get-bool" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-bool"> +<ANCHOR id="mateweather-mateconf-get-int" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-int"> +<ANCHOR id="mateweather-mateconf-get-string" href="libmateweather/libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-string"> +<ANCHOR id="libmateweather-mateweather-prefs" href="libmateweather/libmateweather-mateweather-prefs.html"> +<ANCHOR id="libmateweather-mateweather-prefs.synopsis" href="libmateweather/libmateweather-mateweather-prefs.html#libmateweather-mateweather-prefs.synopsis"> +<ANCHOR id="libmateweather-mateweather-prefs.description" href="libmateweather/libmateweather-mateweather-prefs.html#libmateweather-mateweather-prefs.description"> +<ANCHOR id="libmateweather-mateweather-prefs.details" href="libmateweather/libmateweather-mateweather-prefs.html#libmateweather-mateweather-prefs.details"> +<ANCHOR id="MATECONF-TEMP-UNIT:CAPS" href="libmateweather/libmateweather-mateweather-prefs.html#MATECONF-TEMP-UNIT:CAPS"> +<ANCHOR id="MATECONF-SPEED-UNIT:CAPS" href="libmateweather/libmateweather-mateweather-prefs.html#MATECONF-SPEED-UNIT:CAPS"> +<ANCHOR id="MATECONF-PRESSURE-UNIT:CAPS" href="libmateweather/libmateweather-mateweather-prefs.html#MATECONF-PRESSURE-UNIT:CAPS"> +<ANCHOR id="MATECONF-DISTANCE-UNIT:CAPS" href="libmateweather/libmateweather-mateweather-prefs.html#MATECONF-DISTANCE-UNIT:CAPS"> +<ANCHOR id="MateWeatherPrefs" href="libmateweather/libmateweather-mateweather-prefs.html#MateWeatherPrefs"> +<ANCHOR id="mateweather-prefs-load" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-load"> +<ANCHOR id="mateweather-prefs-temp-enum-to-string" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-temp-enum-to-string"> +<ANCHOR id="mateweather-prefs-speed-enum-to-string" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-speed-enum-to-string"> +<ANCHOR id="mateweather-prefs-pressure-enum-to-string" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-pressure-enum-to-string"> +<ANCHOR id="mateweather-prefs-distance-enum-to-string" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-distance-enum-to-string"> +<ANCHOR id="mateweather-prefs-parse-temperature" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-parse-temperature"> +<ANCHOR id="mateweather-prefs-parse-speed" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-parse-speed"> +<ANCHOR id="mateweather-prefs-get-temp-display-name" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-get-temp-display-name"> +<ANCHOR id="mateweather-prefs-get-speed-display-name" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-get-speed-display-name"> +<ANCHOR id="mateweather-prefs-get-pressure-display-name" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-get-pressure-display-name"> +<ANCHOR id="mateweather-prefs-get-distance-display-name" href="libmateweather/libmateweather-mateweather-prefs.html#mateweather-prefs-get-distance-display-name"> diff --git a/doc/html/left.png b/doc/html/left.png Binary files differnew file mode 100644 index 0000000..2d05b3d --- /dev/null +++ b/doc/html/left.png diff --git a/doc/html/libmateweather-mateweather-location.html b/doc/html/libmateweather-mateweather-location.html new file mode 100644 index 0000000..a4653b9 --- /dev/null +++ b/doc/html/libmateweather-mateweather-location.html @@ -0,0 +1,620 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>mateweather-location</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="ch01.html" title="[Insert title here]"> +<link rel="next" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="ch01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="MateWeatherLocationEntry.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#libmateweather-mateweather-location.synopsis" class="shortcut">Top</a> + | + <a href="#libmateweather-mateweather-location.description" class="shortcut">Description</a> +</td></tr> +</table> +<div class="refentry" title="mateweather-location"> +<a name="libmateweather-mateweather-location"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libmateweather-mateweather-location.top_of_page"></a>mateweather-location</span></h2> +<p>mateweather-location</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="libmateweather-mateweather-location.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"> <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation">MateWeatherLocation</a>; +enum <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocationLevel" title="enum MateWeatherLocationLevel">MateWeatherLocationLevel</a>; +<a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-new-world" title="mateweather_location_new_world ()">mateweather_location_new_world</a> (<em class="parameter"><code><span class="type">gboolean</span> use_regions</code></em>); +<a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-ref" title="mateweather_location_ref ()">mateweather_location_ref</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-unref" title="mateweather_location_unref ()">mateweather_location_unref</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-name" title="mateweather_location_get_name ()">mateweather_location_get_name</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-sort-name" title="mateweather_location_get_sort_name ()">mateweather_location_get_sort_name</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocationLevel" title="enum MateWeatherLocationLevel"><span class="returnvalue">MateWeatherLocationLevel</span></a> <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-level" title="mateweather_location_get_level ()">mateweather_location_get_level</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-parent" title="mateweather_location_get_parent ()">mateweather_location_get_parent</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> ** <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-children" title="mateweather_location_get_children ()">mateweather_location_get_children</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-free-children" title="mateweather_location_free_children ()">mateweather_location_free_children</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> **children</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-has-coords" title="mateweather_location_has_coords ()">mateweather_location_has_coords</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-coords" title="mateweather_location_get_coords ()">mateweather_location_get_coords</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><span class="type">double</span> *latitude</code></em>, + <em class="parameter"><code><span class="type">double</span> *longitude</code></em>); +<span class="returnvalue">double</span> <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-distance" title="mateweather_location_get_distance ()">mateweather_location_get_distance</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc2</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-country" title="mateweather_location_get_country ()">mateweather_location_get_country</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="returnvalue">MateWeatherTimezone</span></a> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-timezone" title="mateweather_location_get_timezone ()">mateweather_location_get_timezone</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="returnvalue">MateWeatherTimezone</span></a> ** <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-timezones" title="mateweather_location_get_timezones ()">mateweather_location_get_timezones</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-free-timezones" title="mateweather_location_free_timezones ()">mateweather_location_free_timezones</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> **zones</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-code" title="mateweather_location_get_code ()">mateweather_location_get_code</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-city-name" title="mateweather_location_get_city_name ()">mateweather_location_get_city_name</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +<a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="returnvalue">WeatherInfo</span></a> * <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-weather" title="mateweather_location_get_weather ()">mateweather_location_get_weather</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>); +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="libmateweather-mateweather-location.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="libmateweather-mateweather-location.details"></a><h2>Details</h2> +<div class="refsect2" title="MateWeatherLocation"> +<a name="MateWeatherLocation"></a><h3>MateWeatherLocation</h3> +<pre class="programlisting">typedef struct _MateWeatherLocation MateWeatherLocation;</pre> +<p> +A <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> represents a "location" of some type known to +libmateweather; anything from a single weather station to the entire +world. See <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocationLevel" title="enum MateWeatherLocationLevel"><span class="type">MateWeatherLocationLevel</span></a> for information about how the +hierarchy of locations works.</p> +</div> +<hr> +<div class="refsect2" title="enum MateWeatherLocationLevel"> +<a name="MateWeatherLocationLevel"></a><h3>enum MateWeatherLocationLevel</h3> +<pre class="programlisting">typedef enum { /*< underscore_name=mateweather_location_level >*/ + MATEWEATHER_LOCATION_WORLD, + MATEWEATHER_LOCATION_REGION, + MATEWEATHER_LOCATION_COUNTRY, + /* ADM1 = first-order administrative division = state/province, etc */ + MATEWEATHER_LOCATION_ADM1, + /* ADM2 = second-order division = county, etc */ + MATEWEATHER_LOCATION_ADM2, + MATEWEATHER_LOCATION_CITY, + MATEWEATHER_LOCATION_WEATHER_STATION +} MateWeatherLocationLevel; +</pre> +<p> +The size/scope of a particular <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a>. +</p> +<p> +Locations form a hierarchy, with a <a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WORLD:CAPS"><code class="literal">MATEWEATHER_LOCATION_WORLD</code></a> +location at the top, divided into regions or countries, and so on. +Countries may or may not be divided into "adm1"s, and "adm1"s may +or may not be divided into "adm2"s. A city will have at least one, +and possibly several, weather stations inside it. Weather stations +will never appear outside of cities.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><a name="MATEWEATHER-LOCATION-WORLD:CAPS"></a><span class="term"><code class="literal">MATEWEATHER_LOCATION_WORLD</code></span></p></td> +<td>A location representing the entire world. +</td> +</tr> +<tr> +<td><p><a name="MATEWEATHER-LOCATION-REGION:CAPS"></a><span class="term"><code class="literal">MATEWEATHER_LOCATION_REGION</code></span></p></td> +<td>A location representing a continent or +other top-level region. +</td> +</tr> +<tr> +<td><p><a name="MATEWEATHER-LOCATION-COUNTRY:CAPS"></a><span class="term"><code class="literal">MATEWEATHER_LOCATION_COUNTRY</code></span></p></td> +<td>A location representing a "country" (or +other geographic unit that has an ISO-3166 country code) +</td> +</tr> +<tr> +<td><p><a name="MATEWEATHER-LOCATION-ADM1:CAPS"></a><span class="term"><code class="literal">MATEWEATHER_LOCATION_ADM1</code></span></p></td> +<td>A location representing a "first-level +administrative division"; ie, a state, province, or similar +division. +</td> +</tr> +<tr> +<td><p><a name="MATEWEATHER-LOCATION-ADM2:CAPS"></a><span class="term"><code class="literal">MATEWEATHER_LOCATION_ADM2</code></span></p></td> +<td>A location representing a subdivision of a +<a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-ADM1:CAPS"><code class="literal">MATEWEATHER_LOCATION_ADM1</code></a> location. (Not currently used.) +</td> +</tr> +<tr> +<td><p><a name="MATEWEATHER-LOCATION-CITY:CAPS"></a><span class="term"><code class="literal">MATEWEATHER_LOCATION_CITY</code></span></p></td> +<td>A location representing a city +</td> +</tr> +<tr> +<td><p><a name="MATEWEATHER-LOCATION-WEATHER-STATION:CAPS"></a><span class="term"><code class="literal">MATEWEATHER_LOCATION_WEATHER_STATION</code></span></p></td> +<td>A location representing a +weather station. +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_new_world ()"> +<a name="mateweather-location-new-world"></a><h3>mateweather_location_new_world ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * mateweather_location_new_world (<em class="parameter"><code><span class="type">gboolean</span> use_regions</code></em>);</pre> +<p> +Creates a new <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> of type <a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WORLD:CAPS"><code class="literal">MATEWEATHER_LOCATION_WORLD</code></a>, +representing a hierarchy containing all of the locations from +Locations.xml. +</p> +<p> +If <em class="parameter"><code>use_regions</code></em> is <code class="literal">TRUE</code>, the immediate children of the returned +location will be <a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-REGION:CAPS"><code class="literal">MATEWEATHER_LOCATION_REGION</code></a> nodes, representing the +top-level "regions" of Locations.xml (the continents and a few +other divisions), and the country-level nodes will be the children +of the regions. If <em class="parameter"><code>use_regions</code></em> is <code class="literal">FALSE</code>, the regions will be +skipped, and the children of the returned location will be the +<a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-COUNTRY:CAPS"><code class="literal">MATEWEATHER_LOCATION_COUNTRY</code></a> nodes.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>use_regions</code></em> :</span></p></td> +<td>whether or not to divide the world into regions +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>allow-none. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_ref ()"> +<a name="mateweather-location-ref"></a><h3>mateweather_location_ref ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * mateweather_location_ref (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Adds 1 to <em class="parameter"><code>loc</code></em>'s reference count.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>loc</code></em> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_unref ()"> +<a name="mateweather-location-unref"></a><h3>mateweather_location_unref ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_location_unref (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Subtracts 1 from <em class="parameter"><code>loc</code></em>'s reference count, and frees it if the +reference count reaches 0.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_name ()"> +<a name="mateweather-location-get-name"></a><h3>mateweather_location_get_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_location_get_name (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets <em class="parameter"><code>loc</code></em>'s name, localized into the current language. +</p> +<p> +Note that <a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WEATHER-STATION:CAPS"><code class="literal">MATEWEATHER_LOCATION_WEATHER_STATION</code></a> nodes are not +localized, and so the name returned for those nodes will always be +in English, and should therefore not be displayed to the user. +(FIXME: should we just not return a name?)</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>loc</code></em>'s name +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_sort_name ()"> +<a name="mateweather-location-get-sort-name"></a><h3>mateweather_location_get_sort_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_location_get_sort_name (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets <em class="parameter"><code>loc</code></em>'s "sort name", which is the name after having +<code class="function">g_utf8_normalize()</code> (with <code class="literal">G_NORMALIZE_ALL</code>) and <code class="function">g_utf8_casefold()</code> +called on it. You can use this to sort locations, or to comparing +user input against a location name.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>loc</code></em>'s sort name +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_level ()"> +<a name="mateweather-location-get-level"></a><h3>mateweather_location_get_level ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocationLevel" title="enum MateWeatherLocationLevel"><span class="returnvalue">MateWeatherLocationLevel</span></a> mateweather_location_get_level (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets <em class="parameter"><code>loc</code></em>'s level, from <a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WORLD:CAPS"><code class="literal">MATEWEATHER_LOCATION_WORLD</code></a>, to +<a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WEATHER-STATION:CAPS"><code class="literal">MATEWEATHER_LOCATION_WEATHER_STATION</code></a>.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>loc</code></em>'s level +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_parent ()"> +<a name="mateweather-location-get-parent"></a><h3>mateweather_location_get_parent ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> * mateweather_location_get_parent (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets <em class="parameter"><code>loc</code></em>'s parent location.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>transfer none) (allow-none. <a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_children ()"> +<a name="mateweather-location-get-children"></a><h3>mateweather_location_get_children ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="returnvalue">MateWeatherLocation</span></a> ** mateweather_location_get_children (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets an array of <em class="parameter"><code>loc</code></em>'s children; this is owned by <em class="parameter"><code>loc</code></em> and will +not remain valid if <em class="parameter"><code>loc</code></em> is freed.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>transfer none) (array zero-terminated=1. <a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>. <a href="http://foldoc.org/array"><span class="acronym">array</span></a> zero-terminated=1. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_free_children ()"> +<a name="mateweather-location-free-children"></a><h3>mateweather_location_free_children ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_location_free_children (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> **children</code></em>);</pre> +<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Warning</h3> +<p><code class="literal">mateweather_location_free_children</code> is deprecated and should not be used in newly-written code. This is a no-op.</p> +</div> +<p> +This is a no-op. Do not use it.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>children</code></em> :</span></p></td> +<td>an array of <em class="parameter"><code>loc</code></em>'s children +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_has_coords ()"> +<a name="mateweather-location-has-coords"></a><h3>mateweather_location_has_coords ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> mateweather_location_has_coords (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Checks if <em class="parameter"><code>loc</code></em> has valid latitude and longitude.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <code class="literal">TRUE</code> if <em class="parameter"><code>loc</code></em> has valid latitude and longitude. +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_coords ()"> +<a name="mateweather-location-get-coords"></a><h3>mateweather_location_get_coords ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_location_get_coords (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><span class="type">double</span> *latitude</code></em>, + <em class="parameter"><code><span class="type">double</span> *longitude</code></em>);</pre> +<p> +Gets <em class="parameter"><code>loc</code></em>'s coordinates; you must check +<a class="link" href="libmateweather-mateweather-location.html#mateweather-location-has-coords" title="mateweather_location_has_coords ()"><code class="function">mateweather_location_has_coords()</code></a> before calling this.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>latitude</code></em> :</span></p></td> +<td> on return will contain <em class="parameter"><code>loc</code></em>'s latitude. <a href="http://foldoc.org/out"><span class="acronym">out</span></a>. </td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>longitude</code></em> :</span></p></td> +<td> on return will contain <em class="parameter"><code>loc</code></em>'s longitude. <a href="http://foldoc.org/out"><span class="acronym">out</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_distance ()"> +<a name="mateweather-location-get-distance"></a><h3>mateweather_location_get_distance ()</h3> +<pre class="programlisting"><span class="returnvalue">double</span> mateweather_location_get_distance (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc2</code></em>);</pre> +<p> +Determines the distance in kilometers between <em class="parameter"><code>loc</code></em> and <em class="parameter"><code>loc2</code></em>.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc2</code></em> :</span></p></td> +<td>a second <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> the distance between <em class="parameter"><code>loc</code></em> and <em class="parameter"><code>loc2</code></em>. +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_country ()"> +<a name="mateweather-location-get-country"></a><h3>mateweather_location_get_country ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_location_get_country (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets the ISO 3166 country code of <em class="parameter"><code>loc</code></em> (or <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>loc</code></em> is a +region- or world-level location)</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>allow-none. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_timezone ()"> +<a name="mateweather-location-get-timezone"></a><h3>mateweather_location_get_timezone ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="returnvalue">MateWeatherTimezone</span></a> * mateweather_location_get_timezone (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets the timezone associated with <em class="parameter"><code>loc</code></em>, if known. +</p> +<p> +The timezone is owned either by <em class="parameter"><code>loc</code></em> or by one of its parents. +FIXME.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>transfer none) (allow-none. <a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_timezones ()"> +<a name="mateweather-location-get-timezones"></a><h3>mateweather_location_get_timezones ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="returnvalue">MateWeatherTimezone</span></a> ** mateweather_location_get_timezones (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets an array of all timezones associated with any location under +<em class="parameter"><code>loc</code></em>. You can use <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-free-timezones" title="mateweather_location_free_timezones ()"><code class="function">mateweather_location_free_timezones()</code></a> to free this +array.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>transfer full) (array zero-terminated=1. <a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>. <a href="http://foldoc.org/array"><span class="acronym">array</span></a> zero-terminated=1. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_free_timezones ()"> +<a name="mateweather-location-free-timezones"></a><h3>mateweather_location_free_timezones ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_location_free_timezones (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> **zones</code></em>);</pre> +<p> +Frees the array of timezones returned by +<a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-timezones" title="mateweather_location_get_timezones ()"><code class="function">mateweather_location_get_timezones()</code></a>.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>zones</code></em> :</span></p></td> +<td>an array returned from <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-timezones" title="mateweather_location_get_timezones ()"><code class="function">mateweather_location_get_timezones()</code></a> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_code ()"> +<a name="mateweather-location-get-code"></a><h3>mateweather_location_get_code ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_location_get_code (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Gets the METAR station code associated with a +<a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WEATHER-STATION:CAPS"><code class="literal">MATEWEATHER_LOCATION_WEATHER_STATION</code></a> location.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>loc</code></em>'s METAR station code, or <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>. <a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_city_name ()"> +<a name="mateweather-location-get-city-name"></a><h3>mateweather_location_get_city_name ()</h3> +<pre class="programlisting"><span class="returnvalue">char</span> * mateweather_location_get_city_name (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +For a <a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-CITY:CAPS"><code class="literal">MATEWEATHER_LOCATION_CITY</code></a> location, this is equivalent to +<a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-name" title="mateweather_location_get_name ()"><code class="function">mateweather_location_get_name()</code></a>. For a +<a class="link" href="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WEATHER-STATION:CAPS"><code class="literal">MATEWEATHER_LOCATION_WEATHER_STATION</code></a> location, it is equivalent to +calling <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-get-name" title="mateweather_location_get_name ()"><code class="function">mateweather_location_get_name()</code></a> on the location's parent. For +other locations it will return <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> (allow-none) <em class="parameter"><code>loc</code></em>'s city name, or <a href="/mate/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_location_get_weather ()"> +<a name="mateweather-location-get-weather"></a><h3>mateweather_location_get_weather ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="returnvalue">WeatherInfo</span></a> * mateweather_location_get_weather (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> *loc</code></em>);</pre> +<p> +Creates a <a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> corresponding to <em class="parameter"><code>loc</code></em>; you can use +<a class="link" href="libmateweather-weather.html#weather-info-update" title="weather_info_update()"><code class="function">weather_info_update()</code></a> to fill it in.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>loc</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><code class="literal">MateWeatherLocation</code></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td>transfer full. <a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>. </td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/libmateweather-mateweather-mateconf.html b/doc/html/libmateweather-mateweather-mateconf.html new file mode 100644 index 0000000..d0becc8 --- /dev/null +++ b/doc/html/libmateweather-mateweather-mateconf.html @@ -0,0 +1,405 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>mateweather-mateconf</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="libmateweather-mateweather-xml.html" title="mateweather-xml"> +<link rel="next" href="libmateweather-mateweather-prefs.html" title="mateweather-prefs"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="libmateweather-mateweather-xml.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="libmateweather-mateweather-prefs.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#libmateweather-mateweather-mateconf.synopsis" class="shortcut">Top</a> + | + <a href="#libmateweather-mateweather-mateconf.description" class="shortcut">Description</a> +</td></tr> +</table> +<div class="refentry" title="mateweather-mateconf"> +<a name="libmateweather-mateweather-mateconf"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libmateweather-mateweather-mateconf.top_of_page"></a>mateweather-mateconf</span></h2> +<p>mateweather-mateconf</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="libmateweather-mateweather-mateconf.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"> <a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf">MateWeatherMateConf</a>; +<a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="returnvalue">MateWeatherMateConf</span></a> * <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-new" title="mateweather_mateconf_new ()">mateweather_mateconf_new</a> (<em class="parameter"><code>const <span class="type">char</span> *prefix</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-free" title="mateweather_mateconf_free ()">mateweather_mateconf_free</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>); +<span class="returnvalue">MateConfClient</span> * <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-client" title="mateweather_mateconf_get_client ()">mateweather_mateconf_get_client</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>); +<a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-location" title="mateweather_mateconf_get_location ()">mateweather_mateconf_get_location</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>); +<span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-full-key" title="mateweather_mateconf_get_full_key ()">mateweather_mateconf_get_full_key</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-bool" title="mateweather_mateconf_set_bool ()">mateweather_mateconf_set_bool</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> the_bool</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-int" title="mateweather_mateconf_set_int ()">mateweather_mateconf_set_int</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">gint</span> the_int</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-string" title="mateweather_mateconf_set_string ()">mateweather_mateconf_set_string</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *the_string</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-bool" title="mateweather_mateconf_get_bool ()">mateweather_mateconf_get_bool</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>); +<span class="returnvalue">gint</span> <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-int" title="mateweather_mateconf_get_int ()">mateweather_mateconf_get_int</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>); +<span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-string" title="mateweather_mateconf_get_string ()">mateweather_mateconf_get_string</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>); +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="libmateweather-mateweather-mateconf.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="libmateweather-mateweather-mateconf.details"></a><h2>Details</h2> +<div class="refsect2" title="MateWeatherMateConf"> +<a name="MateWeatherMateConf"></a><h3>MateWeatherMateConf</h3> +<pre class="programlisting">typedef struct _MateWeatherMateConf MateWeatherMateConf;</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_new ()"> +<a name="mateweather-mateconf-new"></a><h3>mateweather_mateconf_new ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="returnvalue">MateWeatherMateConf</span></a> * mateweather_mateconf_new (<em class="parameter"><code>const <span class="type">char</span> *prefix</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>prefix</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_free ()"> +<a name="mateweather-mateconf-free"></a><h3>mateweather_mateconf_free ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_mateconf_free (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_get_client ()"> +<a name="mateweather-mateconf-get-client"></a><h3>mateweather_mateconf_get_client ()</h3> +<pre class="programlisting"><span class="returnvalue">MateConfClient</span> * mateweather_mateconf_get_client (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_get_location ()"> +<a name="mateweather-mateconf-get-location"></a><h3>mateweather_mateconf_get_location ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * mateweather_mateconf_get_location (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_get_full_key ()"> +<a name="mateweather-mateconf-get-full-key"></a><h3>mateweather_mateconf_get_full_key ()</h3> +<pre class="programlisting"><span class="returnvalue">gchar</span> * mateweather_mateconf_get_full_key (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_set_bool ()"> +<a name="mateweather-mateconf-set-bool"></a><h3>mateweather_mateconf_set_bool ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_mateconf_set_bool (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> the_bool</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>the_bool</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>opt_error</code></em> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_set_int ()"> +<a name="mateweather-mateconf-set-int"></a><h3>mateweather_mateconf_set_int ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_mateconf_set_int (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">gint</span> the_int</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>the_int</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>opt_error</code></em> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_set_string ()"> +<a name="mateweather-mateconf-set-string"></a><h3>mateweather_mateconf_set_string ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_mateconf_set_string (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *the_string</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>the_string</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>opt_error</code></em> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_get_bool ()"> +<a name="mateweather-mateconf-get-bool"></a><h3>mateweather_mateconf_get_bool ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> mateweather_mateconf_get_bool (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>opt_error</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_get_int ()"> +<a name="mateweather-mateconf-get-int"></a><h3>mateweather_mateconf_get_int ()</h3> +<pre class="programlisting"><span class="returnvalue">gint</span> mateweather_mateconf_get_int (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>opt_error</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_mateconf_get_string ()"> +<a name="mateweather-mateconf-get-string"></a><h3>mateweather_mateconf_get_string ()</h3> +<pre class="programlisting"><span class="returnvalue">gchar</span> * mateweather_mateconf_get_string (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>, + <em class="parameter"><code><span class="type">GError</span> **opt_error</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>opt_error</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/libmateweather-mateweather-prefs.html b/doc/html/libmateweather-mateweather-prefs.html new file mode 100644 index 0000000..55499c1 --- /dev/null +++ b/doc/html/libmateweather-mateweather-prefs.html @@ -0,0 +1,396 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>mateweather-prefs</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="libmateweather-mateweather-mateconf.html" title="mateweather-mateconf"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="libmateweather-mateweather-mateconf.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td> </td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#libmateweather-mateweather-prefs.synopsis" class="shortcut">Top</a> + | + <a href="#libmateweather-mateweather-prefs.description" class="shortcut">Description</a> +</td></tr> +</table> +<div class="refentry" title="mateweather-prefs"> +<a name="libmateweather-mateweather-prefs"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libmateweather-mateweather-prefs.top_of_page"></a>mateweather-prefs</span></h2> +<p>mateweather-prefs</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="libmateweather-mateweather-prefs.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis">#define <a class="link" href="libmateweather-mateweather-prefs.html#MATECONF-TEMP-UNIT:CAPS" title="MATECONF_TEMP_UNIT">MATECONF_TEMP_UNIT</a> +#define <a class="link" href="libmateweather-mateweather-prefs.html#MATECONF-SPEED-UNIT:CAPS" title="MATECONF_SPEED_UNIT">MATECONF_SPEED_UNIT</a> +#define <a class="link" href="libmateweather-mateweather-prefs.html#MATECONF-PRESSURE-UNIT:CAPS" title="MATECONF_PRESSURE_UNIT">MATECONF_PRESSURE_UNIT</a> +#define <a class="link" href="libmateweather-mateweather-prefs.html#MATECONF-DISTANCE-UNIT:CAPS" title="MATECONF_DISTANCE_UNIT">MATECONF_DISTANCE_UNIT</a> + <a class="link" href="libmateweather-mateweather-prefs.html#MateWeatherPrefs" title="MateWeatherPrefs">MateWeatherPrefs</a>; +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-load" title="mateweather_prefs_load ()">mateweather_prefs_load</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-prefs.html#MateWeatherPrefs" title="MateWeatherPrefs"><span class="type">MateWeatherPrefs</span></a> *prefs</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-temp-enum-to-string" title="mateweather_prefs_temp_enum_to_string ()">mateweather_prefs_temp_enum_to_string</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> temp</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-speed-enum-to-string" title="mateweather_prefs_speed_enum_to_string ()">mateweather_prefs_speed_enum_to_string</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="type">SpeedUnit</span></a> speed</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-pressure-enum-to-string" title="mateweather_prefs_pressure_enum_to_string ()">mateweather_prefs_pressure_enum_to_string</a> + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#PressureUnit" title="enum PressureUnit"><span class="type">PressureUnit</span></a> pressure</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-distance-enum-to-string" title="mateweather_prefs_distance_enum_to_string ()">mateweather_prefs_distance_enum_to_string</a> + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#DistanceUnit" title="enum DistanceUnit"><span class="type">DistanceUnit</span></a> distance</code></em>); +<a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="returnvalue">TempUnit</span></a> <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-parse-temperature" title="mateweather_prefs_parse_temperature ()">mateweather_prefs_parse_temperature</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> *is_default</code></em>); +<a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="returnvalue">SpeedUnit</span></a> <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-parse-speed" title="mateweather_prefs_parse_speed ()">mateweather_prefs_parse_speed</a> (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> *is_default</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-get-temp-display-name" title="mateweather_prefs_get_temp_display_name ()">mateweather_prefs_get_temp_display_name</a> + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> temp</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-get-speed-display-name" title="mateweather_prefs_get_speed_display_name ()">mateweather_prefs_get_speed_display_name</a> + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="type">SpeedUnit</span></a> speed</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-get-pressure-display-name" title="mateweather_prefs_get_pressure_display_name ()">mateweather_prefs_get_pressure_display_name</a> + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#PressureUnit" title="enum PressureUnit"><span class="type">PressureUnit</span></a> pressure</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-prefs.html#mateweather-prefs-get-distance-display-name" title="mateweather_prefs_get_distance_display_name ()">mateweather_prefs_get_distance_display_name</a> + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#DistanceUnit" title="enum DistanceUnit"><span class="type">DistanceUnit</span></a> distance</code></em>); +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="libmateweather-mateweather-prefs.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="libmateweather-mateweather-prefs.details"></a><h2>Details</h2> +<div class="refsect2" title="MATECONF_TEMP_UNIT"> +<a name="MATECONF-TEMP-UNIT:CAPS"></a><h3>MATECONF_TEMP_UNIT</h3> +<pre class="programlisting">#define MATECONF_TEMP_UNIT "temperature_unit" +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="MATECONF_SPEED_UNIT"> +<a name="MATECONF-SPEED-UNIT:CAPS"></a><h3>MATECONF_SPEED_UNIT</h3> +<pre class="programlisting">#define MATECONF_SPEED_UNIT "speed_unit" +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="MATECONF_PRESSURE_UNIT"> +<a name="MATECONF-PRESSURE-UNIT:CAPS"></a><h3>MATECONF_PRESSURE_UNIT</h3> +<pre class="programlisting">#define MATECONF_PRESSURE_UNIT "pressure_unit" +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="MATECONF_DISTANCE_UNIT"> +<a name="MATECONF-DISTANCE-UNIT:CAPS"></a><h3>MATECONF_DISTANCE_UNIT</h3> +<pre class="programlisting">#define MATECONF_DISTANCE_UNIT "distance_unit" +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="MateWeatherPrefs"> +<a name="MateWeatherPrefs"></a><h3>MateWeatherPrefs</h3> +<pre class="programlisting">typedef struct { + WeatherLocation *location; + gint update_interval; /* in seconds */ + gboolean update_enabled; + gboolean detailed; + gboolean radar_enabled; + gboolean use_custom_radar_url; + gchar *radar; + + TempUnit temperature_unit; + gboolean use_temperature_default; + SpeedUnit speed_unit; + gboolean use_speed_default; + PressureUnit pressure_unit; + gboolean use_pressure_default; + DistanceUnit distance_unit; + gboolean use_distance_default; +} MateWeatherPrefs; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_load ()"> +<a name="mateweather-prefs-load"></a><h3>mateweather_prefs_load ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_prefs_load (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-prefs.html#MateWeatherPrefs" title="MateWeatherPrefs"><span class="type">MateWeatherPrefs</span></a> *prefs</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-mateweather-mateconf.html#MateWeatherMateConf" title="MateWeatherMateConf"><span class="type">MateWeatherMateConf</span></a> *ctx</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>prefs</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>ctx</code></em> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_temp_enum_to_string ()"> +<a name="mateweather-prefs-temp-enum-to-string"></a><h3>mateweather_prefs_temp_enum_to_string ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_temp_enum_to_string (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> temp</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>temp</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_speed_enum_to_string ()"> +<a name="mateweather-prefs-speed-enum-to-string"></a><h3>mateweather_prefs_speed_enum_to_string ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_speed_enum_to_string (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="type">SpeedUnit</span></a> speed</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>speed</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_pressure_enum_to_string ()"> +<a name="mateweather-prefs-pressure-enum-to-string"></a><h3>mateweather_prefs_pressure_enum_to_string ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_pressure_enum_to_string + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#PressureUnit" title="enum PressureUnit"><span class="type">PressureUnit</span></a> pressure</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>pressure</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_distance_enum_to_string ()"> +<a name="mateweather-prefs-distance-enum-to-string"></a><h3>mateweather_prefs_distance_enum_to_string ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_distance_enum_to_string + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#DistanceUnit" title="enum DistanceUnit"><span class="type">DistanceUnit</span></a> distance</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>distance</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_parse_temperature ()"> +<a name="mateweather-prefs-parse-temperature"></a><h3>mateweather_prefs_parse_temperature ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="returnvalue">TempUnit</span></a> mateweather_prefs_parse_temperature (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> *is_default</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>is_default</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_parse_speed ()"> +<a name="mateweather-prefs-parse-speed"></a><h3>mateweather_prefs_parse_speed ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="returnvalue">SpeedUnit</span></a> mateweather_prefs_parse_speed (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> *is_default</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>is_default</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_get_temp_display_name ()"> +<a name="mateweather-prefs-get-temp-display-name"></a><h3>mateweather_prefs_get_temp_display_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_get_temp_display_name + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> temp</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>temp</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_get_speed_display_name ()"> +<a name="mateweather-prefs-get-speed-display-name"></a><h3>mateweather_prefs_get_speed_display_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_get_speed_display_name + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="type">SpeedUnit</span></a> speed</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>speed</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_get_pressure_display_name ()"> +<a name="mateweather-prefs-get-pressure-display-name"></a><h3>mateweather_prefs_get_pressure_display_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_get_pressure_display_name + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#PressureUnit" title="enum PressureUnit"><span class="type">PressureUnit</span></a> pressure</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>pressure</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_prefs_get_distance_display_name ()"> +<a name="mateweather-prefs-get-distance-display-name"></a><h3>mateweather_prefs_get_distance_display_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_prefs_get_distance_display_name + (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#DistanceUnit" title="enum DistanceUnit"><span class="type">DistanceUnit</span></a> distance</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>distance</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/libmateweather-mateweather-timezone.html b/doc/html/libmateweather-mateweather-timezone.html new file mode 100644 index 0000000..785eddf --- /dev/null +++ b/doc/html/libmateweather-mateweather-timezone.html @@ -0,0 +1,231 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>mateweather-timezone</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="MateWeatherLocationEntry.html" title="MateWeatherLocationEntry"> +<link rel="next" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="MateWeatherLocationEntry.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="MateWeatherTimezoneMenu.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#libmateweather-mateweather-timezone.synopsis" class="shortcut">Top</a> + | + <a href="#libmateweather-mateweather-timezone.description" class="shortcut">Description</a> +</td></tr> +</table> +<div class="refentry" title="mateweather-timezone"> +<a name="libmateweather-mateweather-timezone"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libmateweather-mateweather-timezone.top_of_page"></a>mateweather-timezone</span></h2> +<p>mateweather-timezone</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="libmateweather-mateweather-timezone.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"> <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone">MateWeatherTimezone</a>; +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-get-name" title="mateweather_timezone_get_name ()">mateweather_timezone_get_name</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>); +const <span class="returnvalue">char</span> * <a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-get-tzid" title="mateweather_timezone_get_tzid ()">mateweather_timezone_get_tzid</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>); +<span class="returnvalue">int</span> <a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-get-offset" title="mateweather_timezone_get_offset ()">mateweather_timezone_get_offset</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-has-dst" title="mateweather_timezone_has_dst ()">mateweather_timezone_has_dst</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>); +<span class="returnvalue">int</span> <a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-get-dst-offset" title="mateweather_timezone_get_dst_offset ()">mateweather_timezone_get_dst_offset</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>); +<a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="returnvalue">MateWeatherTimezone</span></a> * <a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-ref" title="mateweather_timezone_ref ()">mateweather_timezone_ref</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-unref" title="mateweather_timezone_unref ()">mateweather_timezone_unref</a> (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>); +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="libmateweather-mateweather-timezone.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="libmateweather-mateweather-timezone.details"></a><h2>Details</h2> +<div class="refsect2" title="MateWeatherTimezone"> +<a name="MateWeatherTimezone"></a><h3>MateWeatherTimezone</h3> +<pre class="programlisting">typedef struct _MateWeatherTimezone MateWeatherTimezone;</pre> +<p> +A timezone. +</p> +<p> +There are no public methods for creating timezones; they can only +be created by calling <a class="link" href="libmateweather-mateweather-location.html#mateweather-location-new-world" title="mateweather_location_new_world ()"><code class="function">mateweather_location_new_world()</code></a> to parse +Locations.xml, and then calling various <a class="link" href="libmateweather-mateweather-location.html#MateWeatherLocation" title="MateWeatherLocation"><span class="type">MateWeatherLocation</span></a> methods +to extract relevant timezones from the location hierarchy.</p> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_get_name ()"> +<a name="mateweather-timezone-get-name"></a><h3>mateweather_timezone_get_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_timezone_get_name (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>);</pre> +<p> +Gets <em class="parameter"><code>zone</code></em>'s name; a translated, user-presentable string. +</p> +<p> +Note that the returned name might not be unique among timezones, +and may not make sense to the user unless it is presented along +with the timezone's country's name (or in some context where the +country is obvious).</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>zone</code></em>'s name +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_get_tzid ()"> +<a name="mateweather-timezone-get-tzid"></a><h3>mateweather_timezone_get_tzid ()</h3> +<pre class="programlisting">const <span class="returnvalue">char</span> * mateweather_timezone_get_tzid (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>);</pre> +<p> +Gets <em class="parameter"><code>zone</code></em>'s tzdata identifier, eg "America/New_York".</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>zone</code></em>'s tzid +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_get_offset ()"> +<a name="mateweather-timezone-get-offset"></a><h3>mateweather_timezone_get_offset ()</h3> +<pre class="programlisting"><span class="returnvalue">int</span> mateweather_timezone_get_offset (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>);</pre> +<p> +Gets <em class="parameter"><code>zone</code></em>'s standard offset from UTC, in minutes. Eg, a value of +<code class="literal">120</code> would indicate "GMT+2".</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>zone</code></em>'s standard offset, in minutes +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_has_dst ()"> +<a name="mateweather-timezone-has-dst"></a><h3>mateweather_timezone_has_dst ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> mateweather_timezone_has_dst (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>);</pre> +<p> +Checks if <em class="parameter"><code>zone</code></em> observes daylight/summer time for part of the year.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <code class="literal">TRUE</code> if <em class="parameter"><code>zone</code></em> observes daylight/summer time. +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_get_dst_offset ()"> +<a name="mateweather-timezone-get-dst-offset"></a><h3>mateweather_timezone_get_dst_offset ()</h3> +<pre class="programlisting"><span class="returnvalue">int</span> mateweather_timezone_get_dst_offset (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>);</pre> +<p> +Gets <em class="parameter"><code>zone</code></em>'s daylight/summer time offset from UTC, in minutes. Eg, +a value of <code class="literal">120</code> would indicate "GMT+2". This is only meaningful if +<a class="link" href="libmateweather-mateweather-timezone.html#mateweather-timezone-has-dst" title="mateweather_timezone_has_dst ()"><code class="function">mateweather_timezone_has_dst()</code></a> returns <code class="literal">TRUE</code>.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>zone</code></em>'s daylight/summer time offset, in minutes +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_ref ()"> +<a name="mateweather-timezone-ref"></a><h3>mateweather_timezone_ref ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="returnvalue">MateWeatherTimezone</span></a> * mateweather_timezone_ref (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>);</pre> +<p> +Adds 1 to <em class="parameter"><code>zone</code></em>'s reference count.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> <em class="parameter"><code>zone</code></em> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="mateweather_timezone_unref ()"> +<a name="mateweather-timezone-unref"></a><h3>mateweather_timezone_unref ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> mateweather_timezone_unref (<em class="parameter"><code><a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> *zone</code></em>);</pre> +<p> +Subtracts 1 from <em class="parameter"><code>zone</code></em>'s reference count and frees it if it reaches 0.</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td>a <a class="link" href="libmateweather-mateweather-timezone.html#MateWeatherTimezone" title="MateWeatherTimezone"><span class="type">MateWeatherTimezone</span></a> +</td> +</tr></tbody> +</table></div> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/libmateweather-mateweather-xml.html b/doc/html/libmateweather-mateweather-xml.html new file mode 100644 index 0000000..8419749 --- /dev/null +++ b/doc/html/libmateweather-mateweather-xml.html @@ -0,0 +1,70 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>mateweather-xml</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="libmateweather-weather.html" title="weather"> +<link rel="next" href="libmateweather-mateweather-mateconf.html" title="mateweather-mateconf"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="libmateweather-weather.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="libmateweather-mateweather-mateconf.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#libmateweather-mateweather-xml.synopsis" class="shortcut">Top</a> + | + <a href="#libmateweather-mateweather-xml.description" class="shortcut">Description</a> +</td></tr> +</table> +<div class="refentry" title="mateweather-xml"> +<a name="libmateweather-mateweather-xml"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libmateweather-mateweather-xml.top_of_page"></a>mateweather-xml</span></h2> +<p>mateweather-xml</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="libmateweather-mateweather-xml.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"><span class="returnvalue">GtkTreeModel</span> * <a class="link" href="libmateweather-mateweather-xml.html#mateweather-xml-load-locations" title="mateweather_xml_load_locations ()">mateweather_xml_load_locations</a> (<em class="parameter"><code><span class="type">void</span></code></em>); +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="libmateweather-mateweather-xml.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="libmateweather-mateweather-xml.details"></a><h2>Details</h2> +<div class="refsect2" title="mateweather_xml_load_locations ()"> +<a name="mateweather-xml-load-locations"></a><h3>mateweather_xml_load_locations ()</h3> +<pre class="programlisting"><span class="returnvalue">GtkTreeModel</span> * mateweather_xml_load_locations (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr></tbody> +</table></div> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/libmateweather-weather.html b/doc/html/libmateweather-weather.html new file mode 100644 index 0000000..2c81958 --- /dev/null +++ b/doc/html/libmateweather-weather.html @@ -0,0 +1,1639 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>weather</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> +<link rel="home" href="index.html" title="libmateweather Reference Manual"> +<link rel="up" href="ch01.html" title="[Insert title here]"> +<link rel="prev" href="MateWeatherTimezoneMenu.html" title="MateWeatherTimezoneMenu"> +<link rel="next" href="libmateweather-mateweather-xml.html" title="mateweather-xml"> +<meta name="generator" content="GTK-Doc V1.14 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> +<tr valign="middle"> +<td><a accesskey="p" href="MateWeatherTimezoneMenu.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> +<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> +<th width="100%" align="center">libmateweather Reference Manual</th> +<td><a accesskey="n" href="libmateweather-mateweather-xml.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> +</tr> +<tr><td colspan="5" class="shortcuts"> +<a href="#libmateweather-weather.synopsis" class="shortcut">Top</a> + | + <a href="#libmateweather-weather.description" class="shortcut">Description</a> +</td></tr> +</table> +<div class="refentry" title="weather"> +<a name="libmateweather-weather"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libmateweather-weather.top_of_page"></a>weather</span></h2> +<p>weather</p> +</td> +<td valign="top" align="right"></td> +</tr></table></div> +<div class="refsynopsisdiv" title="Synopsis"> +<a name="libmateweather-weather.synopsis"></a><h2>Synopsis</h2> +<pre class="synopsis"> <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation">WeatherLocation</a>; +<a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * <a class="link" href="libmateweather-weather.html#weather-location-new" title="weather_location_new ()">weather_location_new</a> (<em class="parameter"><code>const <span class="type">gchar</span> *trans_name</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *code</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *zone</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *radar</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *coordinates</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *country_code</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *tz_hint</code></em>); +<a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * <a class="link" href="libmateweather-weather.html#weather-location-clone" title="weather_location_clone ()">weather_location_clone</a> (<em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-weather.html#weather-location-free" title="weather_location_free ()">weather_location_free</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-location-equal" title="weather_location_equal ()">weather_location_equal</a> (<em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location1</code></em>, + <em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location2</code></em>); +enum <a class="link" href="libmateweather-weather.html#WeatherForecastType" title="enum WeatherForecastType">WeatherForecastType</a>; +enum <a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit">TempUnit</a>; +enum <a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit">SpeedUnit</a>; +enum <a class="link" href="libmateweather-weather.html#PressureUnit" title="enum PressureUnit">PressureUnit</a>; +enum <a class="link" href="libmateweather-weather.html#DistanceUnit" title="enum DistanceUnit">DistanceUnit</a>; + <a class="link" href="libmateweather-weather.html#WeatherPrefs" title="WeatherPrefs">WeatherPrefs</a>; + <a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo">WeatherInfo</a>; +<span class="returnvalue">void</span> (<a class="link" href="libmateweather-weather.html#WeatherInfoFunc" title="WeatherInfoFunc ()">*WeatherInfoFunc</a>) (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">gpointer</span> data</code></em>); +#define <a class="link" href="libmateweather-weather.html#weather-info-new" title="weather_info_new()">weather_info_new</a> (location, + prefs, + cb, + data) +#define <a class="link" href="libmateweather-weather.html#weather-info-update" title="weather_info_update()">weather_info_update</a> (info, + prefs, + cb, + data) +<span class="returnvalue">void</span> <a class="link" href="libmateweather-weather.html#weather-info-abort" title="weather_info_abort ()">weather_info_abort</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="returnvalue">WeatherInfo</span></a> * <a class="link" href="libmateweather-weather.html#weather-info-clone" title="weather_info_clone ()">weather_info_clone</a> (<em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-weather.html#weather-info-free" title="weather_info_free ()">weather_info_free</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-is-valid" title="weather_info_is_valid ()">weather_info_is_valid</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-network-error" title="weather_info_network_error ()">weather_info_network_error</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-weather.html#weather-info-to-metric" title="weather_info_to_metric ()">weather_info_to_metric</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">void</span> <a class="link" href="libmateweather-weather.html#weather-info-to-imperial" title="weather_info_to_imperial ()">weather_info_to_imperial</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * <a class="link" href="libmateweather-weather.html#weather-info-get-location" title="weather_info_get_location ()">weather_info_get_location</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-location-name" title="weather_info_get_location_name ()">weather_info_get_location_name</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-update" title="weather_info_get_update ()">weather_info_get_update</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-sky" title="weather_info_get_sky ()">weather_info_get_sky</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-conditions" title="weather_info_get_conditions ()">weather_info_get_conditions</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-temp" title="weather_info_get_temp ()">weather_info_get_temp</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-temp-min" title="weather_info_get_temp_min ()">weather_info_get_temp_min</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-temp-max" title="weather_info_get_temp_max ()">weather_info_get_temp_max</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-dew" title="weather_info_get_dew ()">weather_info_get_dew</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-humidity" title="weather_info_get_humidity ()">weather_info_get_humidity</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-wind" title="weather_info_get_wind ()">weather_info_get_wind</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-pressure" title="weather_info_get_pressure ()">weather_info_get_pressure</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-visibility" title="weather_info_get_visibility ()">weather_info_get_visibility</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-apparent" title="weather_info_get_apparent ()">weather_info_get_apparent</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-sunrise" title="weather_info_get_sunrise ()">weather_info_get_sunrise</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-sunset" title="weather_info_get_sunset ()">weather_info_get_sunset</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-forecast" title="weather_info_get_forecast ()">weather_info_get_forecast</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">GSList</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-forecast-list" title="weather_info_get_forecast_list ()">weather_info_get_forecast_list</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">GdkPixbufAnimation</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-radar" title="weather_info_get_radar ()">weather_info_get_radar</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-temp-summary" title="weather_info_get_temp_summary ()">weather_info_get_temp_summary</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-weather-summary" title="weather_info_get_weather_summary ()">weather_info_get_weather_summary</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +const <span class="returnvalue">gchar</span> * <a class="link" href="libmateweather-weather.html#weather-info-get-icon-name" title="weather_info_get_icon_name ()">weather_info_get_icon_name</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +<span class="returnvalue">gint</span> <a class="link" href="libmateweather-weather.html#weather-info-next-sun-event" title="weather_info_next_sun_event ()">weather_info_next_sun_event</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>); +enum <a class="link" href="libmateweather-weather.html#WeatherWindDirection" title="enum WeatherWindDirection">WeatherWindDirection</a>; +enum <a class="link" href="libmateweather-weather.html#WeatherSky" title="enum WeatherSky">WeatherSky</a>; +enum <a class="link" href="libmateweather-weather.html#WeatherConditionPhenomenon" title="enum WeatherConditionPhenomenon">WeatherConditionPhenomenon</a>; +enum <a class="link" href="libmateweather-weather.html#WeatherConditionQualifier" title="enum WeatherConditionQualifier">WeatherConditionQualifier</a>; +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-update" title="weather_info_get_value_update ()">weather_info_get_value_update</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">time_t</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-sky" title="weather_info_get_value_sky ()">weather_info_get_value_sky</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherSky" title="enum WeatherSky"><span class="type">WeatherSky</span></a> *sky</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-conditions" title="weather_info_get_value_conditions ()">weather_info_get_value_conditions</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherConditionPhenomenon" title="enum WeatherConditionPhenomenon"><span class="type">WeatherConditionPhenomenon</span></a> *phenomenon</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherConditionQualifier" title="enum WeatherConditionQualifier"><span class="type">WeatherConditionQualifier</span></a> *qualifier</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-temp" title="weather_info_get_value_temp ()">weather_info_get_value_temp</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-temp-min" title="weather_info_get_value_temp_min ()">weather_info_get_value_temp_min</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-temp-max" title="weather_info_get_value_temp_max ()">weather_info_get_value_temp_max</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-dew" title="weather_info_get_value_dew ()">weather_info_get_value_dew</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-apparent" title="weather_info_get_value_apparent ()">weather_info_get_value_apparent</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-wind" title="weather_info_get_value_wind ()">weather_info_get_value_wind</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="type">SpeedUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *speed</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherWindDirection" title="enum WeatherWindDirection"><span class="type">WeatherWindDirection</span></a> *direction</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-pressure" title="weather_info_get_value_pressure ()">weather_info_get_value_pressure</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#PressureUnit" title="enum PressureUnit"><span class="type">PressureUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-visibility" title="weather_info_get_value_visibility ()">weather_info_get_value_visibility</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#DistanceUnit" title="enum DistanceUnit"><span class="type">DistanceUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-sunrise" title="weather_info_get_value_sunrise ()">weather_info_get_value_sunrise</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">time_t</span> *value</code></em>); +<span class="returnvalue">gboolean</span> <a class="link" href="libmateweather-weather.html#weather-info-get-value-sunset" title="weather_info_get_value_sunset ()">weather_info_get_value_sunset</a> (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">time_t</span> *value</code></em>); +</pre> +</div> +<div class="refsect1" title="Description"> +<a name="libmateweather-weather.description"></a><h2>Description</h2> +<p> +</p> +</div> +<div class="refsect1" title="Details"> +<a name="libmateweather-weather.details"></a><h2>Details</h2> +<div class="refsect2" title="WeatherLocation"> +<a name="WeatherLocation"></a><h3>WeatherLocation</h3> +<pre class="programlisting">typedef struct { + gchar *name; + gchar *code; + gchar *zone; + gchar *radar; + gboolean zone_valid; + gchar *coordinates; + gdouble latitude; + gdouble longitude; + gboolean latlon_valid; + gchar *country_code; + gchar *tz_hint; +} WeatherLocation; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="weather_location_new ()"> +<a name="weather-location-new"></a><h3>weather_location_new ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * weather_location_new (<em class="parameter"><code>const <span class="type">gchar</span> *trans_name</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *code</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *zone</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *radar</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *coordinates</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *country_code</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *tz_hint</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>trans_name</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>zone</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>radar</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>coordinates</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>country_code</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>tz_hint</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_location_clone ()"> +<a name="weather-location-clone"></a><h3>weather_location_clone ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * weather_location_clone (<em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_location_free ()"> +<a name="weather-location-free"></a><h3>weather_location_free ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> weather_location_free (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td> +<td> +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_location_equal ()"> +<a name="weather-location-equal"></a><h3>weather_location_equal ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_location_equal (<em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location1</code></em>, + <em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="type">WeatherLocation</span></a> *location2</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>location1</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>location2</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="enum WeatherForecastType"> +<a name="WeatherForecastType"></a><h3>enum WeatherForecastType</h3> +<pre class="programlisting">typedef enum _WeatherForecastType { + FORECAST_STATE, + FORECAST_ZONE, + FORECAST_LIST +} WeatherForecastType; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="enum TempUnit"> +<a name="TempUnit"></a><h3>enum TempUnit</h3> +<pre class="programlisting">typedef enum { + TEMP_UNIT_INVALID = 0, + TEMP_UNIT_DEFAULT, + TEMP_UNIT_KELVIN, + TEMP_UNIT_CENTIGRADE, + TEMP_UNIT_FAHRENHEIT +} TempUnit; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="enum SpeedUnit"> +<a name="SpeedUnit"></a><h3>enum SpeedUnit</h3> +<pre class="programlisting">typedef enum { + SPEED_UNIT_INVALID = 0, + SPEED_UNIT_DEFAULT, + SPEED_UNIT_MS, /* metres per second */ + SPEED_UNIT_KPH, /* kilometres per hour */ + SPEED_UNIT_MPH, /* miles per hour */ + SPEED_UNIT_KNOTS, /* Knots */ + SPEED_UNIT_BFT /* Beaufort scale */ +} SpeedUnit; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="enum PressureUnit"> +<a name="PressureUnit"></a><h3>enum PressureUnit</h3> +<pre class="programlisting">typedef enum { + PRESSURE_UNIT_INVALID = 0, + PRESSURE_UNIT_DEFAULT, + PRESSURE_UNIT_KPA, /* kiloPascal */ + PRESSURE_UNIT_HPA, /* hectoPascal */ + PRESSURE_UNIT_MB, /* 1 millibars = 1 hectoPascal */ + PRESSURE_UNIT_MM_HG, /* millimeters of mecury */ + PRESSURE_UNIT_INCH_HG, /* inches of mercury */ + PRESSURE_UNIT_ATM /* atmosphere */ +} PressureUnit; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="enum DistanceUnit"> +<a name="DistanceUnit"></a><h3>enum DistanceUnit</h3> +<pre class="programlisting">typedef enum { + DISTANCE_UNIT_INVALID = 0, + DISTANCE_UNIT_DEFAULT, + DISTANCE_UNIT_METERS, + DISTANCE_UNIT_KM, + DISTANCE_UNIT_MILES +} DistanceUnit; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="WeatherPrefs"> +<a name="WeatherPrefs"></a><h3>WeatherPrefs</h3> +<pre class="programlisting">typedef struct { + WeatherForecastType type; + + gboolean radar; + const char *radar_custom_url; + + TempUnit temperature_unit; + SpeedUnit speed_unit; + PressureUnit pressure_unit; + DistanceUnit distance_unit; +} WeatherPrefs; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="WeatherInfo"> +<a name="WeatherInfo"></a><h3>WeatherInfo</h3> +<pre class="programlisting">typedef struct _WeatherInfo WeatherInfo;</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="WeatherInfoFunc ()"> +<a name="WeatherInfoFunc"></a><h3>WeatherInfoFunc ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> (*WeatherInfoFunc) (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_new()"> +<a name="weather-info-new"></a><h3>weather_info_new()</h3> +<pre class="programlisting">#define weather_info_new(location, prefs, cb, data) _weather_info_fill (NULL, (location), (prefs), (cb), (data)) +</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>prefs</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_update()"> +<a name="weather-info-update"></a><h3>weather_info_update()</h3> +<pre class="programlisting">#define weather_info_update(info, prefs, cb, data) _weather_info_fill ((info), NULL, (prefs), (cb), (data)) +</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>prefs</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>cb</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_abort ()"> +<a name="weather-info-abort"></a><h3>weather_info_abort ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> weather_info_abort (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_clone ()"> +<a name="weather-info-clone"></a><h3>weather_info_clone ()</h3> +<pre class="programlisting"><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="returnvalue">WeatherInfo</span></a> * weather_info_clone (<em class="parameter"><code>const <a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_free ()"> +<a name="weather-info-free"></a><h3>weather_info_free ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> weather_info_free (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_is_valid ()"> +<a name="weather-info-is-valid"></a><h3>weather_info_is_valid ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_is_valid (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_network_error ()"> +<a name="weather-info-network-error"></a><h3>weather_info_network_error ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_network_error (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_to_metric ()"> +<a name="weather-info-to-metric"></a><h3>weather_info_to_metric ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> weather_info_to_metric (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_to_imperial ()"> +<a name="weather-info-to-imperial"></a><h3>weather_info_to_imperial ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> weather_info_to_imperial (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody><tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr></tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_location ()"> +<a name="weather-info-get-location"></a><h3>weather_info_get_location ()</h3> +<pre class="programlisting">const <a class="link" href="libmateweather-weather.html#WeatherLocation" title="WeatherLocation"><span class="returnvalue">WeatherLocation</span></a> * weather_info_get_location (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_location_name ()"> +<a name="weather-info-get-location-name"></a><h3>weather_info_get_location_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_location_name (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_update ()"> +<a name="weather-info-get-update"></a><h3>weather_info_get_update ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_update (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_sky ()"> +<a name="weather-info-get-sky"></a><h3>weather_info_get_sky ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_sky (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_conditions ()"> +<a name="weather-info-get-conditions"></a><h3>weather_info_get_conditions ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_conditions (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_temp ()"> +<a name="weather-info-get-temp"></a><h3>weather_info_get_temp ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_temp (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_temp_min ()"> +<a name="weather-info-get-temp-min"></a><h3>weather_info_get_temp_min ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_temp_min (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_temp_max ()"> +<a name="weather-info-get-temp-max"></a><h3>weather_info_get_temp_max ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_temp_max (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_dew ()"> +<a name="weather-info-get-dew"></a><h3>weather_info_get_dew ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_dew (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_humidity ()"> +<a name="weather-info-get-humidity"></a><h3>weather_info_get_humidity ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_humidity (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_wind ()"> +<a name="weather-info-get-wind"></a><h3>weather_info_get_wind ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_wind (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_pressure ()"> +<a name="weather-info-get-pressure"></a><h3>weather_info_get_pressure ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_pressure (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_visibility ()"> +<a name="weather-info-get-visibility"></a><h3>weather_info_get_visibility ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_visibility (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_apparent ()"> +<a name="weather-info-get-apparent"></a><h3>weather_info_get_apparent ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_apparent (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_sunrise ()"> +<a name="weather-info-get-sunrise"></a><h3>weather_info_get_sunrise ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_sunrise (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_sunset ()"> +<a name="weather-info-get-sunset"></a><h3>weather_info_get_sunset ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_sunset (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_forecast ()"> +<a name="weather-info-get-forecast"></a><h3>weather_info_get_forecast ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_forecast (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_forecast_list ()"> +<a name="weather-info-get-forecast-list"></a><h3>weather_info_get_forecast_list ()</h3> +<pre class="programlisting"><span class="returnvalue">GSList</span> * weather_info_get_forecast_list (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_radar ()"> +<a name="weather-info-get-radar"></a><h3>weather_info_get_radar ()</h3> +<pre class="programlisting"><span class="returnvalue">GdkPixbufAnimation</span> * weather_info_get_radar (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_temp_summary ()"> +<a name="weather-info-get-temp-summary"></a><h3>weather_info_get_temp_summary ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_temp_summary (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_weather_summary ()"> +<a name="weather-info-get-weather-summary"></a><h3>weather_info_get_weather_summary ()</h3> +<pre class="programlisting"><span class="returnvalue">gchar</span> * weather_info_get_weather_summary (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_icon_name ()"> +<a name="weather-info-get-icon-name"></a><h3>weather_info_get_icon_name ()</h3> +<pre class="programlisting">const <span class="returnvalue">gchar</span> * weather_info_get_icon_name (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_next_sun_event ()"> +<a name="weather-info-next-sun-event"></a><h3>weather_info_next_sun_event ()</h3> +<pre class="programlisting"><span class="returnvalue">gint</span> weather_info_next_sun_event (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>);</pre> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +<a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> structure +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> the interval, in seconds, until the next "sun event": + - local midnight, when rise and set times are recomputed + - next sunrise, when icon changes to daytime version + - next sunset, when icon changes to nighttime version +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="enum WeatherWindDirection"> +<a name="WeatherWindDirection"></a><h3>enum WeatherWindDirection</h3> +<pre class="programlisting">enum WeatherWindDirection { + WIND_INVALID = -1, + WIND_VARIABLE, + WIND_N, WIND_NNE, WIND_NE, WIND_ENE, + WIND_E, WIND_ESE, WIND_SE, WIND_SSE, + WIND_S, WIND_SSW, WIND_SW, WIND_WSW, + WIND_W, WIND_WNW, WIND_NW, WIND_NNW, + WIND_LAST +}; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="enum WeatherSky"> +<a name="WeatherSky"></a><h3>enum WeatherSky</h3> +<pre class="programlisting">enum WeatherSky { + SKY_INVALID = -1, + SKY_CLEAR, + SKY_BROKEN, + SKY_SCATTERED, + SKY_FEW, + SKY_OVERCAST, + SKY_LAST +}; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="enum WeatherConditionPhenomenon"> +<a name="WeatherConditionPhenomenon"></a><h3>enum WeatherConditionPhenomenon</h3> +<pre class="programlisting">enum WeatherConditionPhenomenon { + PHENOMENON_INVALID = -1, + + PHENOMENON_NONE, + + PHENOMENON_DRIZZLE, + PHENOMENON_RAIN, + PHENOMENON_SNOW, + PHENOMENON_SNOW_GRAINS, + PHENOMENON_ICE_CRYSTALS, + PHENOMENON_ICE_PELLETS, + PHENOMENON_HAIL, + PHENOMENON_SMALL_HAIL, + PHENOMENON_UNKNOWN_PRECIPITATION, + + PHENOMENON_MIST, + PHENOMENON_FOG, + PHENOMENON_SMOKE, + PHENOMENON_VOLCANIC_ASH, + PHENOMENON_SAND, + PHENOMENON_HAZE, + PHENOMENON_SPRAY, + PHENOMENON_DUST, + + PHENOMENON_SQUALL, + PHENOMENON_SANDSTORM, + PHENOMENON_DUSTSTORM, + PHENOMENON_FUNNEL_CLOUD, + PHENOMENON_TORNADO, + PHENOMENON_DUST_WHIRLS, + + PHENOMENON_LAST +}; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="enum WeatherConditionQualifier"> +<a name="WeatherConditionQualifier"></a><h3>enum WeatherConditionQualifier</h3> +<pre class="programlisting">enum WeatherConditionQualifier { + QUALIFIER_INVALID = -1, + + QUALIFIER_NONE, + + QUALIFIER_VICINITY, + + QUALIFIER_LIGHT, + QUALIFIER_MODERATE, + QUALIFIER_HEAVY, + QUALIFIER_SHALLOW, + QUALIFIER_PATCHES, + QUALIFIER_PARTIAL, + QUALIFIER_THUNDERSTORM, + QUALIFIER_BLOWING, + QUALIFIER_SHOWERS, + QUALIFIER_DRIFTING, + QUALIFIER_FREEZING, + + QUALIFIER_LAST +}; +</pre> +<p> +</p> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_update ()"> +<a name="weather-info-get-value-update"></a><h3>weather_info_get_value_update ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_update (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">time_t</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_sky ()"> +<a name="weather-info-get-value-sky"></a><h3>weather_info_get_value_sky ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_sky (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherSky" title="enum WeatherSky"><span class="type">WeatherSky</span></a> *sky</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>sky</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_conditions ()"> +<a name="weather-info-get-value-conditions"></a><h3>weather_info_get_value_conditions ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_conditions (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherConditionPhenomenon" title="enum WeatherConditionPhenomenon"><span class="type">WeatherConditionPhenomenon</span></a> *phenomenon</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherConditionQualifier" title="enum WeatherConditionQualifier"><span class="type">WeatherConditionQualifier</span></a> *qualifier</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>phenomenon</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>qualifier</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_temp ()"> +<a name="weather-info-get-value-temp"></a><h3>weather_info_get_value_temp ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_temp (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_temp_min ()"> +<a name="weather-info-get-value-temp-min"></a><h3>weather_info_get_value_temp_min ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_temp_min (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_temp_max ()"> +<a name="weather-info-get-value-temp-max"></a><h3>weather_info_get_value_temp_max ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_temp_max (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_dew ()"> +<a name="weather-info-get-value-dew"></a><h3>weather_info_get_value_dew ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_dew (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_apparent ()"> +<a name="weather-info-get-value-apparent"></a><h3>weather_info_get_value_apparent ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_apparent (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#TempUnit" title="enum TempUnit"><span class="type">TempUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_wind ()"> +<a name="weather-info-get-value-wind"></a><h3>weather_info_get_value_wind ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_wind (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#SpeedUnit" title="enum SpeedUnit"><span class="type">SpeedUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *speed</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherWindDirection" title="enum WeatherWindDirection"><span class="type">WeatherWindDirection</span></a> *direction</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>speed</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>direction</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_pressure ()"> +<a name="weather-info-get-value-pressure"></a><h3>weather_info_get_value_pressure ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_pressure (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#PressureUnit" title="enum PressureUnit"><span class="type">PressureUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_visibility ()"> +<a name="weather-info-get-value-visibility"></a><h3>weather_info_get_value_visibility ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_visibility (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><a class="link" href="libmateweather-weather.html#DistanceUnit" title="enum DistanceUnit"><span class="type">DistanceUnit</span></a> unit</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_sunrise ()"> +<a name="weather-info-get-value-sunrise"></a><h3>weather_info_get_value_sunrise ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_sunrise (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">time_t</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +<hr> +<div class="refsect2" title="weather_info_get_value_sunset ()"> +<a name="weather-info-get-value-sunset"></a><h3>weather_info_get_value_sunset ()</h3> +<pre class="programlisting"><span class="returnvalue">gboolean</span> weather_info_get_value_sunset (<em class="parameter"><code><a class="link" href="libmateweather-weather.html#WeatherInfo" title="WeatherInfo"><span class="type">WeatherInfo</span></a> *info</code></em>, + <em class="parameter"><code><span class="type">time_t</span> *value</code></em>);</pre> +<p> +</p> +<div class="variablelist"><table border="0"> +<col align="left" valign="top"> +<tbody> +<tr> +<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> +<td> +</td> +</tr> +<tr> +<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> +<td> +</td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<div class="footer"> +<hr> + Generated by GTK-Doc V1.14</div> +</body> +</html>
\ No newline at end of file diff --git a/doc/html/libmateweather.devhelp b/doc/html/libmateweather.devhelp new file mode 100644 index 0000000..ab9e7b7 --- /dev/null +++ b/doc/html/libmateweather.devhelp @@ -0,0 +1,151 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""> +<book xmlns="http://www.devhelp.net/book" title="libmateweather Reference Manual" link="index.html" author="" name="libmateweather"> + <chapters> + <sub name="[Insert title here]" link="ch01.html"> + <sub name="mateweather-location" link="libmateweather-mateweather-location.html"/> + <sub name="MateWeatherLocationEntry" link="MateWeatherLocationEntry.html"/> + <sub name="mateweather-timezone" link="libmateweather-mateweather-timezone.html"/> + <sub name="MateWeatherTimezoneMenu" link="MateWeatherTimezoneMenu.html"/> + <sub name="weather" link="libmateweather-weather.html"/> + <sub name="mateweather-xml" link="libmateweather-mateweather-xml.html"/> + <sub name="mateweather-mateconf" link="libmateweather-mateweather-mateconf.html"/> + <sub name="mateweather-prefs" link="libmateweather-mateweather-prefs.html"/> + </sub> + </chapters> + <functions> + <function name="MateWeatherLocation" link="libmateweather-mateweather-location.html#MateWeatherLocation"/> + <function name="enum MateWeatherLocationLevel" link="libmateweather-mateweather-location.html#MateWeatherLocationLevel"/> + <function name="mateweather_location_new_world ()" link="libmateweather-mateweather-location.html#mateweather-location-new-world"/> + <function name="mateweather_location_ref ()" link="libmateweather-mateweather-location.html#mateweather-location-ref"/> + <function name="mateweather_location_unref ()" link="libmateweather-mateweather-location.html#mateweather-location-unref"/> + <function name="mateweather_location_get_name ()" link="libmateweather-mateweather-location.html#mateweather-location-get-name"/> + <function name="mateweather_location_get_sort_name ()" link="libmateweather-mateweather-location.html#mateweather-location-get-sort-name"/> + <function name="mateweather_location_get_level ()" link="libmateweather-mateweather-location.html#mateweather-location-get-level"/> + <function name="mateweather_location_get_parent ()" link="libmateweather-mateweather-location.html#mateweather-location-get-parent"/> + <function name="mateweather_location_get_children ()" link="libmateweather-mateweather-location.html#mateweather-location-get-children"/> + <function name="mateweather_location_free_children ()" link="libmateweather-mateweather-location.html#mateweather-location-free-children"/> + <function name="mateweather_location_has_coords ()" link="libmateweather-mateweather-location.html#mateweather-location-has-coords"/> + <function name="mateweather_location_get_coords ()" link="libmateweather-mateweather-location.html#mateweather-location-get-coords"/> + <function name="mateweather_location_get_distance ()" link="libmateweather-mateweather-location.html#mateweather-location-get-distance"/> + <function name="mateweather_location_get_country ()" link="libmateweather-mateweather-location.html#mateweather-location-get-country"/> + <function name="mateweather_location_get_timezone ()" link="libmateweather-mateweather-location.html#mateweather-location-get-timezone"/> + <function name="mateweather_location_get_timezones ()" link="libmateweather-mateweather-location.html#mateweather-location-get-timezones"/> + <function name="mateweather_location_free_timezones ()" link="libmateweather-mateweather-location.html#mateweather-location-free-timezones"/> + <function name="mateweather_location_get_code ()" link="libmateweather-mateweather-location.html#mateweather-location-get-code"/> + <function name="mateweather_location_get_city_name ()" link="libmateweather-mateweather-location.html#mateweather-location-get-city-name"/> + <function name="mateweather_location_get_weather ()" link="libmateweather-mateweather-location.html#mateweather-location-get-weather"/> + <function name="MateWeatherLocationEntry" link="MateWeatherLocationEntry.html#MateWeatherLocationEntry-struct"/> + <function name="mateweather_location_entry_new ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-new"/> + <function name="mateweather_location_entry_set_location ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-set-location"/> + <function name="mateweather_location_entry_get_location ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-get-location"/> + <function name="mateweather_location_entry_set_city ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-set-city"/> + <function name="The "location" property" link="MateWeatherLocationEntry.html#MateWeatherLocationEntry--location"/> + <function name="The "top" property" link="MateWeatherLocationEntry.html#MateWeatherLocationEntry--top"/> + <function name="MateWeatherTimezone" link="libmateweather-mateweather-timezone.html#MateWeatherTimezone"/> + <function name="mateweather_timezone_get_name ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-name"/> + <function name="mateweather_timezone_get_tzid ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-tzid"/> + <function name="mateweather_timezone_get_offset ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-offset"/> + <function name="mateweather_timezone_has_dst ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-has-dst"/> + <function name="mateweather_timezone_get_dst_offset ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-dst-offset"/> + <function name="mateweather_timezone_ref ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-ref"/> + <function name="mateweather_timezone_unref ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-unref"/> + <function name="MateWeatherTimezoneMenu" link="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu-struct"/> + <function name="mateweather_timezone_menu_new ()" link="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-new"/> + <function name="mateweather_timezone_menu_set_tzid ()" link="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-set-tzid"/> + <function name="mateweather_timezone_menu_get_tzid ()" link="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-get-tzid"/> + <function name="The "top" property" link="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--top"/> + <function name="The "tzid" property" link="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--tzid"/> + <function name="WeatherLocation" link="libmateweather-weather.html#WeatherLocation"/> + <function name="weather_location_new ()" link="libmateweather-weather.html#weather-location-new"/> + <function name="weather_location_clone ()" link="libmateweather-weather.html#weather-location-clone"/> + <function name="weather_location_free ()" link="libmateweather-weather.html#weather-location-free"/> + <function name="weather_location_equal ()" link="libmateweather-weather.html#weather-location-equal"/> + <function name="enum WeatherForecastType" link="libmateweather-weather.html#WeatherForecastType"/> + <function name="enum TempUnit" link="libmateweather-weather.html#TempUnit"/> + <function name="enum SpeedUnit" link="libmateweather-weather.html#SpeedUnit"/> + <function name="enum PressureUnit" link="libmateweather-weather.html#PressureUnit"/> + <function name="enum DistanceUnit" link="libmateweather-weather.html#DistanceUnit"/> + <function name="WeatherPrefs" link="libmateweather-weather.html#WeatherPrefs"/> + <function name="WeatherInfo" link="libmateweather-weather.html#WeatherInfo"/> + <function name="WeatherInfoFunc ()" link="libmateweather-weather.html#WeatherInfoFunc"/> + <function name="weather_info_new()" link="libmateweather-weather.html#weather-info-new"/> + <function name="weather_info_update()" link="libmateweather-weather.html#weather-info-update"/> + <function name="weather_info_abort ()" link="libmateweather-weather.html#weather-info-abort"/> + <function name="weather_info_clone ()" link="libmateweather-weather.html#weather-info-clone"/> + <function name="weather_info_free ()" link="libmateweather-weather.html#weather-info-free"/> + <function name="weather_info_is_valid ()" link="libmateweather-weather.html#weather-info-is-valid"/> + <function name="weather_info_network_error ()" link="libmateweather-weather.html#weather-info-network-error"/> + <function name="weather_info_to_metric ()" link="libmateweather-weather.html#weather-info-to-metric"/> + <function name="weather_info_to_imperial ()" link="libmateweather-weather.html#weather-info-to-imperial"/> + <function name="weather_info_get_location ()" link="libmateweather-weather.html#weather-info-get-location"/> + <function name="weather_info_get_location_name ()" link="libmateweather-weather.html#weather-info-get-location-name"/> + <function name="weather_info_get_update ()" link="libmateweather-weather.html#weather-info-get-update"/> + <function name="weather_info_get_sky ()" link="libmateweather-weather.html#weather-info-get-sky"/> + <function name="weather_info_get_conditions ()" link="libmateweather-weather.html#weather-info-get-conditions"/> + <function name="weather_info_get_temp ()" link="libmateweather-weather.html#weather-info-get-temp"/> + <function name="weather_info_get_temp_min ()" link="libmateweather-weather.html#weather-info-get-temp-min"/> + <function name="weather_info_get_temp_max ()" link="libmateweather-weather.html#weather-info-get-temp-max"/> + <function name="weather_info_get_dew ()" link="libmateweather-weather.html#weather-info-get-dew"/> + <function name="weather_info_get_humidity ()" link="libmateweather-weather.html#weather-info-get-humidity"/> + <function name="weather_info_get_wind ()" link="libmateweather-weather.html#weather-info-get-wind"/> + <function name="weather_info_get_pressure ()" link="libmateweather-weather.html#weather-info-get-pressure"/> + <function name="weather_info_get_visibility ()" link="libmateweather-weather.html#weather-info-get-visibility"/> + <function name="weather_info_get_apparent ()" link="libmateweather-weather.html#weather-info-get-apparent"/> + <function name="weather_info_get_sunrise ()" link="libmateweather-weather.html#weather-info-get-sunrise"/> + <function name="weather_info_get_sunset ()" link="libmateweather-weather.html#weather-info-get-sunset"/> + <function name="weather_info_get_forecast ()" link="libmateweather-weather.html#weather-info-get-forecast"/> + <function name="weather_info_get_forecast_list ()" link="libmateweather-weather.html#weather-info-get-forecast-list"/> + <function name="weather_info_get_radar ()" link="libmateweather-weather.html#weather-info-get-radar"/> + <function name="weather_info_get_temp_summary ()" link="libmateweather-weather.html#weather-info-get-temp-summary"/> + <function name="weather_info_get_weather_summary ()" link="libmateweather-weather.html#weather-info-get-weather-summary"/> + <function name="weather_info_get_icon_name ()" link="libmateweather-weather.html#weather-info-get-icon-name"/> + <function name="weather_info_next_sun_event ()" link="libmateweather-weather.html#weather-info-next-sun-event"/> + <function name="enum WeatherWindDirection" link="libmateweather-weather.html#WeatherWindDirection"/> + <function name="enum WeatherSky" link="libmateweather-weather.html#WeatherSky"/> + <function name="enum WeatherConditionPhenomenon" link="libmateweather-weather.html#WeatherConditionPhenomenon"/> + <function name="enum WeatherConditionQualifier" link="libmateweather-weather.html#WeatherConditionQualifier"/> + <function name="weather_info_get_value_update ()" link="libmateweather-weather.html#weather-info-get-value-update"/> + <function name="weather_info_get_value_sky ()" link="libmateweather-weather.html#weather-info-get-value-sky"/> + <function name="weather_info_get_value_conditions ()" link="libmateweather-weather.html#weather-info-get-value-conditions"/> + <function name="weather_info_get_value_temp ()" link="libmateweather-weather.html#weather-info-get-value-temp"/> + <function name="weather_info_get_value_temp_min ()" link="libmateweather-weather.html#weather-info-get-value-temp-min"/> + <function name="weather_info_get_value_temp_max ()" link="libmateweather-weather.html#weather-info-get-value-temp-max"/> + <function name="weather_info_get_value_dew ()" link="libmateweather-weather.html#weather-info-get-value-dew"/> + <function name="weather_info_get_value_apparent ()" link="libmateweather-weather.html#weather-info-get-value-apparent"/> + <function name="weather_info_get_value_wind ()" link="libmateweather-weather.html#weather-info-get-value-wind"/> + <function name="weather_info_get_value_pressure ()" link="libmateweather-weather.html#weather-info-get-value-pressure"/> + <function name="weather_info_get_value_visibility ()" link="libmateweather-weather.html#weather-info-get-value-visibility"/> + <function name="weather_info_get_value_sunrise ()" link="libmateweather-weather.html#weather-info-get-value-sunrise"/> + <function name="weather_info_get_value_sunset ()" link="libmateweather-weather.html#weather-info-get-value-sunset"/> + <function name="mateweather_xml_load_locations ()" link="libmateweather-mateweather-xml.html#mateweather-xml-load-locations"/> + <function name="MateWeatherMateConf" link="libmateweather-mateweather-mateconf.html#MateWeatherMateConf"/> + <function name="mateweather_mateconf_new ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-new"/> + <function name="mateweather_mateconf_free ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-free"/> + <function name="mateweather_mateconf_get_client ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-client"/> + <function name="mateweather_mateconf_get_location ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-location"/> + <function name="mateweather_mateconf_get_full_key ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-full-key"/> + <function name="mateweather_mateconf_set_bool ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-bool"/> + <function name="mateweather_mateconf_set_int ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-int"/> + <function name="mateweather_mateconf_set_string ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-string"/> + <function name="mateweather_mateconf_get_bool ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-bool"/> + <function name="mateweather_mateconf_get_int ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-int"/> + <function name="mateweather_mateconf_get_string ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-string"/> + <function name="MATECONF_TEMP_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-TEMP-UNIT:CAPS"/> + <function name="MATECONF_SPEED_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-SPEED-UNIT:CAPS"/> + <function name="MATECONF_PRESSURE_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-PRESSURE-UNIT:CAPS"/> + <function name="MATECONF_DISTANCE_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-DISTANCE-UNIT:CAPS"/> + <function name="MateWeatherPrefs" link="libmateweather-mateweather-prefs.html#MateWeatherPrefs"/> + <function name="mateweather_prefs_load ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-load"/> + <function name="mateweather_prefs_temp_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-temp-enum-to-string"/> + <function name="mateweather_prefs_speed_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-speed-enum-to-string"/> + <function name="mateweather_prefs_pressure_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-pressure-enum-to-string"/> + <function name="mateweather_prefs_distance_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-distance-enum-to-string"/> + <function name="mateweather_prefs_parse_temperature ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-parse-temperature"/> + <function name="mateweather_prefs_parse_speed ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-parse-speed"/> + <function name="mateweather_prefs_get_temp_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-temp-display-name"/> + <function name="mateweather_prefs_get_speed_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-speed-display-name"/> + <function name="mateweather_prefs_get_pressure_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-pressure-display-name"/> + <function name="mateweather_prefs_get_distance_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-distance-display-name"/> + </functions> +</book> diff --git a/doc/html/libmateweather.devhelp2 b/doc/html/libmateweather.devhelp2 new file mode 100644 index 0000000..6c0b186 --- /dev/null +++ b/doc/html/libmateweather.devhelp2 @@ -0,0 +1,158 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""> +<book xmlns="http://www.devhelp.net/book" title="libmateweather Reference Manual" link="index.html" author="" name="libmateweather" version="2" language="c"> + <chapters> + <sub name="[Insert title here]" link="ch01.html"> + <sub name="mateweather-location" link="libmateweather-mateweather-location.html"/> + <sub name="MateWeatherLocationEntry" link="MateWeatherLocationEntry.html"/> + <sub name="mateweather-timezone" link="libmateweather-mateweather-timezone.html"/> + <sub name="MateWeatherTimezoneMenu" link="MateWeatherTimezoneMenu.html"/> + <sub name="weather" link="libmateweather-weather.html"/> + <sub name="mateweather-xml" link="libmateweather-mateweather-xml.html"/> + <sub name="mateweather-mateconf" link="libmateweather-mateweather-mateconf.html"/> + <sub name="mateweather-prefs" link="libmateweather-mateweather-prefs.html"/> + </sub> + </chapters> + <functions> + <keyword type="struct" name="MateWeatherLocation" link="libmateweather-mateweather-location.html#MateWeatherLocation"/> + <keyword type="enum" name="enum MateWeatherLocationLevel" link="libmateweather-mateweather-location.html#MateWeatherLocationLevel"/> + <keyword type="function" name="mateweather_location_new_world ()" link="libmateweather-mateweather-location.html#mateweather-location-new-world"/> + <keyword type="function" name="mateweather_location_ref ()" link="libmateweather-mateweather-location.html#mateweather-location-ref"/> + <keyword type="function" name="mateweather_location_unref ()" link="libmateweather-mateweather-location.html#mateweather-location-unref"/> + <keyword type="function" name="mateweather_location_get_name ()" link="libmateweather-mateweather-location.html#mateweather-location-get-name"/> + <keyword type="function" name="mateweather_location_get_sort_name ()" link="libmateweather-mateweather-location.html#mateweather-location-get-sort-name"/> + <keyword type="function" name="mateweather_location_get_level ()" link="libmateweather-mateweather-location.html#mateweather-location-get-level"/> + <keyword type="function" name="mateweather_location_get_parent ()" link="libmateweather-mateweather-location.html#mateweather-location-get-parent"/> + <keyword type="function" name="mateweather_location_get_children ()" link="libmateweather-mateweather-location.html#mateweather-location-get-children"/> + <keyword type="function" name="mateweather_location_free_children ()" link="libmateweather-mateweather-location.html#mateweather-location-free-children" deprecated="This is a no-op."/> + <keyword type="function" name="mateweather_location_has_coords ()" link="libmateweather-mateweather-location.html#mateweather-location-has-coords"/> + <keyword type="function" name="mateweather_location_get_coords ()" link="libmateweather-mateweather-location.html#mateweather-location-get-coords"/> + <keyword type="function" name="mateweather_location_get_distance ()" link="libmateweather-mateweather-location.html#mateweather-location-get-distance"/> + <keyword type="function" name="mateweather_location_get_country ()" link="libmateweather-mateweather-location.html#mateweather-location-get-country"/> + <keyword type="function" name="mateweather_location_get_timezone ()" link="libmateweather-mateweather-location.html#mateweather-location-get-timezone"/> + <keyword type="function" name="mateweather_location_get_timezones ()" link="libmateweather-mateweather-location.html#mateweather-location-get-timezones"/> + <keyword type="function" name="mateweather_location_free_timezones ()" link="libmateweather-mateweather-location.html#mateweather-location-free-timezones"/> + <keyword type="function" name="mateweather_location_get_code ()" link="libmateweather-mateweather-location.html#mateweather-location-get-code"/> + <keyword type="function" name="mateweather_location_get_city_name ()" link="libmateweather-mateweather-location.html#mateweather-location-get-city-name"/> + <keyword type="function" name="mateweather_location_get_weather ()" link="libmateweather-mateweather-location.html#mateweather-location-get-weather"/> + <keyword type="struct" name="MateWeatherLocationEntry" link="MateWeatherLocationEntry.html#MateWeatherLocationEntry-struct"/> + <keyword type="function" name="mateweather_location_entry_new ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-new"/> + <keyword type="function" name="mateweather_location_entry_set_location ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-set-location"/> + <keyword type="function" name="mateweather_location_entry_get_location ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-get-location"/> + <keyword type="function" name="mateweather_location_entry_set_city ()" link="MateWeatherLocationEntry.html#mateweather-location-entry-set-city"/> + <keyword type="property" name="The "location" property" link="MateWeatherLocationEntry.html#MateWeatherLocationEntry--location"/> + <keyword type="property" name="The "top" property" link="MateWeatherLocationEntry.html#MateWeatherLocationEntry--top"/> + <keyword type="struct" name="MateWeatherTimezone" link="libmateweather-mateweather-timezone.html#MateWeatherTimezone"/> + <keyword type="function" name="mateweather_timezone_get_name ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-name"/> + <keyword type="function" name="mateweather_timezone_get_tzid ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-tzid"/> + <keyword type="function" name="mateweather_timezone_get_offset ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-offset"/> + <keyword type="function" name="mateweather_timezone_has_dst ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-has-dst"/> + <keyword type="function" name="mateweather_timezone_get_dst_offset ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-get-dst-offset"/> + <keyword type="function" name="mateweather_timezone_ref ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-ref"/> + <keyword type="function" name="mateweather_timezone_unref ()" link="libmateweather-mateweather-timezone.html#mateweather-timezone-unref"/> + <keyword type="struct" name="MateWeatherTimezoneMenu" link="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu-struct"/> + <keyword type="function" name="mateweather_timezone_menu_new ()" link="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-new"/> + <keyword type="function" name="mateweather_timezone_menu_set_tzid ()" link="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-set-tzid"/> + <keyword type="function" name="mateweather_timezone_menu_get_tzid ()" link="MateWeatherTimezoneMenu.html#mateweather-timezone-menu-get-tzid"/> + <keyword type="property" name="The "top" property" link="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--top"/> + <keyword type="property" name="The "tzid" property" link="MateWeatherTimezoneMenu.html#MateWeatherTimezoneMenu--tzid"/> + <keyword type="struct" name="WeatherLocation" link="libmateweather-weather.html#WeatherLocation"/> + <keyword type="function" name="weather_location_new ()" link="libmateweather-weather.html#weather-location-new"/> + <keyword type="function" name="weather_location_clone ()" link="libmateweather-weather.html#weather-location-clone"/> + <keyword type="function" name="weather_location_free ()" link="libmateweather-weather.html#weather-location-free"/> + <keyword type="function" name="weather_location_equal ()" link="libmateweather-weather.html#weather-location-equal"/> + <keyword type="enum" name="enum WeatherForecastType" link="libmateweather-weather.html#WeatherForecastType"/> + <keyword type="enum" name="enum TempUnit" link="libmateweather-weather.html#TempUnit"/> + <keyword type="enum" name="enum SpeedUnit" link="libmateweather-weather.html#SpeedUnit"/> + <keyword type="enum" name="enum PressureUnit" link="libmateweather-weather.html#PressureUnit"/> + <keyword type="enum" name="enum DistanceUnit" link="libmateweather-weather.html#DistanceUnit"/> + <keyword type="struct" name="WeatherPrefs" link="libmateweather-weather.html#WeatherPrefs"/> + <keyword type="struct" name="WeatherInfo" link="libmateweather-weather.html#WeatherInfo"/> + <keyword type="function" name="WeatherInfoFunc ()" link="libmateweather-weather.html#WeatherInfoFunc"/> + <keyword type="macro" name="weather_info_new()" link="libmateweather-weather.html#weather-info-new"/> + <keyword type="macro" name="weather_info_update()" link="libmateweather-weather.html#weather-info-update"/> + <keyword type="function" name="weather_info_abort ()" link="libmateweather-weather.html#weather-info-abort"/> + <keyword type="function" name="weather_info_clone ()" link="libmateweather-weather.html#weather-info-clone"/> + <keyword type="function" name="weather_info_free ()" link="libmateweather-weather.html#weather-info-free"/> + <keyword type="function" name="weather_info_is_valid ()" link="libmateweather-weather.html#weather-info-is-valid"/> + <keyword type="function" name="weather_info_network_error ()" link="libmateweather-weather.html#weather-info-network-error"/> + <keyword type="function" name="weather_info_to_metric ()" link="libmateweather-weather.html#weather-info-to-metric"/> + <keyword type="function" name="weather_info_to_imperial ()" link="libmateweather-weather.html#weather-info-to-imperial"/> + <keyword type="function" name="weather_info_get_location ()" link="libmateweather-weather.html#weather-info-get-location"/> + <keyword type="function" name="weather_info_get_location_name ()" link="libmateweather-weather.html#weather-info-get-location-name"/> + <keyword type="function" name="weather_info_get_update ()" link="libmateweather-weather.html#weather-info-get-update"/> + <keyword type="function" name="weather_info_get_sky ()" link="libmateweather-weather.html#weather-info-get-sky"/> + <keyword type="function" name="weather_info_get_conditions ()" link="libmateweather-weather.html#weather-info-get-conditions"/> + <keyword type="function" name="weather_info_get_temp ()" link="libmateweather-weather.html#weather-info-get-temp"/> + <keyword type="function" name="weather_info_get_temp_min ()" link="libmateweather-weather.html#weather-info-get-temp-min"/> + <keyword type="function" name="weather_info_get_temp_max ()" link="libmateweather-weather.html#weather-info-get-temp-max"/> + <keyword type="function" name="weather_info_get_dew ()" link="libmateweather-weather.html#weather-info-get-dew"/> + <keyword type="function" name="weather_info_get_humidity ()" link="libmateweather-weather.html#weather-info-get-humidity"/> + <keyword type="function" name="weather_info_get_wind ()" link="libmateweather-weather.html#weather-info-get-wind"/> + <keyword type="function" name="weather_info_get_pressure ()" link="libmateweather-weather.html#weather-info-get-pressure"/> + <keyword type="function" name="weather_info_get_visibility ()" link="libmateweather-weather.html#weather-info-get-visibility"/> + <keyword type="function" name="weather_info_get_apparent ()" link="libmateweather-weather.html#weather-info-get-apparent"/> + <keyword type="function" name="weather_info_get_sunrise ()" link="libmateweather-weather.html#weather-info-get-sunrise"/> + <keyword type="function" name="weather_info_get_sunset ()" link="libmateweather-weather.html#weather-info-get-sunset"/> + <keyword type="function" name="weather_info_get_forecast ()" link="libmateweather-weather.html#weather-info-get-forecast"/> + <keyword type="function" name="weather_info_get_forecast_list ()" link="libmateweather-weather.html#weather-info-get-forecast-list"/> + <keyword type="function" name="weather_info_get_radar ()" link="libmateweather-weather.html#weather-info-get-radar"/> + <keyword type="function" name="weather_info_get_temp_summary ()" link="libmateweather-weather.html#weather-info-get-temp-summary"/> + <keyword type="function" name="weather_info_get_weather_summary ()" link="libmateweather-weather.html#weather-info-get-weather-summary"/> + <keyword type="function" name="weather_info_get_icon_name ()" link="libmateweather-weather.html#weather-info-get-icon-name"/> + <keyword type="function" name="weather_info_next_sun_event ()" link="libmateweather-weather.html#weather-info-next-sun-event"/> + <keyword type="enum" name="enum WeatherWindDirection" link="libmateweather-weather.html#WeatherWindDirection"/> + <keyword type="enum" name="enum WeatherSky" link="libmateweather-weather.html#WeatherSky"/> + <keyword type="enum" name="enum WeatherConditionPhenomenon" link="libmateweather-weather.html#WeatherConditionPhenomenon"/> + <keyword type="enum" name="enum WeatherConditionQualifier" link="libmateweather-weather.html#WeatherConditionQualifier"/> + <keyword type="function" name="weather_info_get_value_update ()" link="libmateweather-weather.html#weather-info-get-value-update"/> + <keyword type="function" name="weather_info_get_value_sky ()" link="libmateweather-weather.html#weather-info-get-value-sky"/> + <keyword type="function" name="weather_info_get_value_conditions ()" link="libmateweather-weather.html#weather-info-get-value-conditions"/> + <keyword type="function" name="weather_info_get_value_temp ()" link="libmateweather-weather.html#weather-info-get-value-temp"/> + <keyword type="function" name="weather_info_get_value_temp_min ()" link="libmateweather-weather.html#weather-info-get-value-temp-min"/> + <keyword type="function" name="weather_info_get_value_temp_max ()" link="libmateweather-weather.html#weather-info-get-value-temp-max"/> + <keyword type="function" name="weather_info_get_value_dew ()" link="libmateweather-weather.html#weather-info-get-value-dew"/> + <keyword type="function" name="weather_info_get_value_apparent ()" link="libmateweather-weather.html#weather-info-get-value-apparent"/> + <keyword type="function" name="weather_info_get_value_wind ()" link="libmateweather-weather.html#weather-info-get-value-wind"/> + <keyword type="function" name="weather_info_get_value_pressure ()" link="libmateweather-weather.html#weather-info-get-value-pressure"/> + <keyword type="function" name="weather_info_get_value_visibility ()" link="libmateweather-weather.html#weather-info-get-value-visibility"/> + <keyword type="function" name="weather_info_get_value_sunrise ()" link="libmateweather-weather.html#weather-info-get-value-sunrise"/> + <keyword type="function" name="weather_info_get_value_sunset ()" link="libmateweather-weather.html#weather-info-get-value-sunset"/> + <keyword type="function" name="mateweather_xml_load_locations ()" link="libmateweather-mateweather-xml.html#mateweather-xml-load-locations"/> + <keyword type="struct" name="MateWeatherMateConf" link="libmateweather-mateweather-mateconf.html#MateWeatherMateConf"/> + <keyword type="function" name="mateweather_mateconf_new ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-new"/> + <keyword type="function" name="mateweather_mateconf_free ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-free"/> + <keyword type="function" name="mateweather_mateconf_get_client ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-client"/> + <keyword type="function" name="mateweather_mateconf_get_location ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-location"/> + <keyword type="function" name="mateweather_mateconf_get_full_key ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-full-key"/> + <keyword type="function" name="mateweather_mateconf_set_bool ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-bool"/> + <keyword type="function" name="mateweather_mateconf_set_int ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-int"/> + <keyword type="function" name="mateweather_mateconf_set_string ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-set-string"/> + <keyword type="function" name="mateweather_mateconf_get_bool ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-bool"/> + <keyword type="function" name="mateweather_mateconf_get_int ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-int"/> + <keyword type="function" name="mateweather_mateconf_get_string ()" link="libmateweather-mateweather-mateconf.html#mateweather-mateconf-get-string"/> + <keyword type="macro" name="MATECONF_TEMP_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-TEMP-UNIT:CAPS"/> + <keyword type="macro" name="MATECONF_SPEED_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-SPEED-UNIT:CAPS"/> + <keyword type="macro" name="MATECONF_PRESSURE_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-PRESSURE-UNIT:CAPS"/> + <keyword type="macro" name="MATECONF_DISTANCE_UNIT" link="libmateweather-mateweather-prefs.html#MATECONF-DISTANCE-UNIT:CAPS"/> + <keyword type="struct" name="MateWeatherPrefs" link="libmateweather-mateweather-prefs.html#MateWeatherPrefs"/> + <keyword type="function" name="mateweather_prefs_load ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-load"/> + <keyword type="function" name="mateweather_prefs_temp_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-temp-enum-to-string"/> + <keyword type="function" name="mateweather_prefs_speed_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-speed-enum-to-string"/> + <keyword type="function" name="mateweather_prefs_pressure_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-pressure-enum-to-string"/> + <keyword type="function" name="mateweather_prefs_distance_enum_to_string ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-distance-enum-to-string"/> + <keyword type="function" name="mateweather_prefs_parse_temperature ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-parse-temperature"/> + <keyword type="function" name="mateweather_prefs_parse_speed ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-parse-speed"/> + <keyword type="function" name="mateweather_prefs_get_temp_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-temp-display-name"/> + <keyword type="function" name="mateweather_prefs_get_speed_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-speed-display-name"/> + <keyword type="function" name="mateweather_prefs_get_pressure_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-pressure-display-name"/> + <keyword type="function" name="mateweather_prefs_get_distance_display_name ()" link="libmateweather-mateweather-prefs.html#mateweather-prefs-get-distance-display-name"/> + <keyword type="constant" name="MATEWEATHER_LOCATION_WORLD" link="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WORLD:CAPS"/> + <keyword type="constant" name="MATEWEATHER_LOCATION_REGION" link="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-REGION:CAPS"/> + <keyword type="constant" name="MATEWEATHER_LOCATION_COUNTRY" link="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-COUNTRY:CAPS"/> + <keyword type="constant" name="MATEWEATHER_LOCATION_ADM1" link="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-ADM1:CAPS"/> + <keyword type="constant" name="MATEWEATHER_LOCATION_ADM2" link="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-ADM2:CAPS"/> + <keyword type="constant" name="MATEWEATHER_LOCATION_CITY" link="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-CITY:CAPS"/> + <keyword type="constant" name="MATEWEATHER_LOCATION_WEATHER_STATION" link="libmateweather-mateweather-location.html#MATEWEATHER-LOCATION-WEATHER-STATION:CAPS"/> + </functions> +</book> diff --git a/doc/html/right.png b/doc/html/right.png Binary files differnew file mode 100644 index 0000000..92832e3 --- /dev/null +++ b/doc/html/right.png diff --git a/doc/html/style.css b/doc/html/style.css new file mode 100644 index 0000000..82115eb --- /dev/null +++ b/doc/html/style.css @@ -0,0 +1,257 @@ +.synopsis, .classsynopsis +{ + /* tango:aluminium 1/2 */ + background: #eeeeec; + border: solid 1px #d3d7cf; + padding: 0.5em; +} +.programlisting +{ + /* tango:sky blue 0/1 */ + background: #e6f3ff; + border: solid 1px #729fcf; + padding: 0.5em; +} +.variablelist +{ + padding: 4px; + margin-left: 3em; +} +.variablelist td:first-child +{ + vertical-align: top; +} + +@media screen { + sup a.footnote + { + position: relative; + top: 0em ! important; + + } + /* this is needed so that the local anchors are displayed below the naviagtion */ + div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name] + { + position: relative; + padding-top:4.5em; + } + /* this seems to be a bug in the xsl style sheets when generating indexes */ + div.index div.index + { + top: 0em; + } + /* make space for the fixed navigation bar and add space at the bottom so that + * link targets appear somewhat close to top + */ + body + { + padding-top: 3.2em; + padding-bottom: 20em; + } + /* style and size the navigation bar */ + table.navigation#top + { + position: fixed; + /* tango:scarlet red 0/1 */ + background: #ffe6e6; + border: solid 1px #ef2929; + margin-top: 0; + margin-bottom: 0; + top: 0; + left: 0; + height: 3em; + z-index: 10; + } + .navigation a, .navigation a:visited + { + /* tango:scarlet red 3 */ + color: #a40000; + } + .navigation a:hover + { + /* tango:scarlet red 1 */ + color: #ef2929; + } + td.shortcuts + { + /* tango:scarlet red 1 */ + color: #ef2929; + font-size: 80%; + white-space: nowrap; + } +} +@media print { + table.navigation { + visibility: collapse; + display: none; + } + div.titlepage table.navigation { + visibility: visible; + display: table; + /* tango:scarlet red 0/1 */ + background: #ffe6e6; + border: solid 1px #ef2929; + margin-top: 0; + margin-bottom: 0; + top: 0; + left: 0; + height: 3em; + } +} + +.navigation .title +{ + font-size: 200%; +} + +div.gallery-float +{ + float: left; + padding: 10px; +} +div.gallery-float img +{ + border-style: none; +} +div.gallery-spacer +{ + clear: both; +} + +a, a:visited +{ + text-decoration: none; + /* tango:sky blue 2 */ + color: #3465a4; +} +a:hover +{ + text-decoration: underline; + /* tango:sky blue 1 */ + color: #729fcf; +} + +div.table table +{ + border-collapse: collapse; + border-spacing: 0px; + /* tango:aluminium 3 */ + border: solid 1px #babdb6; +} + +div.table table td, div.table table th +{ + /* tango:aluminium 3 */ + border: solid 1px #babdb6; + padding: 3px; + vertical-align: top; +} + +div.table table th +{ + /* tango:aluminium 2 */ + background-color: #d3d7cf; +} + +hr +{ + /* tango:aluminium 3 */ + color: #babdb6; + background: #babdb6; + border: none 0px; + height: 1px; + clear: both; +} + +.footer +{ + padding-top: 3.5em; + /* tango:aluminium 3 */ + color: #babdb6; + text-align: center; + font-size: 80%; +} + +.warning +{ + /* tango:orange 0/1 */ + background: #ffeed9; + border-color: #ffb04f; +} +.note +{ + /* tango:chameleon 0/0.5 */ + background: #d8ffb2; + border-color: #abf562; +} +.note, .warning +{ + padding: 0.5em; + border-width: 1px; + border-style: solid; +} +.note h3, .warning h3 +{ + margin-top: 0.0em +} +.note p, .warning p +{ + margin-bottom: 0.0em +} + +/* blob links */ +h2 .extralinks, h3 .extralinks +{ + float: right; + /* tango:aluminium 3 */ + color: #babdb6; + font-size: 80%; + font-weight: normal; +} + +/* code listings */ + +.listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */ +.listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */ +.listing_code .programlisting .function { color: #000000; font-weight: bold; } +.listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */ +.listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */ +.listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */ +.listing_code .programlisting .normal { color: #000000; } +.listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */ +.listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */ +.listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */ +.listing_code .programlisting .type { color: #000000; } +.listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */ +.listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */ + +.listing_frame { + /* tango:sky blue 1 */ + border: solid 1px #729fcf; + padding: 0px; +} + +.listing_lines, .listing_code { + margin-top: 0px; + margin-bottom: 0px; + padding: 0.5em; +} +.listing_lines { + /* tango:sky blue 0.5 */ + background: #a6c5e3; + /* tango:aluminium 6 */ + color: #2e3436; +} +.listing_code { + /* tango:sky blue 0 */ + background: #e6f3ff; +} +.listing_code .programlisting { + /* override from previous */ + border: none 0px; + padding: 0px; +} +.listing_lines pre, .listing_code pre { + margin: 0px; +} + diff --git a/doc/html/up.png b/doc/html/up.png Binary files differnew file mode 100644 index 0000000..85b3e2a --- /dev/null +++ b/doc/html/up.png diff --git a/doc/libmateweather-docs.sgml b/doc/libmateweather-docs.sgml new file mode 100644 index 0000000..09f13a5 --- /dev/null +++ b/doc/libmateweather-docs.sgml @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" + "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"> +<book id="index" xmlns:xi="http://www.w3.org/2001/XInclude"> + <bookinfo> + <title>libmateweather Reference Manual</title> + <releaseinfo> + for libmateweather [VERSION] + The latest version of this documentation can be found on-line at + <ulink role="online-location" url="http://[SERVER]/libmateweather/index.html">http://[SERVER]/libmateweather/</ulink>. + </releaseinfo> + </bookinfo> + + <chapter> + <title>[Insert title here]</title> + <xi:include href="xml/mateweather-location.xml"/> + <xi:include href="xml/location-entry.xml"/> + <xi:include href="xml/mateweather-timezone.xml"/> + <xi:include href="xml/timezone-menu.xml"/> + <xi:include href="xml/weather.xml"/> + <xi:include href="xml/mateweather-xml.xml"/> + <xi:include href="xml/mateweather-mateconf.xml"/> + <xi:include href="xml/mateweather-prefs.xml"/> + </chapter> +</book> diff --git a/doc/libmateweather-overrides.txt b/doc/libmateweather-overrides.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/doc/libmateweather-overrides.txt diff --git a/doc/libmateweather-sections.txt b/doc/libmateweather-sections.txt new file mode 100644 index 0000000..7e9ef1d --- /dev/null +++ b/doc/libmateweather-sections.txt @@ -0,0 +1,185 @@ +<SECTION> +<FILE>timezone-menu</FILE> +<TITLE>MateWeatherTimezoneMenu</TITLE> +MateWeatherTimezoneMenu +mateweather_timezone_menu_new +mateweather_timezone_menu_set_tzid +mateweather_timezone_menu_get_tzid +<SUBSECTION Standard> +MATEWEATHER_TIMEZONE_MENU +MATEWEATHER_IS_TIMEZONE_MENU +MATEWEATHER_TYPE_TIMEZONE_MENU +mateweather_timezone_menu_get_type +MATEWEATHER_TIMEZONE_MENU_CLASS +MATEWEATHER_IS_TIMEZONE_MENU_CLASS +MATEWEATHER_TIMEZONE_MENU_GET_CLASS +</SECTION> + +<SECTION> +<FILE>location-entry</FILE> +<TITLE>MateWeatherLocationEntry</TITLE> +MateWeatherLocationEntry +mateweather_location_entry_new +mateweather_location_entry_set_location +mateweather_location_entry_get_location +mateweather_location_entry_set_city +<SUBSECTION Standard> +MATEWEATHER_LOCATION_ENTRY +MATEWEATHER_IS_LOCATION_ENTRY +MATEWEATHER_TYPE_LOCATION_ENTRY +mateweather_location_entry_get_type +MATEWEATHER_LOCATION_ENTRY_CLASS +MATEWEATHER_IS_LOCATION_ENTRY_CLASS +MATEWEATHER_LOCATION_ENTRY_GET_CLASS +</SECTION> + +<SECTION> +<FILE>mateweather-timezone</FILE> +MateWeatherTimezone +mateweather_timezone_get_name +mateweather_timezone_get_tzid +mateweather_timezone_get_offset +mateweather_timezone_has_dst +mateweather_timezone_get_dst_offset +mateweather_timezone_ref +mateweather_timezone_unref +<SUBSECTION Standard> +mateweather_timezone_get_type +MATEWEATHER_TYPE_TIMEZONE +</SECTION> + +<SECTION> +<FILE>mateweather-xml</FILE> +mateweather_xml_load_locations +</SECTION> + +<SECTION> +<FILE>mateweather-mateconf</FILE> +MateWeatherMateConf +mateweather_mateconf_new +mateweather_mateconf_free +mateweather_mateconf_get_client +mateweather_mateconf_get_location +mateweather_mateconf_get_full_key +mateweather_mateconf_set_bool +mateweather_mateconf_set_int +mateweather_mateconf_set_string +mateweather_mateconf_get_bool +mateweather_mateconf_get_int +mateweather_mateconf_get_string +</SECTION> + +<SECTION> +<FILE>mateweather-prefs</FILE> +MATECONF_TEMP_UNIT +MATECONF_SPEED_UNIT +MATECONF_PRESSURE_UNIT +MATECONF_DISTANCE_UNIT +MateWeatherPrefs +mateweather_prefs_load +mateweather_prefs_temp_enum_to_string +mateweather_prefs_speed_enum_to_string +mateweather_prefs_pressure_enum_to_string +mateweather_prefs_distance_enum_to_string +mateweather_prefs_parse_temperature +mateweather_prefs_parse_speed +mateweather_prefs_get_temp_display_name +mateweather_prefs_get_speed_display_name +mateweather_prefs_get_pressure_display_name +mateweather_prefs_get_distance_display_name +</SECTION> + +<SECTION> +<FILE>mateweather-location</FILE> +MateWeatherLocation +MateWeatherLocationLevel +mateweather_location_new_world +mateweather_location_ref +mateweather_location_unref +mateweather_location_get_name +mateweather_location_get_sort_name +mateweather_location_get_level +mateweather_location_get_parent +mateweather_location_get_children +mateweather_location_free_children +mateweather_location_has_coords +mateweather_location_get_coords +mateweather_location_get_distance +mateweather_location_get_country +mateweather_location_get_timezone +mateweather_location_get_timezones +mateweather_location_free_timezones +mateweather_location_get_code +mateweather_location_get_city_name +mateweather_location_get_weather +<SUBSECTION Standard> +mateweather_location_get_type +MATEWEATHER_TYPE_LOCATION +</SECTION> + +<SECTION> +<FILE>weather</FILE> +WeatherLocation +weather_location_new +weather_location_clone +weather_location_free +weather_location_equal +WeatherForecastType +TempUnit +SpeedUnit +PressureUnit +DistanceUnit +WeatherPrefs +WeatherInfo +WeatherInfoFunc +weather_info_new +weather_info_update +weather_info_abort +weather_info_clone +weather_info_free +weather_info_is_valid +weather_info_network_error +weather_info_to_metric +weather_info_to_imperial +weather_info_get_location +weather_info_get_location_name +weather_info_get_update +weather_info_get_sky +weather_info_get_conditions +weather_info_get_temp +weather_info_get_temp_min +weather_info_get_temp_max +weather_info_get_dew +weather_info_get_humidity +weather_info_get_wind +weather_info_get_pressure +weather_info_get_visibility +weather_info_get_apparent +weather_info_get_sunrise +weather_info_get_sunset +weather_info_get_forecast +weather_info_get_forecast_list +weather_info_get_radar +weather_info_get_temp_summary +weather_info_get_weather_summary +weather_info_get_icon_name +weather_info_next_sun_event +WeatherWindDirection +WeatherSky +WeatherConditionPhenomenon +WeatherConditionQualifier +weather_info_get_value_update +weather_info_get_value_sky +weather_info_get_value_conditions +weather_info_get_value_temp +weather_info_get_value_temp_min +weather_info_get_value_temp_max +weather_info_get_value_dew +weather_info_get_value_apparent +weather_info_get_value_wind +weather_info_get_value_pressure +weather_info_get_value_visibility +weather_info_get_value_sunrise +weather_info_get_value_sunset +</SECTION> + diff --git a/doc/libmateweather.types b/doc/libmateweather.types new file mode 100644 index 0000000..f09847a --- /dev/null +++ b/doc/libmateweather.types @@ -0,0 +1,5 @@ +mateweather_location_level_get_type +mateweather_timezone_get_type +mateweather_timezone_menu_get_type +mateweather_location_entry_get_type +mateweather_location_get_type diff --git a/doc/tmpl/libmateweather-unused.sgml b/doc/tmpl/libmateweather-unused.sgml new file mode 100644 index 0000000..5470c86 --- /dev/null +++ b/doc/tmpl/libmateweather-unused.sgml @@ -0,0 +1,493 @@ +<!-- ##### SECTION ./tmpl/mateweather-enum-types.sgml:Long_Description ##### --> +<para> + +</para> + + +<!-- ##### SECTION ./tmpl/mateweather-enum-types.sgml:See_Also ##### --> +<para> + +</para> + + +<!-- ##### SECTION ./tmpl/mateweather-enum-types.sgml:Short_Description ##### --> + + + +<!-- ##### SECTION ./tmpl/mateweather-enum-types.sgml:Stability_Level ##### --> + + + +<!-- ##### SECTION ./tmpl/mateweather-enum-types.sgml:Title ##### --> +mateweather-enum-types + + +<!-- ##### SECTION ./tmpl/parser.sgml:Long_Description ##### --> +<para> + +</para> + + +<!-- ##### SECTION ./tmpl/parser.sgml:See_Also ##### --> +<para> + +</para> + + +<!-- ##### SECTION ./tmpl/parser.sgml:Short_Description ##### --> + + + +<!-- ##### SECTION ./tmpl/parser.sgml:Stability_Level ##### --> + + + +<!-- ##### SECTION ./tmpl/parser.sgml:Title ##### --> +parser + + +<!-- ##### SECTION ./tmpl/weather-priv.sgml:Long_Description ##### --> +<para> + +</para> + + +<!-- ##### SECTION ./tmpl/weather-priv.sgml:See_Also ##### --> +<para> + +</para> + + +<!-- ##### SECTION ./tmpl/weather-priv.sgml:Short_Description ##### --> + + + +<!-- ##### SECTION ./tmpl/weather-priv.sgml:Stability_Level ##### --> + + + +<!-- ##### SECTION ./tmpl/weather-priv.sgml:Title ##### --> +weather-priv + + +<!-- ##### MACRO CONST_ALPHABET ##### --> +<para> + +</para> + + +<!-- ##### MACRO CONST_DIGITS ##### --> +<para> + +</para> + + +<!-- ##### MACRO DATA_SIZE ##### --> +<para> + +</para> + + +<!-- ##### MACRO DEGREES_TO_RADIANS ##### --> +<para> + +</para> + +@deg: + +<!-- ##### MACRO MATEWEATHER_TYPE_LOCATION ##### --> +<para> + +</para> + + +<!-- ##### MACRO MATEWEATHER_TYPE_LOCATION_LEVEL ##### --> +<para> + +</para> + + +<!-- ##### MACRO MATEWEATHER_TYPE_TIMEZONE ##### --> +<para> + +</para> + + +<!-- ##### STRUCT MateWeatherParser ##### --> +<para> + +</para> + +@xml: +@locales: +@use_regions: +@year_start: +@year_end: + +<!-- ##### MACRO N_ ##### --> +<para> + +</para> + +@str: + +<!-- ##### MACRO PRESSURE_INCH_TO_ATM ##### --> +<para> + +</para> + +@inch: + +<!-- ##### MACRO PRESSURE_INCH_TO_HPA ##### --> +<para> + +</para> + +@inch: + +<!-- ##### MACRO PRESSURE_INCH_TO_KPA ##### --> +<para> + +</para> + +@inch: + +<!-- ##### MACRO PRESSURE_INCH_TO_MB ##### --> +<para> + +</para> + +@inch: + +<!-- ##### MACRO PRESSURE_INCH_TO_MM ##### --> +<para> + +</para> + +@inch: + +<!-- ##### MACRO PRESSURE_MBAR_TO_INCH ##### --> +<para> + +</para> + +@mbar: + +<!-- ##### MACRO RADIANS_TO_DEGREES ##### --> +<para> + +</para> + +@rad: + +<!-- ##### MACRO RADIANS_TO_HOURS ##### --> +<para> + +</para> + +@rad: + +<!-- ##### MACRO TEMP_C_TO_F ##### --> +<para> + +</para> + +@c: + +<!-- ##### MACRO TEMP_F_TO_C ##### --> +<para> + +</para> + +@f: + +<!-- ##### MACRO TEMP_F_TO_K ##### --> +<para> + +</para> + +@f: + +<!-- ##### MACRO VISIBILITY_SM_TO_KM ##### --> +<para> + +</para> + +@sm: + +<!-- ##### MACRO VISIBILITY_SM_TO_M ##### --> +<para> + +</para> + +@sm: + +<!-- ##### MACRO WEATHER_LOCATION_CODE_LEN ##### --> +<para> + +</para> + + +<!-- ##### MACRO WINDSPEED_KNOTS_TO_BFT ##### --> +<para> + +</para> + +@knots: + +<!-- ##### MACRO WINDSPEED_KNOTS_TO_KPH ##### --> +<para> + +</para> + +@knots: + +<!-- ##### MACRO WINDSPEED_KNOTS_TO_MPH ##### --> +<para> + +</para> + +@knots: + +<!-- ##### MACRO WINDSPEED_KNOTS_TO_MS ##### --> +<para> + +</para> + +@knots: + +<!-- ##### MACRO WINDSPEED_MS_TO_KNOTS ##### --> +<para> + +</para> + +@ms: + +<!-- ##### STRUCT WeatherConditions ##### --> +<para> + +</para> + +@significant: +@phenomenon: +@qualifier: + +<!-- ##### TYPEDEF WeatherHumidity ##### --> +<para> + +</para> + + +<!-- ##### TYPEDEF WeatherPressure ##### --> +<para> + +</para> + + +<!-- ##### TYPEDEF WeatherTemperature ##### --> +<para> + +</para> + + +<!-- ##### TYPEDEF WeatherUpdate ##### --> +<para> + +</para> + + +<!-- ##### TYPEDEF WeatherVisibility ##### --> +<para> + +</para> + + +<!-- ##### TYPEDEF WeatherWindSpeed ##### --> +<para> + +</para> + + +<!-- ##### MACRO _ ##### --> +<para> + +</para> + +@str: + +<!-- ##### FUNCTION bom_start_open ##### --> +<para> + +</para> + +@info: + +<!-- ##### FUNCTION calc_sun ##### --> +<para> + +</para> + +@info: +@Returns: + +<!-- ##### FUNCTION free_forecast_list ##### --> +<para> + +</para> + +@info: + +<!-- ##### FUNCTION mateweather_gettext ##### --> +<para> + +</para> + +@str: +@Returns: + +<!-- ##### FUNCTION mateweather_location_get_type ##### --> +<para> + +</para> + +@Returns: + +<!-- ##### FUNCTION mateweather_location_level_get_type ##### --> +<para> + +</para> + +@Returns: + +<!-- ##### FUNCTION mateweather_location_to_weather_location ##### --> +<para> + +</para> + +@gloc: +@name: +@Returns: + +<!-- ##### FUNCTION mateweather_parser_free ##### --> +<para> + +</para> + +@parser: + +<!-- ##### FUNCTION mateweather_parser_get_localized_value ##### --> +<para> + +</para> + +@parser: +@Returns: + +<!-- ##### FUNCTION mateweather_parser_get_value ##### --> +<para> + +</para> + +@parser: +@Returns: + +<!-- ##### FUNCTION mateweather_parser_new ##### --> +<para> + +</para> + +@use_regions: +@Returns: + +<!-- ##### FUNCTION mateweather_timezone_get_type ##### --> +<para> + +</para> + +@Returns: + +<!-- ##### FUNCTION mateweather_timezones_parse_xml ##### --> +<para> + +</para> + +@parser: +@Returns: + +<!-- ##### FUNCTION iwin_start_open ##### --> +<para> + +</para> + +@info: + +<!-- ##### FUNCTION metar_parse ##### --> +<para> + +</para> + +@metar: +@info: +@Returns: + +<!-- ##### FUNCTION metar_start_open ##### --> +<para> + +</para> + +@info: + +<!-- ##### FUNCTION metoffice_start_open ##### --> +<para> + +</para> + +@info: + +<!-- ##### FUNCTION request_done ##### --> +<para> + +</para> + +@info: +@ok: + +<!-- ##### FUNCTION requests_init ##### --> +<para> + +</para> + +@info: +@Returns: + +<!-- ##### FUNCTION weather_conditions_string ##### --> +<para> + +</para> + +@cond: +@Returns: + +<!-- ##### FUNCTION weather_sky_string ##### --> +<para> + +</para> + +@sky: +@Returns: + +<!-- ##### FUNCTION weather_wind_direction_string ##### --> +<para> + +</para> + +@wind: +@Returns: + +<!-- ##### FUNCTION wx_start_open ##### --> +<para> + +</para> + +@info: + diff --git a/doc/tmpl/location-entry.sgml b/doc/tmpl/location-entry.sgml new file mode 100644 index 0000000..8c84c10 --- /dev/null +++ b/doc/tmpl/location-entry.sgml @@ -0,0 +1,73 @@ +<!-- ##### SECTION Title ##### --> +MateWeatherLocationEntry + +<!-- ##### SECTION Short_Description ##### --> + + +<!-- ##### SECTION Long_Description ##### --> +<para> + +</para> + +<!-- ##### SECTION See_Also ##### --> +<para> + +</para> + +<!-- ##### SECTION Stability_Level ##### --> + + +<!-- ##### STRUCT MateWeatherLocationEntry ##### --> +<para> + +</para> + + +<!-- ##### ARG MateWeatherLocationEntry:location ##### --> +<para> + +</para> + +<!-- ##### ARG MateWeatherLocationEntry:top ##### --> +<para> + +</para> + +<!-- ##### FUNCTION mateweather_location_entry_new ##### --> +<para> + +</para> + +@top: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_entry_set_location ##### --> +<para> + +</para> + +@entry: +@loc: + + +<!-- ##### FUNCTION mateweather_location_entry_get_location ##### --> +<para> + +</para> + +@entry: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_entry_set_city ##### --> +<para> + +</para> + +@entry: +@city_name: +@code: +@Returns: + + diff --git a/doc/tmpl/mateweather-enum-types.sgml b/doc/tmpl/mateweather-enum-types.sgml new file mode 100644 index 0000000..f94cf37 --- /dev/null +++ b/doc/tmpl/mateweather-enum-types.sgml @@ -0,0 +1,34 @@ +<!-- ##### SECTION Title ##### --> +mateweather-enum-types + +<!-- ##### SECTION Short_Description ##### --> + + +<!-- ##### SECTION Long_Description ##### --> +<para> + +</para> + +<!-- ##### SECTION See_Also ##### --> +<para> + +</para> + +<!-- ##### SECTION Stability_Level ##### --> + + +<!-- ##### FUNCTION mateweather_location_level_get_type ##### --> +<para> + +</para> + +@Returns: + + +<!-- ##### MACRO MATEWEATHER_TYPE_LOCATION_LEVEL ##### --> +<para> + +</para> + + + diff --git a/doc/tmpl/mateweather-location.sgml b/doc/tmpl/mateweather-location.sgml new file mode 100644 index 0000000..e64ff4c --- /dev/null +++ b/doc/tmpl/mateweather-location.sgml @@ -0,0 +1,210 @@ +<!-- ##### SECTION Title ##### --> +mateweather-location + +<!-- ##### SECTION Short_Description ##### --> + + +<!-- ##### SECTION Long_Description ##### --> +<para> + +</para> + +<!-- ##### SECTION See_Also ##### --> +<para> + +</para> + +<!-- ##### SECTION Stability_Level ##### --> + + +<!-- ##### STRUCT MateWeatherLocation ##### --> +<para> + +</para> + + +<!-- ##### ENUM MateWeatherLocationLevel ##### --> +<para> + +</para> + +@MATEWEATHER_LOCATION_WORLD: +@MATEWEATHER_LOCATION_REGION: +@MATEWEATHER_LOCATION_COUNTRY: +@MATEWEATHER_LOCATION_ADM1: +@MATEWEATHER_LOCATION_ADM2: +@MATEWEATHER_LOCATION_CITY: +@MATEWEATHER_LOCATION_WEATHER_STATION: + +<!-- ##### FUNCTION mateweather_location_new_world ##### --> +<para> + +</para> + +@use_regions: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_ref ##### --> +<para> + +</para> + +@loc: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_unref ##### --> +<para> + +</para> + +@loc: + + +<!-- ##### FUNCTION mateweather_location_get_name ##### --> +<para> + +</para> + +@loc: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_get_sort_name ##### --> +<para> + +</para> + +@loc: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_get_level ##### --> +<para> + +</para> + +@loc: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_get_parent ##### --> +<para> + +</para> + +@loc: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_get_children ##### --> +<para> + +</para> + +@loc: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_free_children ##### --> +<para> + +</para> + +@loc: +@children: + + +<!-- ##### FUNCTION mateweather_location_has_coords ##### --> +<para> + +</para> + +@loc: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_get_coords ##### --> +<para> + +</para> + +@loc: +@latitude: +@longitude: + + +<!-- ##### FUNCTION mateweather_location_get_distance ##### --> +<para> + +</para> + +@loc: +@loc2: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_get_country ##### --> +<para> + +</para> + +@loc: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_get_timezone ##### --> +<para> + +</para> + +@loc: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_get_timezones ##### --> +<para> + +</para> + +@loc: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_free_timezones ##### --> +<para> + +</para> + +@loc: +@zones: + + +<!-- ##### FUNCTION mateweather_location_get_code ##### --> +<para> + +</para> + +@loc: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_get_city_name ##### --> +<para> + +</para> + +@loc: +@Returns: + + +<!-- ##### FUNCTION mateweather_location_get_weather ##### --> +<para> + +</para> + +@loc: +@Returns: + + diff --git a/doc/tmpl/mateweather-mateconf.sgml b/doc/tmpl/mateweather-mateconf.sgml new file mode 100644 index 0000000..238ab34 --- /dev/null +++ b/doc/tmpl/mateweather-mateconf.sgml @@ -0,0 +1,136 @@ +<!-- ##### SECTION Title ##### --> +mateweather-mateconf + +<!-- ##### SECTION Short_Description ##### --> + + +<!-- ##### SECTION Long_Description ##### --> +<para> + +</para> + +<!-- ##### SECTION See_Also ##### --> +<para> + +</para> + +<!-- ##### SECTION Stability_Level ##### --> + + +<!-- ##### STRUCT MateWeatherMateConf ##### --> +<para> + +</para> + + +<!-- ##### FUNCTION mateweather_mateconf_new ##### --> +<para> + +</para> + +@prefix: +@Returns: + + +<!-- ##### FUNCTION mateweather_mateconf_free ##### --> +<para> + +</para> + +@ctx: + + +<!-- ##### FUNCTION mateweather_mateconf_get_client ##### --> +<para> + +</para> + +@ctx: +@Returns: + + +<!-- ##### FUNCTION mateweather_mateconf_get_location ##### --> +<para> + +</para> + +@ctx: +@Returns: + + +<!-- ##### FUNCTION mateweather_mateconf_get_full_key ##### --> +<para> + +</para> + +@ctx: +@key: +@Returns: + + +<!-- ##### FUNCTION mateweather_mateconf_set_bool ##### --> +<para> + +</para> + +@ctx: +@key: +@the_bool: +@opt_error: + + +<!-- ##### FUNCTION mateweather_mateconf_set_int ##### --> +<para> + +</para> + +@ctx: +@key: +@the_int: +@opt_error: + + +<!-- ##### FUNCTION mateweather_mateconf_set_string ##### --> +<para> + +</para> + +@ctx: +@key: +@the_string: +@opt_error: + + +<!-- ##### FUNCTION mateweather_mateconf_get_bool ##### --> +<para> + +</para> + +@ctx: +@key: +@opt_error: +@Returns: + + +<!-- ##### FUNCTION mateweather_mateconf_get_int ##### --> +<para> + +</para> + +@ctx: +@key: +@opt_error: +@Returns: + + +<!-- ##### FUNCTION mateweather_mateconf_get_string ##### --> +<para> + +</para> + +@ctx: +@key: +@opt_error: +@Returns: + + diff --git a/doc/tmpl/mateweather-prefs.sgml b/doc/tmpl/mateweather-prefs.sgml new file mode 100644 index 0000000..20d078c --- /dev/null +++ b/doc/tmpl/mateweather-prefs.sgml @@ -0,0 +1,169 @@ +<!-- ##### SECTION Title ##### --> +mateweather-prefs + +<!-- ##### SECTION Short_Description ##### --> + + +<!-- ##### SECTION Long_Description ##### --> +<para> + +</para> + +<!-- ##### SECTION See_Also ##### --> +<para> + +</para> + +<!-- ##### SECTION Stability_Level ##### --> + + +<!-- ##### MACRO MATECONF_TEMP_UNIT ##### --> +<para> + +</para> + + + +<!-- ##### MACRO MATECONF_SPEED_UNIT ##### --> +<para> + +</para> + + + +<!-- ##### MACRO MATECONF_PRESSURE_UNIT ##### --> +<para> + +</para> + + + +<!-- ##### MACRO MATECONF_DISTANCE_UNIT ##### --> +<para> + +</para> + + + +<!-- ##### STRUCT MateWeatherPrefs ##### --> +<para> + +</para> + +@location: +@update_interval: +@update_enabled: +@detailed: +@radar_enabled: +@use_custom_radar_url: +@radar: +@temperature_unit: +@use_temperature_default: +@speed_unit: +@use_speed_default: +@pressure_unit: +@use_pressure_default: +@distance_unit: +@use_distance_default: + +<!-- ##### FUNCTION mateweather_prefs_load ##### --> +<para> + +</para> + +@prefs: +@ctx: + + +<!-- ##### FUNCTION mateweather_prefs_temp_enum_to_string ##### --> +<para> + +</para> + +@temp: +@Returns: + + +<!-- ##### FUNCTION mateweather_prefs_speed_enum_to_string ##### --> +<para> + +</para> + +@speed: +@Returns: + + +<!-- ##### FUNCTION mateweather_prefs_pressure_enum_to_string ##### --> +<para> + +</para> + +@pressure: +@Returns: + + +<!-- ##### FUNCTION mateweather_prefs_distance_enum_to_string ##### --> +<para> + +</para> + +@distance: +@Returns: + + +<!-- ##### FUNCTION mateweather_prefs_parse_temperature ##### --> +<para> + +</para> + +@str: +@is_default: +@Returns: + + +<!-- ##### FUNCTION mateweather_prefs_parse_speed ##### --> +<para> + +</para> + +@str: +@is_default: +@Returns: + + +<!-- ##### FUNCTION mateweather_prefs_get_temp_display_name ##### --> +<para> + +</para> + +@temp: +@Returns: + + +<!-- ##### FUNCTION mateweather_prefs_get_speed_display_name ##### --> +<para> + +</para> + +@speed: +@Returns: + + +<!-- ##### FUNCTION mateweather_prefs_get_pressure_display_name ##### --> +<para> + +</para> + +@pressure: +@Returns: + + +<!-- ##### FUNCTION mateweather_prefs_get_distance_display_name ##### --> +<para> + +</para> + +@distance: +@Returns: + + diff --git a/doc/tmpl/mateweather-timezone.sgml b/doc/tmpl/mateweather-timezone.sgml new file mode 100644 index 0000000..9438b25 --- /dev/null +++ b/doc/tmpl/mateweather-timezone.sgml @@ -0,0 +1,87 @@ +<!-- ##### SECTION Title ##### --> +mateweather-timezone + +<!-- ##### SECTION Short_Description ##### --> + + +<!-- ##### SECTION Long_Description ##### --> +<para> + +</para> + +<!-- ##### SECTION See_Also ##### --> +<para> + +</para> + +<!-- ##### SECTION Stability_Level ##### --> + + +<!-- ##### STRUCT MateWeatherTimezone ##### --> +<para> + +</para> + + +<!-- ##### FUNCTION mateweather_timezone_get_name ##### --> +<para> + +</para> + +@zone: +@Returns: + + +<!-- ##### FUNCTION mateweather_timezone_get_tzid ##### --> +<para> + +</para> + +@zone: +@Returns: + + +<!-- ##### FUNCTION mateweather_timezone_get_offset ##### --> +<para> + +</para> + +@zone: +@Returns: + + +<!-- ##### FUNCTION mateweather_timezone_has_dst ##### --> +<para> + +</para> + +@zone: +@Returns: + + +<!-- ##### FUNCTION mateweather_timezone_get_dst_offset ##### --> +<para> + +</para> + +@zone: +@Returns: + + +<!-- ##### FUNCTION mateweather_timezone_ref ##### --> +<para> + +</para> + +@zone: +@Returns: + + +<!-- ##### FUNCTION mateweather_timezone_unref ##### --> +<para> + +</para> + +@zone: + + diff --git a/doc/tmpl/mateweather-xml.sgml b/doc/tmpl/mateweather-xml.sgml new file mode 100644 index 0000000..2a33dcd --- /dev/null +++ b/doc/tmpl/mateweather-xml.sgml @@ -0,0 +1,27 @@ +<!-- ##### SECTION Title ##### --> +mateweather-xml + +<!-- ##### SECTION Short_Description ##### --> + + +<!-- ##### SECTION Long_Description ##### --> +<para> + +</para> + +<!-- ##### SECTION See_Also ##### --> +<para> + +</para> + +<!-- ##### SECTION Stability_Level ##### --> + + +<!-- ##### FUNCTION mateweather_xml_load_locations ##### --> +<para> + +</para> + +@Returns: + + diff --git a/doc/tmpl/parser.sgml b/doc/tmpl/parser.sgml new file mode 100644 index 0000000..de1e4ee --- /dev/null +++ b/doc/tmpl/parser.sgml @@ -0,0 +1,74 @@ +<!-- ##### SECTION Title ##### --> +parser + +<!-- ##### SECTION Short_Description ##### --> + + +<!-- ##### SECTION Long_Description ##### --> +<para> + +</para> + +<!-- ##### SECTION See_Also ##### --> +<para> + +</para> + +<!-- ##### SECTION Stability_Level ##### --> + + +<!-- ##### STRUCT MateWeatherParser ##### --> +<para> + +</para> + +@xml: +@locales: +@use_regions: +@year_start: +@year_end: + +<!-- ##### FUNCTION mateweather_parser_new ##### --> +<para> + +</para> + +@use_regions: +@Returns: + + +<!-- ##### FUNCTION mateweather_parser_free ##### --> +<para> + +</para> + +@parser: + + +<!-- ##### FUNCTION mateweather_parser_get_value ##### --> +<para> + +</para> + +@parser: +@Returns: + + +<!-- ##### FUNCTION mateweather_parser_get_localized_value ##### --> +<para> + +</para> + +@parser: +@Returns: + + +<!-- ##### FUNCTION mateweather_timezones_parse_xml ##### --> +<para> + +</para> + +@parser: +@Returns: + + diff --git a/doc/tmpl/timezone-menu.sgml b/doc/tmpl/timezone-menu.sgml new file mode 100644 index 0000000..7ab4304 --- /dev/null +++ b/doc/tmpl/timezone-menu.sgml @@ -0,0 +1,62 @@ +<!-- ##### SECTION Title ##### --> +MateWeatherTimezoneMenu + +<!-- ##### SECTION Short_Description ##### --> + + +<!-- ##### SECTION Long_Description ##### --> +<para> + +</para> + +<!-- ##### SECTION See_Also ##### --> +<para> + +</para> + +<!-- ##### SECTION Stability_Level ##### --> + + +<!-- ##### STRUCT MateWeatherTimezoneMenu ##### --> +<para> + +</para> + + +<!-- ##### ARG MateWeatherTimezoneMenu:top ##### --> +<para> + +</para> + +<!-- ##### ARG MateWeatherTimezoneMenu:tzid ##### --> +<para> + +</para> + +<!-- ##### FUNCTION mateweather_timezone_menu_new ##### --> +<para> + +</para> + +@top: +@Returns: + + +<!-- ##### FUNCTION mateweather_timezone_menu_set_tzid ##### --> +<para> + +</para> + +@menu: +@tzid: + + +<!-- ##### FUNCTION mateweather_timezone_menu_get_tzid ##### --> +<para> + +</para> + +@menu: +@Returns: + + diff --git a/doc/tmpl/weather-priv.sgml b/doc/tmpl/weather-priv.sgml new file mode 100644 index 0000000..0393cc8 --- /dev/null +++ b/doc/tmpl/weather-priv.sgml @@ -0,0 +1,430 @@ +<!-- ##### SECTION Title ##### --> +weather-priv + +<!-- ##### SECTION Short_Description ##### --> + + +<!-- ##### SECTION Long_Description ##### --> +<para> + +</para> + +<!-- ##### SECTION See_Also ##### --> +<para> + +</para> + +<!-- ##### SECTION Stability_Level ##### --> + + +<!-- ##### FUNCTION mateweather_gettext ##### --> +<para> + +</para> + +@str: +@Returns: + + +<!-- ##### MACRO _ ##### --> +<para> + +</para> + +@str: + + +<!-- ##### MACRO N_ ##### --> +<para> + +</para> + +@str: + + +<!-- ##### MACRO WEATHER_LOCATION_CODE_LEN ##### --> +<para> + +</para> + + + +<!-- ##### FUNCTION mateweather_location_to_weather_location ##### --> +<para> + +</para> + +@gloc: +@name: +@Returns: + + +<!-- ##### STRUCT WeatherConditions ##### --> +<para> + +</para> + +@significant: +@phenomenon: +@qualifier: + +<!-- ##### TYPEDEF WeatherTemperature ##### --> +<para> + +</para> + + +<!-- ##### TYPEDEF WeatherHumidity ##### --> +<para> + +</para> + + +<!-- ##### TYPEDEF WeatherWindSpeed ##### --> +<para> + +</para> + + +<!-- ##### TYPEDEF WeatherPressure ##### --> +<para> + +</para> + + +<!-- ##### TYPEDEF WeatherVisibility ##### --> +<para> + +</para> + + +<!-- ##### TYPEDEF WeatherUpdate ##### --> +<para> + +</para> + + +<!-- ##### STRUCT WeatherInfo ##### --> +<para> + +</para> + +@forecast_type: +@temperature_unit: +@speed_unit: +@pressure_unit: +@distance_unit: +@valid: +@network_error: +@sunValid: +@tempMinMaxValid: +@location: +@update: +@sky: +@cond: +@temp: +@temp_min: +@temp_max: +@dew: +@wind: +@windspeed: +@pressure: +@visibility: +@sunrise: +@sunset: +@forecast: +@forecast_list: +@radar_buffer: +@radar_url: +@radar_loader: +@radar: +@session: +@requests_pending: +@finish_cb: +@cb_data: + +<!-- ##### FUNCTION weather_wind_direction_string ##### --> +<para> + +</para> + +@wind: +@Returns: + + +<!-- ##### FUNCTION weather_sky_string ##### --> +<para> + +</para> + +@sky: +@Returns: + + +<!-- ##### FUNCTION weather_conditions_string ##### --> +<para> + +</para> + +@cond: +@Returns: + + +<!-- ##### MACRO DATA_SIZE ##### --> +<para> + +</para> + + + +<!-- ##### MACRO CONST_DIGITS ##### --> +<para> + +</para> + + + +<!-- ##### MACRO CONST_ALPHABET ##### --> +<para> + +</para> + + + +<!-- ##### MACRO TEMP_F_TO_C ##### --> +<para> + +</para> + +@f: + + +<!-- ##### MACRO TEMP_F_TO_K ##### --> +<para> + +</para> + +@f: + + +<!-- ##### MACRO TEMP_C_TO_F ##### --> +<para> + +</para> + +@c: + + +<!-- ##### MACRO WINDSPEED_KNOTS_TO_KPH ##### --> +<para> + +</para> + +@knots: + + +<!-- ##### MACRO WINDSPEED_KNOTS_TO_MPH ##### --> +<para> + +</para> + +@knots: + + +<!-- ##### MACRO WINDSPEED_KNOTS_TO_MS ##### --> +<para> + +</para> + +@knots: + + +<!-- ##### MACRO WINDSPEED_MS_TO_KNOTS ##### --> +<para> + +</para> + +@ms: + + +<!-- ##### MACRO WINDSPEED_KNOTS_TO_BFT ##### --> +<para> + +</para> + +@knots: + + +<!-- ##### MACRO PRESSURE_INCH_TO_KPA ##### --> +<para> + +</para> + +@inch: + + +<!-- ##### MACRO PRESSURE_INCH_TO_HPA ##### --> +<para> + +</para> + +@inch: + + +<!-- ##### MACRO PRESSURE_INCH_TO_MM ##### --> +<para> + +</para> + +@inch: + + +<!-- ##### MACRO PRESSURE_INCH_TO_MB ##### --> +<para> + +</para> + +@inch: + + +<!-- ##### MACRO PRESSURE_INCH_TO_ATM ##### --> +<para> + +</para> + +@inch: + + +<!-- ##### MACRO PRESSURE_MBAR_TO_INCH ##### --> +<para> + +</para> + +@mbar: + + +<!-- ##### MACRO VISIBILITY_SM_TO_KM ##### --> +<para> + +</para> + +@sm: + + +<!-- ##### MACRO VISIBILITY_SM_TO_M ##### --> +<para> + +</para> + +@sm: + + +<!-- ##### MACRO DEGREES_TO_RADIANS ##### --> +<para> + +</para> + +@deg: + + +<!-- ##### MACRO RADIANS_TO_DEGREES ##### --> +<para> + +</para> + +@rad: + + +<!-- ##### MACRO RADIANS_TO_HOURS ##### --> +<para> + +</para> + +@rad: + + +<!-- ##### FUNCTION metar_start_open ##### --> +<para> + +</para> + +@info: + + +<!-- ##### FUNCTION iwin_start_open ##### --> +<para> + +</para> + +@info: + + +<!-- ##### FUNCTION metoffice_start_open ##### --> +<para> + +</para> + +@info: + + +<!-- ##### FUNCTION bom_start_open ##### --> +<para> + +</para> + +@info: + + +<!-- ##### FUNCTION wx_start_open ##### --> +<para> + +</para> + +@info: + + +<!-- ##### FUNCTION metar_parse ##### --> +<para> + +</para> + +@metar: +@info: +@Returns: + + +<!-- ##### FUNCTION requests_init ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION request_done ##### --> +<para> + +</para> + +@info: +@ok: + + +<!-- ##### FUNCTION calc_sun ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION free_forecast_list ##### --> +<para> + +</para> + +@info: + + diff --git a/doc/tmpl/weather.sgml b/doc/tmpl/weather.sgml new file mode 100644 index 0000000..3df6757 --- /dev/null +++ b/doc/tmpl/weather.sgml @@ -0,0 +1,683 @@ +<!-- ##### SECTION Title ##### --> +weather + +<!-- ##### SECTION Short_Description ##### --> + + +<!-- ##### SECTION Long_Description ##### --> +<para> + +</para> + +<!-- ##### SECTION See_Also ##### --> +<para> + +</para> + +<!-- ##### SECTION Stability_Level ##### --> + + +<!-- ##### STRUCT WeatherLocation ##### --> +<para> + +</para> + +@name: +@code: +@zone: +@radar: +@zone_valid: +@coordinates: +@latitude: +@longitude: +@latlon_valid: +@country_code: +@tz_hint: + +<!-- ##### FUNCTION weather_location_new ##### --> +<para> + +</para> + +@trans_name: +@code: +@zone: +@radar: +@coordinates: +@country_code: +@tz_hint: +@Returns: + + +<!-- ##### FUNCTION weather_location_clone ##### --> +<para> + +</para> + +@location: +@Returns: + + +<!-- ##### FUNCTION weather_location_free ##### --> +<para> + +</para> + +@location: + + +<!-- ##### FUNCTION weather_location_equal ##### --> +<para> + +</para> + +@location1: +@location2: +@Returns: + + +<!-- ##### ENUM WeatherForecastType ##### --> +<para> + +</para> + +@FORECAST_STATE: +@FORECAST_ZONE: +@FORECAST_LIST: + +<!-- ##### ENUM TempUnit ##### --> +<para> + +</para> + +@TEMP_UNIT_INVALID: +@TEMP_UNIT_DEFAULT: +@TEMP_UNIT_KELVIN: +@TEMP_UNIT_CENTIGRADE: +@TEMP_UNIT_FAHRENHEIT: + +<!-- ##### ENUM SpeedUnit ##### --> +<para> + +</para> + +@SPEED_UNIT_INVALID: +@SPEED_UNIT_DEFAULT: +@SPEED_UNIT_MS: +@SPEED_UNIT_KPH: +@SPEED_UNIT_MPH: +@SPEED_UNIT_KNOTS: +@SPEED_UNIT_BFT: + +<!-- ##### ENUM PressureUnit ##### --> +<para> + +</para> + +@PRESSURE_UNIT_INVALID: +@PRESSURE_UNIT_DEFAULT: +@PRESSURE_UNIT_KPA: +@PRESSURE_UNIT_HPA: +@PRESSURE_UNIT_MB: +@PRESSURE_UNIT_MM_HG: +@PRESSURE_UNIT_INCH_HG: +@PRESSURE_UNIT_ATM: + +<!-- ##### ENUM DistanceUnit ##### --> +<para> + +</para> + +@DISTANCE_UNIT_INVALID: +@DISTANCE_UNIT_DEFAULT: +@DISTANCE_UNIT_METERS: +@DISTANCE_UNIT_KM: +@DISTANCE_UNIT_MILES: + +<!-- ##### STRUCT WeatherPrefs ##### --> +<para> + +</para> + +@type: +@radar: +@radar_custom_url: +@temperature_unit: +@speed_unit: +@pressure_unit: +@distance_unit: + +<!-- ##### STRUCT WeatherInfo ##### --> +<para> + +</para> + + +<!-- ##### USER_FUNCTION WeatherInfoFunc ##### --> +<para> + +</para> + +@info: +@data: + + +<!-- ##### MACRO weather_info_new ##### --> +<para> + +</para> + +@location: +@prefs: +@cb: +@data: + + +<!-- ##### MACRO weather_info_update ##### --> +<para> + +</para> + +@info: +@prefs: +@cb: +@data: + + +<!-- ##### FUNCTION weather_info_abort ##### --> +<para> + +</para> + +@info: + + +<!-- ##### FUNCTION weather_info_clone ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_free ##### --> +<para> + +</para> + +@info: + + +<!-- ##### FUNCTION weather_info_is_valid ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_network_error ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_to_metric ##### --> +<para> + +</para> + +@info: + + +<!-- ##### FUNCTION weather_info_to_imperial ##### --> +<para> + +</para> + +@info: + + +<!-- ##### FUNCTION weather_info_get_location ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_location_name ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_update ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_sky ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_conditions ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_temp ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_temp_min ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_temp_max ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_dew ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_humidity ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_wind ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_pressure ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_visibility ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_apparent ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_sunrise ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_sunset ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_forecast ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_forecast_list ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_radar ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_temp_summary ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_weather_summary ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_icon_name ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### FUNCTION weather_info_next_sun_event ##### --> +<para> + +</para> + +@info: +@Returns: + + +<!-- ##### ENUM WeatherWindDirection ##### --> +<para> + +</para> + +@WIND_INVALID: +@WIND_VARIABLE: +@WIND_N: +@WIND_NNE: +@WIND_NE: +@WIND_ENE: +@WIND_E: +@WIND_ESE: +@WIND_SE: +@WIND_SSE: +@WIND_S: +@WIND_SSW: +@WIND_SW: +@WIND_WSW: +@WIND_W: +@WIND_WNW: +@WIND_NW: +@WIND_NNW: +@WIND_LAST: + +<!-- ##### ENUM WeatherSky ##### --> +<para> + +</para> + +@SKY_INVALID: +@SKY_CLEAR: +@SKY_BROKEN: +@SKY_SCATTERED: +@SKY_FEW: +@SKY_OVERCAST: +@SKY_LAST: + +<!-- ##### ENUM WeatherConditionPhenomenon ##### --> +<para> + +</para> + +@PHENOMENON_INVALID: +@PHENOMENON_NONE: +@PHENOMENON_DRIZZLE: +@PHENOMENON_RAIN: +@PHENOMENON_SNOW: +@PHENOMENON_SNOW_GRAINS: +@PHENOMENON_ICE_CRYSTALS: +@PHENOMENON_ICE_PELLETS: +@PHENOMENON_HAIL: +@PHENOMENON_SMALL_HAIL: +@PHENOMENON_UNKNOWN_PRECIPITATION: +@PHENOMENON_MIST: +@PHENOMENON_FOG: +@PHENOMENON_SMOKE: +@PHENOMENON_VOLCANIC_ASH: +@PHENOMENON_SAND: +@PHENOMENON_HAZE: +@PHENOMENON_SPRAY: +@PHENOMENON_DUST: +@PHENOMENON_SQUALL: +@PHENOMENON_SANDSTORM: +@PHENOMENON_DUSTSTORM: +@PHENOMENON_FUNNEL_CLOUD: +@PHENOMENON_TORNADO: +@PHENOMENON_DUST_WHIRLS: +@PHENOMENON_LAST: + +<!-- ##### ENUM WeatherConditionQualifier ##### --> +<para> + +</para> + +@QUALIFIER_INVALID: +@QUALIFIER_NONE: +@QUALIFIER_VICINITY: +@QUALIFIER_LIGHT: +@QUALIFIER_MODERATE: +@QUALIFIER_HEAVY: +@QUALIFIER_SHALLOW: +@QUALIFIER_PATCHES: +@QUALIFIER_PARTIAL: +@QUALIFIER_THUNDERSTORM: +@QUALIFIER_BLOWING: +@QUALIFIER_SHOWERS: +@QUALIFIER_DRIFTING: +@QUALIFIER_FREEZING: +@QUALIFIER_LAST: + +<!-- ##### FUNCTION weather_info_get_value_update ##### --> +<para> + +</para> + +@info: +@value: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_value_sky ##### --> +<para> + +</para> + +@info: +@sky: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_value_conditions ##### --> +<para> + +</para> + +@info: +@phenomenon: +@qualifier: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_value_temp ##### --> +<para> + +</para> + +@info: +@unit: +@value: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_value_temp_min ##### --> +<para> + +</para> + +@info: +@unit: +@value: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_value_temp_max ##### --> +<para> + +</para> + +@info: +@unit: +@value: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_value_dew ##### --> +<para> + +</para> + +@info: +@unit: +@value: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_value_apparent ##### --> +<para> + +</para> + +@info: +@unit: +@value: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_value_wind ##### --> +<para> + +</para> + +@info: +@unit: +@speed: +@direction: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_value_pressure ##### --> +<para> + +</para> + +@info: +@unit: +@value: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_value_visibility ##### --> +<para> + +</para> + +@info: +@unit: +@value: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_value_sunrise ##### --> +<para> + +</para> + +@info: +@value: +@Returns: + + +<!-- ##### FUNCTION weather_info_get_value_sunset ##### --> +<para> + +</para> + +@info: +@value: +@Returns: + + |