exec.h File Reference

#include <string>
#include <gtk/gtk.h>
Include dependency graph for exec.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

Execexec_new (const gchar *process_title, const gchar *process_description)
ExecCmdexec_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

enum ExecState
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,
  ... 
)
ExecState exec_cmd_get_state ( ExecCmd e  ) 
ExecCmd* exec_cmd_new ( Exec **  e  ) 
ExecState exec_cmd_set_state ( ExecCmd e,
ExecState  state 
)
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  ) 
gint exec_run_cmd ( const std::string cmd,
gchar **  output,
const std::string working_dir 
)
void exec_stop ( Exec e  ) 

Generated by  doxygen 1.6.2