2 * viking -- GPS Data and Topo Analyzer, Explorer, and Manager
4 * Copyright (C) 2003-2005, Quy Tonthat <qtonthat@gmail.com>
5 * Copyright (C) 2009, Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __VIK_GOOGLEGOTO_H
22 #define __VIK_GOOGLEGOTO_H
26 #include "vikwindow.h"
28 #include "vikgototool.h"
32 #define GOOGLE_GOTO_TOOL_TYPE (google_goto_tool_get_type ())
33 #define GOOGLE_GOTO_TOOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GOOGLE_GOTO_TOOL_TYPE, GoogleGotoTool))
34 #define GOOGLE_GOTO_TOOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GOOGLE_GOTO_TOOL_TYPE, GoogleGotoToolClass))
35 #define IS_GOOGLE_GOTO_TOOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GOOGLE_GOTO_TOOL_TYPE))
36 #define IS_GOOGLE_GOTO_TOOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GOOGLE_GOTO_TOOL_TYPE))
37 #define GOOGLE_GOTO_TOOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GOOGLE_GOTO_TOOL_TYPE, GoogleGotoToolClass))
40 typedef struct _GoogleGotoTool GoogleGotoTool;
41 typedef struct _GoogleGotoToolClass GoogleGotoToolClass;
43 struct _GoogleGotoToolClass
45 VikGotoToolClass object_class;
48 GType google_goto_tool_get_type ();
50 struct _GoogleGotoTool {
54 GoogleGotoTool *google_goto_tool_new ();