Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

jdb_core.h

Go to the documentation of this file.
00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT!         -*- c++ -*-
00002 
00003 #ifndef jdb_core_h
00004 #define jdb_core_h
00005 
00006 #include "static_init.h"
00007 #include "jdb_module.h"
00008 
00009 //
00010 // INTERFACE definition follows 
00011 //
00012 
00013 
00023 class Jdb_core
00024 {
00025 public:
00026 
00034   struct Cmd
00035   {
00039     Jdb_module            *mod;
00040 
00049     Jdb_module::Cmd const *cmd;
00050 
00056     Cmd( Jdb_module *_mod, Jdb_module::Cmd const *_cmd = 0 ) 
00057       : mod(_mod), cmd(_cmd) 
00058     {}
00059   };
00060 
00068   static Cmd has_cmd( char const *cmd );
00069 
00084   static int exec_cmd( Cmd const cmd, int push_next_char = -1 );
00085 
00089   static int getchar( void );
00090 
00096   static int new_line( unsigned &line );
00097 
00098   static void prompt_start();
00099   static void prompt_end();
00100   static void prompt();
00101   static void update_prompt();
00102   static int set_prompt_color( char v );
00103 
00104   static char esc_prompt[];
00105 
00106 private:
00107   static bool short_mode;
00108   static int  next_char;
00109 };
00110 
00111 #endif // jdb_core_h

Generated on Mon Sep 26 14:20:10 2005 for Fiasco by  doxygen 1.4.2