]> git.deb.at Git - pkg/abook.git/blob - edit.h
Initial revision
[pkg/abook.git] / edit.h
1 #ifndef _EDIT_H
2 #define _EDIT_H
3
4 void            edit_item(int item);
5 void            get_first_email(char *str, int item);
6 void            add_item();
7
8 #define EDITW_COLS      (COLS - 6)
9 #define EDITW_LINES     (LINES - 5)
10 #define EDITW_TOP       2
11 #define EDITW_X         3
12
13 #define EDITOR_HELPLINE "?:help c:contact a:address p:phone o:other"
14
15 #define TABLINE         2
16
17 enum {
18         TAB_CONTACT,
19         TAB_ADDRESS,
20         TAB_PHONE,
21         TAB_OTHER
22 };
23
24 #define MAX_TAB         TAB_OTHER
25         
26 #define TABS            (MAX_TAB+1)
27
28 #endif