mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 16:11:12 +02:00
2023-09-20 Fred Gleason <fredg@paravelsystems.com>
* Removed definition of CAED_TCP_PORT from 'lib/rd.h'. * Added definition of RD_CAED_PORT to 'lib/rd.h'. * Added definition of RD_CAED_TIMEOUT_INTERVAL to 'lib/rd.h'. * Fixed a bug in caed(8) that broke metering CAE commands. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -36,6 +36,7 @@ class SessionId
|
||||
void setSerialNumber(int serial);
|
||||
QString dump() const;
|
||||
bool belongsTo(const SessionId &other) const;
|
||||
SessionId normalized() const;
|
||||
bool operator!=(const SessionId &other) const;
|
||||
bool operator<(const SessionId &other) const;
|
||||
|
||||
@@ -60,16 +61,16 @@ class Session
|
||||
void setPortNumber(int portnum);
|
||||
int streamNumber() const;
|
||||
void setStreamNumber(int streamnum);
|
||||
uint16_t meterPort() const;
|
||||
void setMeterPort(uint16_t port);
|
||||
// uint16_t meterPort() const;
|
||||
// void setMeterPort(uint16_t port);
|
||||
int startPosition() const;
|
||||
void setStartPosition(int pos);
|
||||
int endPosition() const;
|
||||
void setEndPosition(int pos);
|
||||
int speed() const;
|
||||
void setSpeed(int speed);
|
||||
bool metersEnabled();
|
||||
void setMetersEnabled(bool state);
|
||||
// bool metersEnabled();
|
||||
// void setMetersEnabled(bool state);
|
||||
|
||||
private:
|
||||
SessionId d_session_id;
|
||||
@@ -79,8 +80,8 @@ class Session
|
||||
int d_start_position;
|
||||
int d_end_position;
|
||||
int d_speed;
|
||||
uint16_t d_meter_port;
|
||||
bool d_meters_enabled;
|
||||
// uint16_t d_meter_port;
|
||||
// bool d_meters_enabled;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user