]> git.street.me.uk Git - andy/viking.git/blame - src/googlesearch.h
Allow statusbar update signal method to specify which part of the statusbar to update.
[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
34e71b99
GB
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))
7a5b9f80
GB
36
37
34e71b99
GB
38typedef struct _GoogleGotoTool GoogleGotoTool;
39typedef struct _GoogleGotoToolClass GoogleGotoToolClass;
7a5b9f80 40
34e71b99 41struct _GoogleGotoToolClass
7a5b9f80 42{
34e71b99 43 VikGotoToolClass object_class;
7a5b9f80
GB
44};
45
34e71b99 46GType google_goto_tool_get_type ();
7a5b9f80 47
34e71b99
GB
48struct _GoogleGotoTool {
49 VikGotoTool obj;
7a5b9f80
GB
50};
51
34e71b99 52GoogleGotoTool *google_goto_tool_new ();
7a5b9f80 53
369126f3 54#endif