]> git.street.me.uk Git - andy/viking.git/blob - src/googlesearch.h
Tidy up: simpler and better use of trackpoint free methods in TRW Layer.
[andy/viking.git] / src / googlesearch.h
1 /*
2  * viking -- GPS Data and Topo Analyzer, Explorer, and Manager
3  *
4  * Copyright (C) 2003-2005, Quy Tonthat <qtonthat@gmail.com>
5  * Copyright (C) 2009, Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
6  *
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.
11  *
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.
16  *
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
20  */
21 #ifndef __VIK_GOOGLEGOTO_H
22 #define __VIK_GOOGLEGOTO_H
23
24 #include <glib.h>
25
26 #include "vikwindow.h"
27
28 #include "vikgototool.h"
29
30 #define GOOGLE_GOTO_TOOL_TYPE            (google_goto_tool_get_type ())
31 #define GOOGLE_GOTO_TOOL(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GOOGLE_GOTO_TOOL_TYPE, GoogleGotoTool))
32 #define GOOGLE_GOTO_TOOL_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GOOGLE_GOTO_TOOL_TYPE, GoogleGotoToolClass))
33 #define IS_GOOGLE_GOTO_TOOL(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GOOGLE_GOTO_TOOL_TYPE))
34 #define IS_GOOGLE_GOTO_TOOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GOOGLE_GOTO_TOOL_TYPE))
35 #define GOOGLE_GOTO_TOOL_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GOOGLE_GOTO_TOOL_TYPE, GoogleGotoToolClass))
36
37
38 typedef struct _GoogleGotoTool GoogleGotoTool;
39 typedef struct _GoogleGotoToolClass GoogleGotoToolClass;
40
41 struct _GoogleGotoToolClass
42 {
43   VikGotoToolClass object_class;
44 };
45
46 GType google_goto_tool_get_type ();
47
48 struct _GoogleGotoTool {
49   VikGotoTool obj;
50 };
51
52 GoogleGotoTool *google_goto_tool_new ();
53
54 #endif