]> git.street.me.uk Git - andy/viking.git/blob - src/googlesearch.h
Now allowed same track names so an overwrite warning is not necessary any more.
[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 G_BEGIN_DECLS
31
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))
38
39
40 typedef struct _GoogleGotoTool GoogleGotoTool;
41 typedef struct _GoogleGotoToolClass GoogleGotoToolClass;
42
43 struct _GoogleGotoToolClass
44 {
45   VikGotoToolClass object_class;
46 };
47
48 GType google_goto_tool_get_type ();
49
50 struct _GoogleGotoTool {
51   VikGotoTool obj;
52 };
53
54 GoogleGotoTool *google_goto_tool_new ();
55
56 G_END_DECLS
57
58 #endif