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

Diff of /ofm/iface.h

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

revision 1.6 by MarcusvA, Sat Jan 11 10:28:46 2003 UTC revision 1.7 by eses, Sat Jan 11 23:42:24 2003 UTC
# Line 29  Line 29 
29   *                                                                      *   *                                                                      *
30   ************************************************************************/   ************************************************************************/
31    
 #ifndef __OFM_IFACE__  
 #define __OFM_IFACE__  
32    
33  #include <curses.h>  #include <curses.h>
34  #include "fildir.h"  #include "fildir.h"
# Line 44  Line 42 
42    
43  #define KEY_ESC         27  #define KEY_ESC         27
44  #define CTRL(x)         ((x)&0x1f)  #define CTRL(x)         ((x)&0x1f)
45  /* #define ALT(x)               (0x200 | (unsigned int)(x)) */  //#define ALT(x)                (0x200 | (unsigned int)(x))
46    
47    
48  /* the maximal buffer size for copying (standard: 5MB) */  /* the maximal buffer size for copying (standard: 5MB) */
# Line 52  Line 50 
50  #define MAX_CBUF_SIZE   5000000  #define MAX_CBUF_SIZE   5000000
51    
52    
53  extern const char *xb[]; /* ={"","kB","MB","GB","TB"}; */  extern const char *xb[];//={"","kB","MB","GB","TB"};
54  extern const char *button[]; /* ={"CANCEL","NO","YES","OK"}; */  extern const char *button[];//={"CANCEL","NO","YES","OK"};
55    
56  /* we could read the strings from an external file */  /* we could read the strings from an external file */
57    
58  extern const char *strings[]; /* ={  extern const char *strings[]; /*={
59  "Error while reading dir.",\  "Error while reading dir.",\
60  "Not enough memory.",\  "Not enough memory.",\
61  "Unable to delete",\  "Unable to delete",\
# Line 88  typedef struct opanel Line 86  typedef struct opanel
86      unsigned long sel_count;      unsigned long sel_count;
87      unsigned long sel_size;      unsigned long sel_size;
88    
89        int virtual_dir;            // boolean
90    
91          /* directory */          /* directory */
92                    
93      DirStruct *dir;      DirStruct *dir;
# Line 157  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);
   
 #endif /* __OFM_IFACE__ */  

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

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