feature.h 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /*--------------------------------*-C-*---------------------------------*
  2. * file: feature.h
  3. *
  4. * Compile-time configuration.
  5. *----------------------------------------------------------------------*
  6. * Copyright (C) 1997 1998 mj olesen <olesen@me.QueensU.CA>
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21. *----------------------------------------------------------------------*/
  22. #ifndef _FEATURE_H
  23. #define _FEATURE_H
  24. /*----------------------------------------------------------------------*
  25. * #define ICONWIN
  26. * to enable fancy (active) icon
  27. *
  28. * #define REMINDERS
  29. * to enable the appointment reminder functions
  30. *
  31. * #define NO_REMINDER_EXEC
  32. * to disable the execution of a program on an appointment
  33. *
  34. * #define DATE_ON_CLOCK_FACE
  35. * to display today's date on the face of the clock
  36. * Note: this requires REMINDERS since it uses the same font
  37. *
  38. * #define MAIL
  39. * to enable xbiff-type mail reminders
  40. *
  41. * #define MAIL_BELL
  42. * to enable xbiff-type mail reminders with a beep
  43. *
  44. * #define MAIL_SPAWN "xmh\ -font\ 7x14\&"
  45. * to define a mail program to run
  46. *
  47. * #define MAIL_SPOOL "/var/spool/mail/"
  48. * to define the mail spool when the $MAIL variable isn't set
  49. *
  50. * program size approximately doubles from no options to all options
  51. *----------------------------------------------------------------------*/
  52. #define ICONWIN
  53. #define REMINDERS
  54. /* #define NO_REMINDER_EXEC */
  55. #define DATE_ON_CLOCK_FACE
  56. #define MAIL
  57. /* #define MAIL_BELL */
  58. /* #define MAIL_SPAWN "xmh\ -font\ 7x14\&" */
  59. /* #define MAIL_SPOOL "/var/spool/mail/" */
  60. /*----------------------------------------------------------------------*
  61. * #define CLOCKUPDATE 30
  62. * to define the frequency (seconds) to update the clock
  63. *
  64. * #define MAILUPDATE 60
  65. * to define the frequency (seconds) to check for new mail
  66. *
  67. * #define REMINDERS_TIME 10
  68. * to define the frequency (minutes) to check ~/.rclock
  69. *
  70. * #define DEFER_TIME 3
  71. * to define the amount (minutes) to defer a message
  72. *
  73. * #define ADJUST_TIME
  74. * to add -adjust command-line option
  75. *
  76. * #define CENTURY 2000
  77. * to set the base century for 2 digit year short-hand
  78. *----------------------------------------------------------------------*/
  79. #define CLOCKUPDATE 30
  80. #define MAILUPDATE 60
  81. #define REMINDERS_TIME 10
  82. #define DEFER_TIME 3
  83. #define ADJUST_TIME
  84. /* #define CENTURY 2000 */
  85. /*----------------------------------------------------------------------*
  86. * #define FONT_NAME "7x14"
  87. * to define the font to be used for appointment reminders
  88. *
  89. * #define FG_COLOR_NAME "black"
  90. * #define BG_COLOR_NAME "white"
  91. * to define the foreground/background colors to use
  92. *----------------------------------------------------------------------*/
  93. #define FONT_NAME "7x14"
  94. #define FG_COLOR_NAME "black"
  95. #define BG_COLOR_NAME "white"
  96. /*----------------------------------------------------------------------*
  97. * #define DAY_NAMES "umtwrfs*"
  98. * define this string appropriate for any language.
  99. *
  100. * It starts with a symbol for Sunday, ends with Saturday, then '*'
  101. * NOTE: 8 characters total - 7 days of the week plus '*'
  102. *----------------------------------------------------------------------*/
  103. #define DAY_NAMES "umtwrfs*"
  104. /*----------------------------------------------------------------------*
  105. * #define SUBTICKS
  106. * to show additional minute/second markings
  107. *----------------------------------------------------------------------*/
  108. #define SUBTICKS
  109. /*----------------------------------------------------------------------*
  110. * sort out conflicts
  111. *----------------------------------------------------------------------*/
  112. #if defined (MAIL_BELL) || defined (MAIL_SPAWN) || defined (MAIL_SPOOL)
  113. # ifndef MAIL
  114. # define MAIL
  115. # endif
  116. #endif
  117. #endif /* whole file */
  118. /*----------------------- end-of-file (C header) -----------------------*/