#include <AiksaurusGTK_history.h>
Public Member Functions | |
AiksaurusGTK_history () | |
~AiksaurusGTK_history () | |
void | search (const char *str) |
void | move_back () |
void | move_forward () |
void | move_back_to (GList *element) |
void | move_forward_to (GList *element) |
const char * | tip_back () const |
const char * | tip_forward () const |
const char * | current () const |
unsigned int | size_back () const |
unsigned int | size_forward () const |
const AiksaurusGTK_strlist & | list_back () const |
const AiksaurusGTK_strlist & | list_forward () const |
void | debug () |
Private Member Functions | |
AiksaurusGTK_history (const AiksaurusGTK_history &rhs) | |
const AiksaurusGTK_history & | operator= (const AiksaurusGTK_history &rhs) |
Private Attributes | |
AiksaurusGTK_strlist | d_back |
AiksaurusGTK_strlist | d_forward |
char * | d_current_ptr |
int | d_maxentries |
char * | d_forward_tip_ptr |
char * | d_back_tip_ptr |
AiksaurusGTK_history::AiksaurusGTK_history | ( | const AiksaurusGTK_history & | rhs | ) | [private] |
AiksaurusGTK_history::AiksaurusGTK_history | ( | ) |
References d_back_tip_ptr, d_current_ptr, and d_forward_tip_ptr.
AiksaurusGTK_history::~AiksaurusGTK_history | ( | ) |
References d_back_tip_ptr, d_current_ptr, and d_forward_tip_ptr.
const char * AiksaurusGTK_history::current | ( | ) | const |
void AiksaurusGTK_history::debug | ( | ) |
References current(), d_back, d_forward, AiksaurusGTK_strlist::debug(), tip_back(), and tip_forward().
Referenced by move_back_to(), and move_forward_to().
const AiksaurusGTK_strlist & AiksaurusGTK_history::list_back | ( | ) | const |
References d_back.
const AiksaurusGTK_strlist & AiksaurusGTK_history::list_forward | ( | ) | const |
References d_forward.
void AiksaurusGTK_history::move_back | ( | ) |
References AiksaurusGTK_strCopy(), d_back, d_current_ptr, d_forward, AiksaurusGTK_strlist::look_front(), AiksaurusGTK_strlist::pop_back(), AiksaurusGTK_strlist::pop_front(), AiksaurusGTK_strlist::push_front(), and AiksaurusGTK_strlist::size().
Referenced by AiksaurusGTK_impl::Toolbar::_backClicked(), and move_back_to().
void AiksaurusGTK_history::move_back_to | ( | GList * | element | ) |
References d_back, debug(), AiksaurusGTK_strlist::list(), and move_back().
Referenced by AiksaurusGTK_impl::Toolbar::_backMenuClicked().
void AiksaurusGTK_history::move_forward | ( | ) |
References AiksaurusGTK_strCopy(), d_back, d_current_ptr, d_forward, AiksaurusGTK_strlist::look_front(), AiksaurusGTK_strlist::pop_back(), AiksaurusGTK_strlist::pop_front(), AiksaurusGTK_strlist::push_front(), and AiksaurusGTK_strlist::size().
Referenced by AiksaurusGTK_impl::Toolbar::_forwardClicked(), and move_forward_to().
void AiksaurusGTK_history::move_forward_to | ( | GList * | element | ) |
References d_forward, debug(), AiksaurusGTK_strlist::list(), and move_forward().
Referenced by AiksaurusGTK_impl::Toolbar::_forwardMenuClicked().
const AiksaurusGTK_history& AiksaurusGTK_history::operator= | ( | const AiksaurusGTK_history & | rhs | ) | [private] |
void AiksaurusGTK_history::search | ( | const char * | str | ) |
unsigned int AiksaurusGTK_history::size_back | ( | ) | const |
References d_back, and AiksaurusGTK_strlist::size().
Referenced by AiksaurusGTK_impl::Toolbar::_updateNavigation().
unsigned int AiksaurusGTK_history::size_forward | ( | ) | const |
References d_forward, and AiksaurusGTK_strlist::size().
Referenced by AiksaurusGTK_impl::Toolbar::_updateNavigation().
const char * AiksaurusGTK_history::tip_back | ( | ) | const |
References AiksaurusGTK_strConcat(), d_back, d_back_tip_ptr, and AiksaurusGTK_strlist::look_front().
Referenced by AiksaurusGTK_impl::Toolbar::_updateNavigation(), and debug().
const char * AiksaurusGTK_history::tip_forward | ( | ) | const |
References AiksaurusGTK_strConcat(), d_forward, d_forward_tip_ptr, and AiksaurusGTK_strlist::look_front().
Referenced by AiksaurusGTK_impl::Toolbar::_updateNavigation(), and debug().
Referenced by debug(), list_back(), move_back(), move_back_to(), move_forward(), search(), size_back(), and tip_back().
char* AiksaurusGTK_history::d_back_tip_ptr [mutable, private] |
Referenced by AiksaurusGTK_history(), tip_back(), and ~AiksaurusGTK_history().
char* AiksaurusGTK_history::d_current_ptr [private] |
Referenced by AiksaurusGTK_history(), current(), move_back(), move_forward(), search(), and ~AiksaurusGTK_history().
Referenced by debug(), list_forward(), move_back(), move_forward(), move_forward_to(), search(), size_forward(), and tip_forward().
char* AiksaurusGTK_history::d_forward_tip_ptr [mutable, private] |
Referenced by AiksaurusGTK_history(), tip_forward(), and ~AiksaurusGTK_history().
int AiksaurusGTK_history::d_maxentries [private] |