X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/014128f687e695c128b72f6417cab6aaf727261f..ab1e06931aa45edfe302f6a9cab91773b2444d4d:/src/googlesearch.h diff --git a/src/googlesearch.h b/src/googlesearch.h index 9704112f..083a7261 100644 --- a/src/googlesearch.h +++ b/src/googlesearch.h @@ -1,6 +1,34 @@ -#ifndef __VIK_GOOGLESEARCH_H -#define __VIK_GOOGLESEARCH_H +#ifndef __VIK_GOOGLEGOTO_H +#define __VIK_GOOGLEGOTO_H + +#include + +#include "vikwindow.h" + +#include "vikgototool.h" + +#define GOOGLE_GOTO_TOOL_TYPE (google_goto_tool_get_type ()) +#define GOOGLE_GOTO_TOOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GOOGLE_GOTO_TOOL_TYPE, GoogleGotoTool)) +#define GOOGLE_GOTO_TOOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GOOGLE_GOTO_TOOL_TYPE, GoogleGotoToolClass)) +#define IS_GOOGLE_GOTO_TOOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GOOGLE_GOTO_TOOL_TYPE)) +#define IS_GOOGLE_GOTO_TOOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GOOGLE_GOTO_TOOL_TYPE)) +#define GOOGLE_GOTO_TOOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GOOGLE_GOTO_TOOL_TYPE, GoogleGotoToolClass)) + + +typedef struct _GoogleGotoTool GoogleGotoTool; +typedef struct _GoogleGotoToolClass GoogleGotoToolClass; + +struct _GoogleGotoToolClass +{ + VikGotoToolClass object_class; +}; + +GType google_goto_tool_get_type (); + +struct _GoogleGotoTool { + VikGotoTool obj; +}; + +GoogleGotoTool *google_goto_tool_new (); -extern void a_google_search(VikWindow *vw, VikLayersPanel *vlp, VikViewport *vvp); -gchar * a_googlesearch_get_search_string_for_this_place(VikWindow *vw); #endif