#include <newsobject.h>
Compiler: gcc Modul: news service decoder implementation
Public Types | |
enum | object_type_id_t { MENU, PLAIN_TEXT, TITLE_ONLY, LIST } |
Public Methods | |
NewsObject (unsigned long len, const unsigned char *buf, struct timeval *creation_time) | |
~NewsObject () | |
unsigned long | getObjectId () |
timeval | getReceptionTime () |
timeval | getCreationTime () |
void | setReceptionTime (struct timeval *time) |
bool | isStatic () |
bool | isCompressed () |
void | setUpdateFlag () |
bool | isUpdated () |
unsigned char | getRevisionIndex () |
object_type_id_t | getObjectType () |
void | copyNml (unsigned long *len, unsigned char *nml) |
Private Types | |
enum | { MAX_NML_BYTES = 2044 } |
Private Methods | |
object_type_id_t | convertObjectType (unsigned char in) |
Private Attributes | |
unsigned long | d_object_id |
object_type_id_t | d_object_type |
bool | d_static_flag |
bool | d_compressed_flag |
unsigned char | d_revision_index |
unsigned long | d_len |
unsigned char | d_nml [MAX_NML_BYTES] |
timeval | d_creation_time |
timeval | d_reception_time |
bool | d_obj_updated |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|