|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ L T ┃
Length: 605 (0x25d) Types: TextFile Names: »LoggerInterface.c«
└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13 └─ ⟦124ff5788⟧ »DATA« └─⟦f2882457c⟧ └─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11 └─ ⟦129cab021⟧ »DATA« └─⟦f2882457c⟧ └─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16 └─ ⟦6f12a12be⟧ »DATA« └─⟦f2882457c⟧ └─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04 └─ ⟦d65440be7⟧ »DATA« └─⟦f2882457c⟧ └─ ⟦this⟧ »C/LoggerInterface.c«
#include <X11/Intrinsic.h> #include "Fm.h" char Log [1024]; char Message [1024]; Widget TopLevel; void LogInit () { TopLevel = FmInitialize ("Log", "Log", NULL, 0, NULL, 0); TopLevel = FmCreateLogger ("Log", TopLevel, NULL, 0); FmAttachAv ( "Log", Log); FmAttachAv ( "Message", Message); } void LogCreate () { FmShowWidget (TopLevel); } void LogPut (char *message) { strcpy (Log, message); printf("LogPut: message = *%s*\n", message ); FmSetActiveValue ( 0, "Log" ); } char * LogGetMessage () { return Message; } void LogClose () { XtDestroyWidget (TopLevel); }