Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
CLogItemList Class Reference

#include <log.h>

Collaboration diagram for CLogItemList:
Collaboration graph

List of all members.

Public Member Functions

 CLogItemList ()
 ~CLogItemList ()
int add (LogItemStruct *plis)

Public Attributes

int m_iCount

Detailed Description

Definition at line 106 of file log.h.

Constructor & Destructor Documentation

Definition at line 46 of file log.cpp.

Definition at line 53 of file log.cpp.

  while(m_pFirst != NULL)
    LogItemListElement * plile = m_pFirst;
    m_pFirst = plile->pNext;
    delete plile;

Member Function Documentation

Definition at line 63 of file log.cpp.

  LogItemListElement *plile = new LogItemListElement;

  if(plile == NULL)
    return -1;

  plile->plis = plis;

  if(m_pFirst == NULL)
    m_pFirst = plile;
    plile->pPrev = NULL;
    m_pLast->pNext = plile;
    plile->pPrev = m_pLast;

  plile->pNext = NULL;
  m_pLast = plile;

  int iRet = m_iCount;
  return iRet;

Here is the caller graph for this function:

Member Data Documentation

Definition at line 111 of file log.h.

Definition at line 109 of file log.h.

Definition at line 110 of file log.h.

The documentation for this class was generated from the following files: