1 #ifdef COPYRIGHT_INFORMATION 2 #include "gplv3.h" 3 #endif 4 5 typedef struct pkg_option_t { 6 gchar *loption; 7 gchar *parameter; 8 gchar *hlp; 9 gchar *active; 10 //gchar *option; 11 // group...? 12 }pkg_option_t; 13 14 typedef struct pkg_command_t { 15 gint flags; // command flags 16 gchar *pkg; // pkg command 17 gchar *cmd; // pkg action 18 pkg_option_t *pkg_options; 19 pkg_option_t *cmd_options; 20 gchar *parameter; 21 gchar *hlp; // tooltip help 22 gchar *argument; 23 gchar *string; 24 gchar *icon; 25 26 } pkg_command_t; 27 28 #define NO_SELECTION 0x01 29 #define SINGLE_SELECTION 0x02 30 #define REMOTE_SELECTION 0x04 31 #define LOCAL_SELECTION 0x08 32 #define ACCESS_WRITE 0x10 33 #define ACCESS_READ 0x20 34 #define INACTIVE 0x40 35 #define LOCAL_REPO 0x80 36 #define REMOTE_REPO 0x100 37 #define OPTIONS 0x200 38 #define IN_TERM 0x400 39 #define LOCK_DATABASE 0x800 40 #define NO_VERSION 0x1000 41 #define SCROLL_UP 0x2000 42 43 44 45 46