00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT! -*- c++ -*- 00002 00003 #ifndef jdb_kern_info_h 00004 #define jdb_kern_info_h 00005 00006 #include "jdb_module.h" 00007 00008 // 00009 // INTERFACE definition follows 00010 // 00011 00012 00013 class Jdb_kern_info_module; 00014 00021 class Jdb_kern_info : public Jdb_module 00022 { 00023 private: 00024 static char _subcmd; 00025 static Jdb_kern_info_module *_first; 00026 00027 public: 00028 static void register_subcmd(Jdb_kern_info_module *m); 00029 00030 Jdb_module::Action_code action(int cmd, void *&args, char const *&, int &); 00031 00032 int const num_cmds() const; 00033 00034 Jdb_module::Cmd const *const cmds() const; 00035 00036 Jdb_kern_info(); 00037 }; 00038 00039 00040 class Jdb_kern_info_module 00041 { 00042 friend class Jdb_kern_info; 00043 virtual void show(void) = 0; 00044 00045 private: 00046 char _subcmd; 00047 char const *_descr; 00048 Jdb_kern_info_module *_next; 00049 00050 public: 00051 //=================== 00052 // Std JDB modules 00053 //=================== 00054 Jdb_kern_info_module(char subcmd, char const *descr); 00055 }; 00056 00057 #endif // jdb_kern_info_h