/**
 * 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_libraries.c
 */

void PrintLibraries( char * );

void FlushLibraries( void );

void SendLibList( void );

struct LibraryEntry {
    struct Library *le_Addr;
    UBYTE le_Address[ADDRESS_LENGTH];
    UBYTE le_Name[FILENAME_LENGTH];
    UBYTE le_Pri[NUMBER_LENGTH];
    UBYTE le_Version[VERSION_LENGTH];
    UBYTE le_OpenCount[NUMBER_LENGTH];
    UBYTE le_RAMPtrCount[NUMBER_LENGTH];
    UBYTE le_Type[NODETYPE_LENGTH];
};

#define LibrariesWindowObject                NewObject(LibrariesWinClass->mcc_Class, NULL

struct LibrariesWinData {
    UBYTE lwd_Title[WINDOW_TITLE_LENGTH];
    APTR lwd_LibraryList;
    APTR lwd_LibraryText;
    APTR lwd_LibraryCount;
    APTR lwd_RemoveButton;
    APTR lwd_PriorityButton;
    APTR lwd_CloseButton;
    APTR lwd_MoreButton;
    APTR lwd_FunctionsButton;
};

ULONG __asm __saveds LibrariesWinDispatcher( register __a0 struct IClass *cl,
                                             register __a2 Object *obj,
                                             register __a1 Msg msg );

