mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
SIservices.hpp/SIsections.hpp: switch functions to const
This commit is contained in:
@@ -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; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -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; }
|
||||||
|
Reference in New Issue
Block a user