mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 12:26:59 +00:00
3635ff7370
check for "tth"?) - Cleaned up the systemcall stuff a bit - Better documentation for support/FileInfo.h git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@188 a592a061-630c-0410-9148-cb99ea01b6c8
36 lines
758 B
C++
36 lines
758 B
C++
// -*- 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;
|
|
};
|