summaryrefslogtreecommitdiff
path: root/src/command.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-05-12 21:31:56 +0200
committerDaniel Carl <danielcarl@gmx.de>2013-05-12 21:31:56 +0200
commitc6e3ebf8f8d81691e0055d25786ac23dbb313706 (patch)
treed9835de99961ed4f7ff30455e5d8861a587b1960 /src/command.h
parent1e2fddcfe0c9333c62da4ae8050d4761e4d8af6c (diff)
Removed typedefs from command.h file.
These definitions where used only local, so there is no need to make them public via header file.
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h23
1 files changed, 0 insertions, 23 deletions
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);