blob: 1187649bf6726f20130c98b43bbd93ce86b6ef8b (
plain) (
tree)
|
|
/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set sw=2 ts=2 sts=2 et: */
/*
* Copyright © 2012 Igalia S.L.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
#error "Only <epiphany/epiphany.h> can be included directly."
#endif
#ifndef EPHY_FILE_MONITOR_H
#define EPHY_FILE_MONITOR_H
#include "ephy-web-view.h"
G_BEGIN_DECLS
#define EPHY_TYPE_FILE_MONITOR (ephy_file_monitor_get_type ())
#define EPHY_FILE_MONITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_FILE_MONITOR, EphyFileMonitor))
#define EPHY_FILE_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_FILE_MONITOR, EphyFileMonitorClass))
#define EPHY_IS_FILE_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_FILE_MONITOR))
#define EPHY_IS_FILE_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_FILE_MONITOR))
#define EPHY_FILE_MONITOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_FILE_MONITOR, EphyFileMonitorClass))
typedef struct _EphyFileMonitorClass EphyFileMonitorClass;
typedef struct _EphyFileMonitor EphyFileMonitor;
typedef struct _EphyFileMonitorPrivate EphyFileMonitorPrivate;
struct _EphyFileMonitor
{
GObject parent;
/*< private >*/
EphyFileMonitorPrivate *priv;
};
struct _EphyFileMonitorClass
{
GObjectClass parent_class;
};
GType ephy_file_monitor_get_type (void);
EphyFileMonitor * ephy_file_monitor_new (EphyWebView *view);
void ephy_file_monitor_update_location (EphyFileMonitor *monitor,
const char *address);
G_END_DECLS
#endif
|