/**
 * Scout - The Amiga System Monitor
 *
 *------------------------------------------------------------------
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 * You must not use this source code to gain profit of any kind!
 *
 *------------------------------------------------------------------
 *
 * @author Andreas Gelhausen
 * @author Richard Körber <rkoerber@gmx.de>
 */


/* Prototypes for functions defined in
objects/scout_extras.c
 */

struct JumpEntry {
    UWORD je_JMPInstruction;
    APTR je_JumpAddress;
};

#define WINDOW_TITLE_LENGTH         128

#define SPACE40 "                                        "

BOOL GetPriority( UBYTE * , LONG * );

extern UBYTE updatetimetext[9];

void NoReqOn( void );

void NoReqOff( void );

struct Library *MyOpenLibrary( UBYTE * , ULONG );

void Flags2BinStr( UBYTE , UBYTE * , ULONG );

void MySetContents( APTR , UBYTE * , ... );

void MySetContentsHealed( APTR , UBYTE * , ... );

void MySetStringContents(APTR , UBYTE * , ...);

void SetCountText( APTR , ULONG );

UBYTE *MyGetWindowTitle( UBYTE * , UBYTE *, ULONG );

UBYTE *MyGetChildWindowTitle( UBYTE * , UBYTE *, UBYTE *, ULONG );

void ApplicationSleep( BOOL );

void RedrawActiveEntry( APTR );

void RemoveActiveEntry( APTR );

void InsertBottomEntry( APTR , APTR );

void InsertSortedEntry( APTR , APTR );

APTR GetActiveEntry( APTR );

struct MUI_NListtree_TreeNode *GetActiveTreeNode( APTR tree );

APTR MyNListviewObject( ULONG , UBYTE * , struct Hook * , struct Hook * , struct Hook * , struct Hook * , BOOL );

APTR MyNListtreeObject( APTR * , UBYTE * , struct Hook * , struct Hook * , struct Hook * , struct Hook * , struct Hook *, ULONG );

APTR MyBelowListview( APTR * , APTR * );

#define MyLabel(text)       LabelA(text)
#define MyLabel2(text)      LabelB(text)
#define MyHSpace(space)     HSpace(space)
#define MyVSpace(space)     VSpace(space)

APTR MyTextObject( void );

APTR MyTextObject2( void );

APTR MyTextObject3( UBYTE * );

APTR MyTextObject4( UBYTE * );

APTR MyTextObject5( UBYTE * );

APTR MyCheckmarkImage( void );

void healstring( UBYTE * );

UBYTE *nonetest( UBYTE * );

BOOL IsReal( UBYTE * );

BOOL IsHex( UBYTE * , LONG * );

BOOL IsUHex( UBYTE * , ULONG * );

BOOL IsDec( UBYTE * , LONG * );

LONG GetRamPointerCount( struct Library * );

LONG AllocListEntry( APTR, APTR, ULONG );

void FreeListEntry( APTR, APTR * );

APTR GetApplication( void );
