DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ F T

⟦9c6bfec6a⟧ TextFile

    Length: 2067 (0x813)
    Types: TextFile
    Names: »FILEOPEN_C«

Derivation

└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
    └─ ⟦124ff5788⟧ »DATA« 
        └─⟦this⟧ 
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

/*=================================================================
;  IRP MULHOUSE                           AVRIL 92
;-------------------------------------------------------------------
;  PROJECT  : Z80 SIMULATOR               
;  STUDENTS : MOREAUX & VERGER
;
;  FILE     : FileOpen.c
==================================================================
; DESCRIPTION :
; Fichier source la gestion de la fenetre entree du fichier
; WINDOW SYSTEM
;----------------------------------------------------------------*/

/*----------- Inclusion -------------------------*/

#include "GUI_Interface.h"

/*----------- Globales --------------------------*/

int CntOpenOkActivate  = 0;  
char avFileName [45];         
Widget wgFileOpen;
int  Iterator = 0;

/*-------------------------------------------------
   Initialisation
   ( Appel depuis C )
--------------------------------------------------*/

void OpenFileInit (Widget TopLevel)
{
  wgFileOpen = XtNameToWidget(TopLevel,"FileOpen");
  FmAttachAv ( "FileName",avFileName); 
}

/*-------------------------------------------------
  Gestion PushButon par CallBacks + Compteur
--------------------------------------------------*/

void OpenOkActivate()        /* Appel depuis WINDOW */
{ 
   CntOpenOkActivate ++;
}


int GetCntOpenOkActivate ()  /* Appel depuis Ada    */
{
  return CntOpenOkActivate;
}

/*-------------------------------------------------
   Lecture de la variable active
   ( Appels depuis C )  
--------------------------------------------------*/

void FileNameIterInit()
{
  FmGetActiveValue ( 0, "FileName" );
  Iterator = 0;
}

void FileNameIterNext ()
{
  Iterator++;
}

Boolean FileNameIterDone ()
{
   return (Iterator == strlen (avFileName));
}

char FileNameIterValue()
{
return avFileName[Iterator];
}


/*-------------------------------------------------
   Ferme la fenetre 
   ( Appel depuis Ada )
--------------------------------------------------*/

void HideWindowOpen()
{
   FmHideWidget(wgFileOpen);
}

/*================= FIN DU FICHIER ======================================*/