From c6e3ebf8f8d81691e0055d25786ac23dbb313706 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sun, 12 May 2013 21:31:56 +0200 Subject: Removed typedefs from command.h file. These definitions where used only local, so there is no need to make them public via header file. --- src/command.h | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src/command.h') diff --git a/src/command.h b/src/command.h index b6cc227..b7f49f7 100644 --- a/src/command.h +++ b/src/command.h @@ -20,29 +20,6 @@ #ifndef _COMMAND_H #define _COMMAND_H -enum { - COMMAND_YANK_PRIMARY = VB_CLIPBOARD_PRIMARY, - COMMAND_YANK_SECONDARY = VB_CLIPBOARD_SECONDARY, - COMMAND_YANK_URI = (COMMAND_YANK_SECONDARY<<1), - COMMAND_YANK_SELECTION = (COMMAND_YANK_SECONDARY<<2) -}; - -enum { - COMMAND_ZOOM_OUT, - COMMAND_ZOOM_IN, - COMMAND_ZOOM_FULL = (1<<1), - COMMAND_ZOOM_RESET = (1<<2) -}; - -typedef gboolean (*Command)(const Arg *arg); - -typedef struct { - const char *name; - Command function; - const Arg arg; /* arguments to call the command with */ -} CommandInfo; - - void command_init(void); GList *command_get_all(void); void command_cleanup(void); -- cgit v1.2.3