aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-command-manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-command-manager.h')
-rw-r--r--embed/ephy-command-manager.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/embed/ephy-command-manager.h b/embed/ephy-command-manager.h
index 043d2c90d..14d7a4ca6 100644
--- a/embed/ephy-command-manager.h
+++ b/embed/ephy-command-manager.h
@@ -40,12 +40,11 @@ struct EphyCommandManagerClass
{
GTypeInterface base_iface;
- gresult (* do_command) (EphyCommandManager *manager,
- const char *command);
- gresult (* can_do_command) (EphyCommandManager *manager,
- const char *command);
- gresult (* observe_command) (EphyCommandManager *manager,
- const char *command);
+ gresult (* do_command) (EphyCommandManager *manager,
+ const char *command);
+ gresult (* get_command_state) (EphyCommandManager *manager,
+ const char *command,
+ gboolean *enabled);
/* Signals */
@@ -58,11 +57,9 @@ GType ephy_command_manager_get_type (void);
gresult ephy_command_manager_do_command (EphyCommandManager *manager,
const char *command);
-gresult ephy_command_manager_can_do_command (EphyCommandManager *manager,
- const char *command);
-
-gresult ephy_command_manager_observe_command (EphyCommandManager *manager,
- const char *command);
+gresult ephy_command_manager_get_command_state (EphyCommandManager *manager,
+ const char *command,
+ gboolean *enabled);
G_END_DECLS