Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

HistoryBuffer Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-console/history.h>

List of all members.

Public Member Functions

 HistoryBuffer ()
 ~HistoryBuffer ()
void setScroll (bool on)
bool hasScroll ()
void add (const unsigned char *bytes, int len)
void get (unsigned char *bytes, int len, int loc)
int len ()
 HistoryBuffer ()
 ~HistoryBuffer ()
void setScroll (bool on)
bool hasScroll ()
void add (const unsigned char *bytes, int len)
void get (unsigned char *bytes, int len, int loc)
int len ()

Private Attributes

int ion
int length


Constructor & Destructor Documentation

HistoryBuffer::HistoryBuffer  ) 
 

Definition at line 86 of file history.cpp.

References ion, and length.

HistoryBuffer::~HistoryBuffer  ) 
 

Definition at line 92 of file history.cpp.

References FALSE, and setScroll().

HistoryBuffer::HistoryBuffer  ) 
 

HistoryBuffer::~HistoryBuffer  ) 
 


Member Function Documentation

void HistoryBuffer::add const unsigned char *  bytes,
int  len
 

void HistoryBuffer::add const unsigned char *  bytes,
int  len
 

Definition at line 123 of file history.cpp.

References assert, FALSE, hasScroll(), ion, length, Opie::Core::perror(), rc, setScroll(), and write().

Referenced by HistoryScroll::addCells().

void HistoryBuffer::get unsigned char *  bytes,
int  len,
int  loc
 

void HistoryBuffer::get unsigned char *  bytes,
int  len,
int  loc
 

Definition at line 131 of file history.cpp.

References assert, FALSE, hasScroll(), ion, length, Opie::Core::perror(), rc, and setScroll().

Referenced by HistoryScroll::getCells().

bool HistoryBuffer::hasScroll  ) 
 

bool HistoryBuffer::hasScroll  ) 
 

Definition at line 118 of file history.cpp.

References ion.

Referenced by add(), get(), and setScroll().

int HistoryBuffer::len  ) 
 

int HistoryBuffer::len  ) 
 

Definition at line 140 of file history.cpp.

References length.

void HistoryBuffer::setScroll bool  on  ) 
 

void HistoryBuffer::setScroll bool  on  ) 
 

Definition at line 97 of file history.cpp.

References assert, hasScroll(), ion, length, and Opie::Core::perror().

Referenced by add(), get(), and ~HistoryBuffer().


Member Data Documentation

int HistoryBuffer::ion [private]
 

Definition at line 43 of file TEHistory.h.

Referenced by add(), get(), hasScroll(), HistoryBuffer(), and setScroll().

int HistoryBuffer::length [private]
 

Definition at line 44 of file TEHistory.h.

Referenced by add(), get(), HistoryBuffer(), len(), and setScroll().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:34:50 2005 for OPIE by  doxygen 1.4.2