00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT! -*- c++ -*- 00002 00003 #ifndef jdb_screen_h 00004 #define jdb_screen_h 00005 00006 // 00007 // INTERFACE definition follows 00008 // 00009 00010 00011 class Jdb_screen 00012 { 00013 private: 00014 static unsigned int _height; 00015 static bool _direct_enabled; 00016 00017 public: 00018 static void set_height(unsigned int h); 00019 00020 static inline unsigned int width(); 00021 00022 static inline unsigned int height(); 00023 00024 static inline void enable_direct(bool enable); 00025 00026 static inline bool direct_enabled(); 00027 }; 00028 00029 // 00030 // IMPLEMENTATION of inline functions (and needed classes) 00031 // 00032 00033 00034 00035 00036 inline unsigned int 00037 Jdb_screen::width() 00038 { 00039 return 80; 00040 } 00041 00042 00043 00044 inline unsigned int 00045 Jdb_screen::height() 00046 { 00047 return _height; 00048 } 00049 00050 00051 00052 inline void 00053 Jdb_screen::enable_direct(bool enable) 00054 { 00055 _direct_enabled = enable; 00056 } 00057 00058 00059 00060 inline bool 00061 Jdb_screen::direct_enabled() 00062 { 00063 return _direct_enabled; 00064 } 00065 00066 #endif // jdb_screen_h