// ttystr.h // // This program is free software. See the file COPYING for details. // Author: Mattias EngdegÄrd, 1997-1999 #ifndef TTYSTR_H #define TTYSTR_H #include "config.h" #include #ifdef LINUX #include #endif #ifdef SOLARIS #include #endif class Ttystr { public: static QString name(dev_t devnr); #ifdef SOLARIS private: static void read_devs(); static void scandevdir(const char *prefix); static QHash dict; static bool scanned; #endif }; #endif // TTYSTR_H