]> git.street.me.uk Git - andy/viking.git/blame - src/googlesearch.h
Restore Google Directions feature
[andy/viking.git] / src / googlesearch.h
CommitLineData
45ce7a38
GB
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 */
34e71b99
GB
21#ifndef __VIK_GOOGLEGOTO_H
22#define __VIK_GOOGLEGOTO_H
369126f3 23
7a5b9f80
GB
24#include <glib.h>
25
26#include "vikwindow.h"
27
34e71b99 28#include "vikgototool.h"
7a5b9f80 29
722b5481
RN
30G_BEGIN_DECLS
31
34e71b99
GB
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))
7a5b9f80
GB
38
39
34e71b99
GB
40typedef struct _GoogleGotoTool GoogleGotoTool;
41typedef struct _GoogleGotoToolClass GoogleGotoToolClass;
7a5b9f80 42
34e71b99 43struct _GoogleGotoToolClass
7a5b9f80 44{
34e71b99 45 VikGotoToolClass object_class;
7a5b9f80
GB
46};
47
34e71b99 48GType google_goto_tool_get_type ();
7a5b9f80 49
34e71b99
GB
50struct _GoogleGotoTool {
51 VikGotoTool obj;
7a5b9f80
GB
52};
53
34e71b99 54GoogleGotoTool *google_goto_tool_new ();
7a5b9f80 55
722b5481
RN
56G_END_DECLS
57
369126f3 58#endif