/[ofm]/ofm/iface.h
ViewVC logotype

Diff of /ofm/iface.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by eses, Fri Oct 4 21:38:16 2002 UTC revision 1.6 by MarcusvA, Sat Jan 11 10:28:46 2003 UTC
# Line 29  Line 29 
29   *                                                                      *   *                                                                      *
30   ************************************************************************/   ************************************************************************/
31    
32    #ifndef __OFM_IFACE__
33    #define __OFM_IFACE__
34    
35  #include <curses.h>  #include <curses.h>
36  #include "fildir.h"  #include "fildir.h"
# Line 42  Line 44 
44    
45  #define KEY_ESC         27  #define KEY_ESC         27
46  #define CTRL(x)         ((x)&0x1f)  #define CTRL(x)         ((x)&0x1f)
47  //#define ALT(x)                (0x200 | (unsigned int)(x))  /* #define ALT(x)               (0x200 | (unsigned int)(x)) */
48    
49    
50  /* the maximal buffer size for copying (standard: 5MB) */  /* the maximal buffer size for copying (standard: 5MB) */
# Line 50  Line 52 
52  #define MAX_CBUF_SIZE   5000000  #define MAX_CBUF_SIZE   5000000
53    
54    
55  extern const char *xb[];//={"","kB","MB","GB","TB"};  extern const char *xb[]; /* ={"","kB","MB","GB","TB"}; */
56  extern const char *button[];//={"CANCEL","NO","YES","OK"};  extern const char *button[]; /* ={"CANCEL","NO","YES","OK"}; */
57    
58  /* we could read the strings from an external file */  /* we could read the strings from an external file */
59    
60  extern const char *strings[]; /*={  extern const char *strings[]; /* ={
61  "Error while reading dir.",\  "Error while reading dir.",\
62  "Not enough memory.",\  "Not enough memory.",\
63  "Unable to delete",\  "Unable to delete",\
# Line 155  int    keyReact(int i); Line 157  int    keyReact(int i);
157  int     dlgMessageBox(int but,char* buf,char *name,char *message);  int     dlgMessageBox(int but,char* buf,char *name,char *message);
158  int     dlgDelete(OPANEL *p);  int     dlgDelete(OPANEL *p);
159  int     dlgCopy(OPANEL *p, char *dest);  int     dlgCopy(OPANEL *p, char *dest);
160    
161    #endif /* __OFM_IFACE__ */

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26