SIservices.hpp/SIsections.hpp: switch functions to const

This commit is contained in:
2015-01-12 22:54:18 +01:00
parent c92d4fad1a
commit f15cf6f57d
2 changed files with 2 additions and 2 deletions

View File

@@ -194,7 +194,7 @@ class SIsectionTIME
parsed = 0; parsed = 0;
parse(buf); parse(buf);
} }
time_t getTime() { return dvbtime; } time_t getTime() const { return dvbtime; }
int is_parsed(void) const { return parsed; } int is_parsed(void) const { return parsed; }
}; };

View File

@@ -121,7 +121,7 @@ public:
int eitScheduleFlag(void) { return (int)flags.EIT_schedule_flag; } int eitScheduleFlag(void) { return (int)flags.EIT_schedule_flag; }
int eitPresentFollowingFlag(void) { return (int)flags.EIT_present_following_flag; } int eitPresentFollowingFlag(void) { return (int)flags.EIT_present_following_flag; }
#endif #endif
int runningStatus(void) { return (int)flags.running_status; } int runningStatus(void) const { return (int)flags.running_status; }
#if 0 #if 0
// unused // unused
int freeCAmode(void) { return (int)flags.free_CA_mode; } int freeCAmode(void) { return (int)flags.free_CA_mode; }