home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Development / ScoutSource / source / objects / scout_extras_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-03-13  |  4.5 KB  |  183 lines

  1. /**
  2.  * Scout - The Amiga System Monitor
  3.  *
  4.  *------------------------------------------------------------------
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  *
  20.  * You must not use this source code to gain profit of any kind!
  21.  *
  22.  *------------------------------------------------------------------
  23.  *
  24.  * @author Andreas Gelhausen
  25.  * @author Richard Körber <rkoerber@gmx.de>
  26.  */
  27.  
  28.  
  29. /* Prototypes for functions defined in
  30. objects/scout_extras.c
  31.  */
  32.  
  33. struct   ListEntry {
  34.    ULONG le_next;
  35.    ULONG le_adr;
  36.    char  le_address[ADDRESSLENGTH];
  37.    char  le_name[NODENAMELENGTH+2];
  38.    char  le_pri[PRIORITYLENGTH];
  39. };
  40.  
  41. struct   FlagEntry {
  42.    char  *fe_name;
  43.    char  *fe_text;
  44. };
  45.  
  46. struct WinFlag {
  47.    char  *wf_title2;
  48.    char  *wf_fieldname;
  49.    ULONG wf_flags;
  50.    struct LongFlag *wf_longflag;
  51.    struct MaskedLongFlag *wf_mlongflag;
  52.    char  wf_fieldtype;
  53. };
  54.  
  55. #define WINDOWTITLELEN  80
  56.  
  57. #define SPACE40 "                                        "
  58.  
  59. extern UBYTE updatetimetext[9];
  60.  
  61. extern ULONG updatetimestate;
  62.  
  63. ULONG MakeListID(char , char , char , char );
  64.  
  65. ULONG MakeDetailID(char , char , char , char );
  66.  
  67. struct Node * HandleNodeDetails(APTR , char * );
  68.  
  69. void __stdargs MySetContents(APTR , char * , ...);
  70.  
  71. void __stdargs MySetContentsHealed(APTR , char * , ...);
  72.  
  73. void MyFreePoolStructs( APTR *, APTR, APTR, APTR );
  74.  
  75. void SetCountText(APTR , int );
  76.  
  77. void SetCloseRequest(APTR , int );
  78.  
  79. extern struct WinFree * SingleDetailWinFree;
  80.  
  81. char * MyGetWindowTitle(char * , char * );
  82.  
  83. void HandleFlagsButtonPressed(APTR , struct WinFree * , char * , char * , ULONG , struct LongFlag * , struct MaskedLongFlag * , char );
  84.  
  85. void HandleWindowOpen(struct WinFree * , char * , char * );
  86.  
  87. void HandleWindowClose(struct WinFree * );
  88.  
  89. extern ULONG LastListID;
  90.  
  91. void SetWindowOpen(APTR , APTR , ULONG );
  92.  
  93. void SetWindowClose(APTR , BOOL );
  94.  
  95. void ApplicationSleep(void);
  96.  
  97. void AwakeApplication(void);
  98.  
  99. void RedrawActiveEntry(APTR );
  100.  
  101. void RemoveActiveEntry(APTR );
  102.  
  103. void InsertBottomEntry(APTR , APTR * );
  104.  
  105. void InsertSortedEntry(APTR , APTR * );
  106.  
  107. struct ListEntry * GetActiveEntry(APTR );
  108.  
  109. void SetListActive(APTR , int );
  110.  
  111. void SetListviewDoubleClick(APTR , int );
  112.  
  113. APTR KeyButtonA(char * , int );
  114.  
  115. APTR KeyButtonB(char * , char , int );
  116.  
  117. APTR KeyButtonF(char , ULONG );
  118.  
  119. LONG __asm flaglist_dspfunc(register __a2 char ** , register __a1 struct FlagEntry * , register __a0 struct Hook * );
  120.  
  121. extern struct Hook flaglist_dsphook;
  122.  
  123. void GetFlagsMore(char * , char * , ULONG , struct LongFlag * , struct MaskedLongFlag * , char );
  124.  
  125. APTR MyListviewObject(unsigned char * , APTR );
  126.  
  127. APTR MySortedListviewObject(unsigned char * , APTR, APTR );
  128.  
  129. APTR MyBelowSortedListview(APTR * , APTR * , APTR * , char const ** , int );
  130.  
  131. APTR MyBelowListview(APTR * , APTR * );
  132.  
  133. APTR MyLabel(char * );
  134.  
  135. APTR MyLabel2(char * );
  136.  
  137. APTR MyHSpace(int );
  138.  
  139. APTR MyVSpace(int );
  140.  
  141. APTR MyTextObject(void);
  142.  
  143. APTR MyTextObject2(void);
  144.  
  145. APTR MyTextObject3(char * );
  146.  
  147. APTR MyTextObject4(char * );
  148.  
  149. APTR MyTextObject5(char * );
  150.  
  151. APTR MyTextObject6(char *, struct TextFont * );
  152.  
  153. LONG __asm list_cmpaddressfunc(register __a1 struct ListEntry * , register __a2 struct ListEntry * );
  154.  
  155. extern struct Hook list_cmpaddresshook;
  156.  
  157. LONG __asm list_cmpnormalfunc(register __a1 struct ListEntry * , register __a2 struct ListEntry * );
  158.  
  159. extern struct Hook list_cmpnormalhook;
  160.  
  161. LONG __asm list_cmpnamefunc(register __a1 struct ListEntry * , register __a2 struct ListEntry * );
  162.  
  163. extern struct Hook list_cmpnamehook;
  164.  
  165. extern char main_title[80];
  166.  
  167. APTR GetApplication(void);
  168.  
  169. void __asm cpuinterval_callfunc(register __a1 unsigned char ** );
  170.  
  171. extern struct Hook cpuinterval_callhook;
  172.  
  173. ULONG __asm hexstring_editfunc(register __a0 struct Hook * , register __a2 struct SGWork * , register __a1 ULONG * );
  174.  
  175. extern struct Hook hexstring_edithook;
  176.  
  177. ULONG __asm realstring_editfunc(register __a0 struct Hook * , register __a2 struct SGWork * , register __a1 ULONG * );
  178.  
  179. extern struct Hook realstring_edithook;
  180.  
  181. void AboutWindow(BOOL );
  182.  
  183.