38 enum SwitchPermission { Allowed, Disallowed };
40 enum SystemMode { Text, Graphics };
64 size_t getCurrentTerminalNumber()
const;
65 TextIO* getCurrentTerminal()
const;
66 File* getCurrentTerminalFile()
const;
71 struct vt_stat getState() const;
73 void setSystemMode(SystemMode mode);
74 SystemMode getSystemMode()
const;
76 void setInputMode(
size_t n, TextIO::InputMode newMode);
77 TextIO::InputMode getInputMode(
size_t n)
const;
80 void sendSignal(
size_t n,
bool acq);
97 File* m_pTtyFiles[MAX_VT];
106 bool m_bSwitchingLocked;
108 SystemMode m_SystemMode;