Aegis  4.25.D505
/home/archives/aegis/branch.4/branch.25/delta28933.505/libaegis/ael/column_width.h
Go to the documentation of this file.
00001 //
00002 //      aegis - project change supervisor
00003 //      Copyright (C) 1999, 2004, 2006, 2008 Peter Miller
00004 //
00005 //      This program is free software; you can redistribute it and/or modify
00006 //      it under the terms of the GNU General Public License as published by
00007 //      the Free Software Foundation; either version 3 of the License, or
00008 //      (at your option) any later version.
00009 //
00010 //      This program is distributed in the hope that it will be useful,
00011 //      but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 //      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 //      GNU General Public License for more details.
00014 //
00015 //      You should have received a copy of the GNU General Public License
00016 //      along with this program. If not, see
00017 //      <http://www.gnu.org/licenses/>.
00018 //
00019 
00020 #ifndef LIBAEGIS_AEL_COLUMN_WIDTH_H
00021 #define LIBAEGIS_AEL_COLUMN_WIDTH_H
00022 
00023 
00024 #define ELAPSED_TIME_THRESHOLD (10L * 60L) // ten minutes
00025 
00026 //
00027 // widths of the various columns
00028 //
00029 // (Many are 8n-1; this does nice things with tabs.)
00030 //
00031 #define USAGE_WIDTH     7       // strlen("manual_") = 7
00032 #define ACTION_WIDTH    8       // strlen("insulate") = 8
00033 #define EDIT_WIDTH      12      // strlen("1.23 (4.56)") = 11,
00034                                    // strlen("1.23 -> 4.56") = 12
00035 #define LOGIN_WIDTH     8       // login names will be <= 8
00036 #define WHAT_WIDTH      15      // widest is 20, worst is 10
00037 #define WHEN_WIDTH      15      // ctime fits in 2 lines
00038 #define WHO_WIDTH       LOGIN_WIDTH
00039 #define CHANGE_WIDTH    7
00040 #define STATE_WIDTH     15      // widest is 20, worst is 11
00041 #define ARCH_WIDTH      8
00042 #define HOST_WIDTH      8
00043 #define TIME_WIDTH      11      // strlen("99-Oct-2000") = 11
00044 #define INDENT_WIDTH    8       // used for change_details
00045 #define PROJECT_WIDTH   15
00046 #define DIRECTORY_WIDTH 23
00047 #define ATTR_WIDTH      15      // used for file and change attributes
00048 #define UUID_WIDTH      36
00049 #define FILENAME_WIDTH  42      // FILENAME_WIDTH + 1 + UUID_WIDTH < 80
00050 #define VERSION_WIDTH   10       // strlen("1.234.D567") = 10
00051 
00052 #endif // LIBAEGIS_AEL_COLUMN_WIDTH_H