ftp.nice.ch/pub/next/database/plz/NXplz.1.1.NIHS.bs.tar.gz#/NXplz-1.1/message.c

This is message.c in view mode; [Download] [Up]

/* $Id: message.c,v 2.0 1993/05/12 16:34:15 klute Exp klute $ */

/* 
 * Copyright 1993 Rainer Klute <klute@irb.informatik.uni-dortmund.de>
 *
 * Permission to use, copy, modify, distribute, and sell this software and
 * its documentation for any purpose is hereby granted without fee, provided
 * that the above copyright notice appear in all copies and that both that
 * copyright notice and this permission notice appear in supporting
 * documentation. The author makes no representations about the suitability
 * of this software for any purpose. It is provided "as is" without express
 * or implied warranty.
 *
 */

#include <stdio.h>

#include "message.h"


UserInterfaceMethods userInterfaceMethods;




void Message (char *msg)
{
    userInterfaceMethods.MsgWrite (userInterfaceMethods.uiComponents, msg);
}




void MessageFlush (void)
{
    userInterfaceMethods.MsgFlush (userInterfaceMethods.uiComponents);
}




void NoteClear (void)
{
    userInterfaceMethods.NoteClear (userInterfaceMethods.uiComponents);
}




void Note (char *msg)
{
    userInterfaceMethods.NoteWrite (userInterfaceMethods.uiComponents, msg);
}




void OutOfMemory (char *f)
{
    Message ("Speichermangel in Funktion \"");
    Message (f);
    Message ("\"\n");
    MessageFlush ();
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.