This commit is contained in:
glenux 2006-03-06 12:13:53 +00:00
parent 05100ddf29
commit 386295f69f
3 changed files with 37 additions and 2 deletions

View file

@ -19,7 +19,8 @@ dabcast_SOURCES = \
clock_ab.cc \
clock_cb.cc \
timestamp.cc \
messagecell_ab.cc
messagecell_ab.cc \
messagecell_cb.cc
dabcast_SOURCES += \
groupmember.h \
@ -36,7 +37,8 @@ dabcast_SOURCES += \
clock_cb.h \
protocol.h \
timestamp.h \
messagecell_ab.h
messagecell_ab.h \
messagecell_cb.h
INCLUDES = -I./ @GLIBMM_CFLAGS@ @GTHREAD_CFLAGS@

10
src/messagecell_cb.cc Normal file
View file

@ -0,0 +1,10 @@
#include "messagecell_cb.h"
MessageCellCb::MessageCellCb(){
printf("MessageCellCb::MessageCellCb -- constructor\n");
this->message = NULL;
this->type = MessageCellCb::TYPE_UNDEF;
this->count = 0;
this->maximum = NULL;
}

23
src/messagecell_cb.h Normal file
View file

@ -0,0 +1,23 @@
#ifndef _MESSAGE_CELL_CB
#define _MESSAGE_CELL_CB
#include "message.h"
class MessageCellCb {
public:
typedef enum {
TYPE_UNDEF,
TYPE_TEMPORARY,
TYPE_DEFINITIVE
} Type;
Message * message;
MessageCellCb::Type type;
TimeStamp * maximum;
short count;
MessageCellCb();
};
#endif