home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 20 / AACD20.BIN / AACD / Programming / AmIDE / developer / include / amide / amide_api.h < prev   
Encoding:
C/C++ Source or Header  |  2001-03-04  |  3.8 KB  |  146 lines

  1. /*
  2. **  $Id: amide_api.h,v 1.2 2001/03/04 18:26:49 damato Exp $
  3. **
  4. **  AmIDE - Amiga Integrated Development Environment
  5. **          main include file for amide_api module
  6. **
  7. **  Copyright (C) 1998-2001 by
  8. **
  9. **  LightSpeed Communications GbR
  10. **
  11. **  Jens Langner                        Jens Troeger
  12. **  Bergstrasse 68                      i4/182 Dornoch Tce
  13. **  01069 Dresden                       Highgate Hill, QLD, 4101
  14. **  Germany                             Australia
  15. **  <damato@light-speed.de>             <savage@light-speed.de>
  16. **
  17. **  This program is free software; you can redistribute it and/or modify
  18. **  it under the terms of the GNU General Public License as published by
  19. **  the Free Software Foundation; either version 2 of the License, or
  20. **  any later version.
  21. **
  22. **  This program is distributed in the hope that it will be useful,
  23. **  but WITHOUT ANY WARRANTY; without even the implied warranty of
  24. **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  25. **  GNU General Public License for more details.
  26. **
  27. **  You should have received a copy of the GNU General Public License
  28. **  along with this program; if not, write to the Free Software
  29. **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  30. **
  31. **  $VER: amide_api.h 37.1 (04.03.2001)
  32. */
  33.  
  34. #ifndef _AMIDE_API_H_
  35. #define _AMIDE_API_H_
  36.  
  37. /*
  38. ** Tag macros
  39. */
  40.  
  41. #define AmIDEA_Dummy  (TAG_USER + 0x5EAD0000)
  42. #define AmIDEM_Dummy  (TAG_USER + 0x3AD00000)
  43.  
  44. /*
  45. ** Method-IDs (internal)
  46. */
  47.  
  48. #define AmIDEM_API_Dummy      (AmIDEM_Dummy + 0x00000100)
  49.  
  50. #define AmIDEM_API_compile    (AmIDEM_API_Dummy + 1)
  51. #define AmIDEM_API_link       (AmIDEM_API_Dummy + 2)
  52. #define AmIDEM_API_break      (AmIDEM_API_Dummy + 3)
  53. #define AmIDEM_API_prefs      (AmIDEM_API_Dummy + 4)
  54.  
  55. /*
  56. ** Method-IDs (external)
  57. */
  58.  
  59. #define AmIDEM_EXT_Dummy      (AmIDEM_Dummy + 0x00000200)
  60.  
  61. #define AmIDEM_msginsert      (AmIDEM_EXT_Dummy + 1)
  62. #define AmIDEM_refresh        (AmIDEM_EXT_Dummy + 2)
  63. #define AmIDEM_status         (AmIDEM_EXT_Dummy + 3)
  64.  
  65. /*
  66. ** Attribute - IDs
  67. */
  68.  
  69. #define AmIDEA_API_Dummy      (AmIDEA_Dummy + 0x00000100)
  70.  
  71. #define AmIDEA_API_parentObj  (AmIDEA_API_Dummy + 1)
  72. #define AmIDEA_API_author     (AmIDEA_API_Dummy + 2)
  73. #define AmIDEA_API_api_vers   (AmIDEA_API_Dummy + 3)
  74. #define AmIDEA_API_lib_vers   (AmIDEA_API_Dummy + 4)
  75. #define AmIDEA_API_compiler   (AmIDEA_API_Dummy + 5)
  76.  
  77. /*
  78. ** Message-Type IDs
  79. */
  80.  
  81. #define AmIDE_MSG_Dummy       (AmIDEA_Dummy + 0x00000200)
  82.  
  83. #define AmIDE_MSG_HEADER      (AmIDE_MSG_Dummy + 1)
  84. #define AmIDE_MSG_DEFAULT     (AmIDE_MSG_Dummy + 2)
  85. #define AmIDE_MSG_WARNING     (AmIDE_MSG_Dummy + 3)
  86. #define AmIDE_MSG_ERROR       (AmIDE_MSG_Dummy + 4)
  87. #define AmIDE_MSG_NOTE        (AmIDE_MSG_Dummy + 5)
  88.  
  89. /*
  90. ** Standard Styles for Messages
  91. */
  92.  
  93. #define AmIDE_MSG_STYLE_CMPSTART          "\033t[I7]\033r\033E\033b"
  94. #define AmIDE_MSG_STYLE_LNKSTART          "\033t[M7]\033r\033E\033b"
  95. #define AmIDE_MSG_STYLE_WARNING           "\033l\0338"
  96. #define AmIDE_MSG_STYLE_WARNING_BORDER    "\033C\033t[N]"
  97. #define AmIDE_MSG_STYLE_TXT_START         "\033b\033P[-1]"
  98. #define AmIDE_MSG_STYLE_TXT_STOP          "\033n\033P[]"
  99. #define AmIDE_MSG_STYLE_NOTE              "\033P[2]"
  100. #define AmIDE_MSG_STYLE_ERROR             "\033l\033b\033P[-1]"
  101. #define AmIDE_MSG_STYLE_PHASES            "\033u\033b"
  102. #define AmIDE_MSG_STYLE_BAR               "\033C"
  103.  
  104. /*
  105. ** Message structures (internal)
  106. */
  107.  
  108. struct AmIDEP_API_compile_Message
  109. {
  110.   ULONG   MethodID;
  111.   STRPTR  filename;
  112.   STRPTR  options;
  113. };
  114.  
  115. struct AmIDEP_API_link_Message
  116. {
  117.   ULONG   MethodID;
  118.   STRPTR  *file_array;
  119.   STRPTR  exe_name;
  120. };
  121.  
  122. /*
  123. ** Message structure
  124. */
  125.  
  126. struct AmIDES_message
  127. {
  128.   ULONG   type;
  129.   LONG    errnr;
  130.   LONG    line;
  131.   STRPTR  text;
  132.   STRPTR  status;
  133. };
  134.  
  135. /*
  136. ** Message structures (external)
  137. */
  138.  
  139. struct AmIDEP_msginsert_Message
  140. {
  141.   ULONG   MethodID;
  142.   struct  AmIDES_message *message;
  143. };
  144.  
  145. #endif /* _AMIDE_API_H_ */
  146.