18
18
* along with this program; if not, write to the Free Software
19
19
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21
* $Id: build.h 5081 2010-07-01 17:08:00Z ntrel $
21
* $Id: build.h 5184 2010-08-20 15:55:30Z ntrel $
24
24
/* * @file build.h Interface to the Build menu functionality. */
120
120
extern GeanyBuildInfo build_info;
122
122
/** The entries of a command for a menu item */
123
typedef enum GeanyBuildCmdEntries
123
typedef enum GeanyBuildCmdEntries
125
GEANY_BC_LABEL, /**< The menu item label, _ marks mnemonic */
126
GEANY_BC_COMMAND, /**< The command to run. */
127
GEANY_BC_WORKING_DIR, /**< The directory to run in */
128
GEANY_BC_CMDENTRIES_COUNT /**< Count of entries */
125
GEANY_BC_LABEL, /**< The menu item label, _ marks mnemonic */
126
GEANY_BC_COMMAND, /**< The command to run. */
127
GEANY_BC_WORKING_DIR, /**< The directory to run in */
128
GEANY_BC_CMDENTRIES_COUNT /**< Count of entries */
129
129
} GeanyBuildCmdEntries;
131
131
/** The command for a menu item. */
132
132
typedef struct GeanyBuildCommand
134
/** Pointers to g_string values of the command entries.
134
/** Pointers to g_string values of the command entries.
135
135
* Must be freed if the pointer is changed. */
136
gchar *entries[GEANY_BC_CMDENTRIES_COUNT];
136
gchar *label; /**< Menu item label */
137
gchar *command; /**< Command to run */
138
gchar *working_dir; /**< working directory */
137
139
gboolean exists; /**< If the entries have valid values. */
138
140
gboolean changed; /**< Save on exit if @c changed, remove if not @c exist. */
139
141
gboolean old; /**< Converted from old format. */