aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-activation.h
blob: 4e701e57acb0e6ed61cf8d7f24f3f780fc19ea08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
 *  Copyright (C) 2005 Gustavo Gama
 *
 *  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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

#ifndef EPHY_ACTIVATION_H
#define EPHY_ACTIVATION_H

#include "ephy-dbus.h"

G_BEGIN_DECLS

/* activation handlers */
gboolean ephy_activation_load_url       (EphyDbus *ephy_dbus,
                         char *url,
                         gboolean fullscreen,
                         gboolean open_in_existing_tab,
                         gboolean open_in_new_tab,
                         guint startup_id);

gboolean ephy_activation_add_bookmark       (EphyDbus *ephy_dbus,
                         char *url);

gboolean ephy_activation_import_bookmarks   (EphyDbus *ephy_dbus,
                         char *filename);

gboolean ephy_activation_load_session       (EphyDbus *ephy_dbus,
                         char *session_name,
                         guint user_time,
                         GError **error);

gboolean ephy_activation_open_bookmarks_editor  (EphyDbus *ephy_dbus,
                         guint user_time);

/* async reply handlers */
void ephy_activation_general_purpose_reply (DBusGProxy *proxy,
                        GError *error,
                        gpointer user_data);

G_END_DECLS

#endif