diff options
Diffstat (limited to 'src/fig/FIG1.h')
-rw-r--r-- | src/fig/FIG1.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/fig/FIG1.h b/src/fig/FIG1.h index 2ae0bfb..2cca8d5 100644 --- a/src/fig/FIG1.h +++ b/src/fig/FIG1.h @@ -40,10 +40,10 @@ class FIG1_0 : public IFIG FIG1_0(FIGRuntimeInformation* rti) : m_rti(rti) {} virtual FillStatus fill(uint8_t *buf, size_t max_size); - virtual FIG_rate repetition_rate(void) { return FIG_rate::B; } + virtual FIG_rate repetition_rate() const { return FIG_rate::B; } - virtual const int figtype(void) const { return 1; } - virtual const int figextension(void) const { return 0; } + virtual int figtype() const { return 1; } + virtual int figextension() const { return 0; } private: FIGRuntimeInformation *m_rti; @@ -56,10 +56,10 @@ class FIG1_1 : public IFIG FIG1_1(FIGRuntimeInformation* rti) : m_rti(rti), m_initialised(false) {} virtual FillStatus fill(uint8_t *buf, size_t max_size); - virtual FIG_rate repetition_rate(void) { return FIG_rate::B; } + virtual FIG_rate repetition_rate() const { return FIG_rate::B; } - virtual const int figtype(void) const { return 1; } - virtual const int figextension(void) const { return 1; } + virtual int figtype() const { return 1; } + virtual int figextension() const { return 1; } private: FIGRuntimeInformation *m_rti; @@ -74,10 +74,10 @@ class FIG1_4 : public IFIG FIG1_4(FIGRuntimeInformation* rti) : m_rti(rti), m_initialised(false) {} virtual FillStatus fill(uint8_t *buf, size_t max_size); - virtual FIG_rate repetition_rate(void) { return FIG_rate::B; } + virtual FIG_rate repetition_rate() const { return FIG_rate::B; } - virtual const int figtype(void) const { return 1; } - virtual const int figextension(void) const { return 4; } + virtual int figtype() const { return 1; } + virtual int figextension() const { return 4; } private: FIGRuntimeInformation *m_rti; @@ -92,10 +92,10 @@ class FIG1_5 : public IFIG FIG1_5(FIGRuntimeInformation* rti) : m_rti(rti), m_initialised(false) {} virtual FillStatus fill(uint8_t *buf, size_t max_size); - virtual FIG_rate repetition_rate(void) { return FIG_rate::B; } + virtual FIG_rate repetition_rate() const { return FIG_rate::B; } - virtual const int figtype(void) const { return 1; } - virtual const int figextension(void) const { return 5; } + virtual int figtype() const { return 1; } + virtual int figextension() const { return 5; } private: FIGRuntimeInformation *m_rti; |