DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦b8d9c9232⟧ TextFile

    Length: 458 (0x1ca)
    Types: TextFile
    Notes: R1k Text-file segment

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦dd12cc9bc⟧ 
            └─⟦this⟧ 

TextFile

#include <X11/Xlib.h>
#include <X11/Intrinsic.h>

static XEvent Event;
Widget TopLevel;

void (*AdaCB)();


void Main_Loop ()
{  
   while (1)
   {
      XtNextEvent (&Event);
      XtDispatchEvent (&Event);
   }
}


void Create ()
{
  TopLevel = FmInitialize ("button", "Button", NULL, 0, NULL, 0);
  TopLevel = FmCreateButton ("button", TopLevel, NULL, 0);
}

void Register_Subprogram ( void (*f)() )
{
  AdaCB = f;
}


void ActivateCB ()
{
   (*AdaCB)();