exec.h File Reference
#include <string>
#include <gtk/gtk.h>
Go to the source code of this file.
Data Structures |
struct | ExecCmd |
struct | Exec |
Typedefs |
typedef void(* | ExecFunc )(void *, void *) |
| Callback from within the process.
|
Enumerations |
enum | ExecState {
RUNNING = 0,
SKIPPED,
CANCELLED,
FAILED,
COMPLETED
} |
Functions |
Exec * | exec_new (const gchar *process_title, const gchar *process_description) |
ExecCmd * | exec_cmd_new (Exec **e) |
void | exec_delete (Exec *self) |
void | exec_run (Exec *e) |
void | exec_stop (Exec *e) |
void | exec_cmd_add_arg (ExecCmd *e, const gchar *format,...) |
void | exec_cmd_update_arg (ExecCmd *e, const gchar *arg_start, const gchar *format,...) |
gint | exec_run_cmd (const std::string &cmd, gchar **output, const std::string &working_dir) |
ExecState | exec_cmd_get_state (ExecCmd *e) |
ExecState | exec_cmd_set_state (ExecCmd *e, ExecState state) |
gint | exec_count_operations (const Exec *e) |
GList * | exec_get_cmd_list (void) |
Detailed Description
- Author:
- luke_biddell@yahoo.com
Definition in file exec.h.
Typedef Documentation
typedef void(* ExecFunc)(void *, void *) |
Callback from within the process.
Definition at line 29 of file exec.h.
Enumeration Type Documentation
- Enumerator:
RUNNING |
|
SKIPPED |
|
CANCELLED |
|
FAILED |
|
COMPLETED |
|
Definition at line 31 of file exec.h.
Function Documentation
void exec_cmd_add_arg |
( |
ExecCmd * |
e, |
|
|
const gchar * |
format, |
|
|
|
... | |
|
) |
| | |
void exec_cmd_update_arg |
( |
ExecCmd * |
e, |
|
|
const gchar * |
arg_start, |
|
|
const gchar * |
format, |
|
|
|
... | |
|
) |
| | |
gint exec_count_operations |
( |
const Exec * |
e |
) |
|
void exec_delete |
( |
Exec * |
self |
) |
|
GList* exec_get_cmd_list |
( |
void |
|
) |
|
Exec* exec_new |
( |
const gchar * |
process_title, |
|
|
const gchar * |
process_description | |
|
) |
| | |
void exec_run |
( |
Exec * |
e |
) |
|
void exec_stop |
( |
Exec * |
e |
) |
|