use automake 1.11, autoconf 2.65
[abook.git] / edit.h
blob8f1ada501b76df84a3c1ef78693265357ec1d515
1 #ifndef _EDIT_H
2 #define _EDIT_H
4 void edit_item(int item);
5 void get_first_email(char *str, int item);
6 void add_item();
7 int parse_date_string(char *s, int *day, int *month, int *year);
9 #define EDITW_COLS (COLS - 6)
10 #define EDITW_LINES (LINES - 5)
11 #define EDITW_TOP 2
12 #define EDITW_X 3
14 #define EDITOR_HELPLINE N_("?:help q:quit editor")
16 #define TABLINE 1
18 #define TAB_COLON_POS 28
19 #define FIELDNAME_MAX_WIDTH 20
20 #define FIELD_MAX_WIDTH (EDITW_COLS - TAB_COLON_POS - FIELDS_START_X - 2)
22 #define FIELDS_START_Y 4
23 #define FIELDS_START_X 4
25 #endif