1 /*************************************************************************** 2 $RCSfile$ 3 ------------------- 4 cvs : $Id: progress_p.h 409 2005-08-05 18:13:06Z aquamaniac $ 5 begin : Mon Mar 01 2004 6 copyright : (C) 2004 by Martin Preuss 7 email : martin@libchipcard.de 8 9 *************************************************************************** 10 * Please see toplevel file COPYING for license details * 11 ***************************************************************************/ 12 13 14 #ifndef GWEN_GUI_CONSOLE_PROGRESS_H 15 #define GWEN_GUI_CONSOLE_PROGRESS_H 16 17 #define GWEN_GUI_CPROGRESS_CHAR_ABORT 27 18 19 #include "cprogress_l.h" 20 21 #include <time.h> 22 23 24 struct GWEN_GUI_CPROGRESS { 25 GWEN_LIST_ELEMENT(GWEN_GUI_CPROGRESS) 26 GWEN_GUI *gui; 27 uint32_t id; 28 uint32_t flags; 29 char *title; 30 char *text; 31 uint64_t total; 32 uint64_t current; 33 GWEN_BUFFER *logBuf; 34 int aborted; 35 int shown; 36 time_t startTime; 37 }; 38 39 40 41 42 #endif 43 44 45 46