home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Divers
/
lyx-0.13.2.tar.gz
/
lyx-0.13.2.tar
/
lyx-0.13.2
/
src
/
syscontr.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-23
|
837b
|
51 lines
// -*- C++ -*-
#ifdef __GNUG__
#pragma interface
#endif
#include <LString.h>
class Systemcalls;
///
class SystemcallsSingletoncontroller{
public:
///
class Startcontroller{
public:
///
Startcontroller();
///
~Startcontroller();
///
static SystemcallsSingletoncontroller *GetController();
///
void ReduceRefcount() { refcount--; }
private:
///
static SystemcallsSingletoncontroller *contr;
///
static int refcount;
};
///
~SystemcallsSingletoncontroller();
///
void AddCall(Systemcalls const &newcall);
///
void Timer();
// private: // DEC cxx does not like that (JMarc)
///
SystemcallsSingletoncontroller();
private:
///
struct ControlledCalls {
///
Systemcalls *call;
///
ControlledCalls *next; };
///
ControlledCalls *SysCalls;
};