Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

hthist.h File Reference

#include "htobj.h"
#include "store.h"
#include "tools.h"

Go to the source code of this file.

Classes

class  ht_history_entry

Defines

#define HISTATOM_GOTO   MAGICD("HIS\x80")
#define HISTATOM_FILE   MAGICD("HIS\x81")
#define HISTATOM_SEARCH_BIN   MAGICD("HIS\x82")
#define HISTATOM_SEARCH_EVALSTR   MAGICD("HIS\x83")
#define HISTATOM_SEARCH_VREGEX   MAGICD("HIS\x84")
#define HISTATOM_SEARCH_EXPR   MAGICD("HIS\x85")
#define HISTATOM_ASSEMBLER   MAGICD("HIS\x86")
#define HISTATOM_NAME_ADDR   MAGICD("HIS\x87")
#define HISTATOM_EVAL_EXPR   MAGICD("HIS\x88")

Functions

bool insert_history_entry (ht_list *history, char *name, ht_view *view)
void store_history (ht_object_stream *s)
bool load_history (ht_object_stream *s)
bool init_hist ()
void done_hist ()


Define Documentation

#define HISTATOM_ASSEMBLER   MAGICD("HIS\x86")
 

Definition at line 38 of file hthist.h.

Referenced by dialog_assemble().

#define HISTATOM_EVAL_EXPR   MAGICD("HIS\x88")
 

Definition at line 40 of file hthist.h.

Referenced by blockop_dialog(), eval_dialog(), and ht_blockop_dialog::init().

#define HISTATOM_FILE   MAGICD("HIS\x81")
 

Definition at line 33 of file hthist.h.

Referenced by file_chooser(), file_open_dialog(), ht_app::handlemsg(), and FileBrowser::init().

#define HISTATOM_GOTO   MAGICD("HIS\x80")
 

Definition at line 32 of file hthist.h.

Referenced by blockop_dialog(), ht_uformat_viewer::handlemsg(), ht_app::handlemsg(), ht_blockop_dialog::init(), and ht_aviewer::showXRefs().

#define HISTATOM_NAME_ADDR   MAGICD("HIS\x87")
 

Definition at line 39 of file hthist.h.

Referenced by ht_aviewer::handlemsg().

#define HISTATOM_SEARCH_BIN   MAGICD("HIS\x82")
 

Definition at line 34 of file hthist.h.

#define HISTATOM_SEARCH_EVALSTR   MAGICD("HIS\x83")
 

Definition at line 35 of file hthist.h.

#define HISTATOM_SEARCH_EXPR   MAGICD("HIS\x85")
 

Definition at line 37 of file hthist.h.

#define HISTATOM_SEARCH_VREGEX   MAGICD("HIS\x84")
 

Definition at line 36 of file hthist.h.


Function Documentation

void done_hist  ) 
 

Definition at line 219 of file hthist.cc.

References ATOM_COMPARE_KEYS_HISTORY_ENTRY, ATOM_HT_HISTORY_ENTRY, destroy_hist_atom(), hist_atoms, UINT, UNREGISTER, and unregister_atom().

bool init_hist  ) 
 

Definition at line 202 of file hthist.cc.

References ATOM_COMPARE_KEYS_HISTORY_ENTRY, ATOM_HT_HISTORY_ENTRY, compare_keys_history_entry(), create_hist_atom(), hist_atoms, REGISTER, register_atom(), and UINT.

bool insert_history_entry ht_list history,
char *  name,
ht_view view
 

Definition at line 34 of file hthist.cc.

References ht_list::count(), ht_list::del_multiple(), file, ht_list::find(), ht_view::getdata(), ht_object_stream_bin::init(), LIST_UNDEFINED, MAX_HISTORY_ENTRY_COUNT, ht_list::move(), ht_list::prepend(), and UINT.

Referenced by ht_uformat_viewer::address_input(), blockop_dialog(), eval_dialog(), file_chooser(), file_open_dialog(), inputboxrect(), replace_dialog(), search_dialog(), and text_search_dialog().

bool load_history ht_object_stream s  ) 
 

Definition at line 184 of file hthist.cc.

References destroy_hist_atom(), ht_object_stream::getIntDec(), ht_object_stream::getIntHex(), ht_object_stream::getObject(), NULL, register_atom(), and UINT.

Referenced by ht_app::load().

void store_history ht_object_stream s  ) 
 

Definition at line 173 of file hthist.cc.

References find_atom(), hist_atoms, NULL, ht_object_stream::putIntDec(), ht_object_stream::putIntHex(), ht_object_stream::putObject(), and UINT.

Referenced by ht_app::store().


Generated on Fri May 7 21:15:48 2004 by doxygen 1.3.5