2023-12-14 Fred Gleason <fredg@paravelsystems.com>

* Moved LINE_NUMBER macros to 'lib/rd.h'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2023-12-14 10:16:59 -05:00
parent f59c216a38
commit b939c2772c
4 changed files with 19 additions and 6 deletions

View File

@@ -24528,3 +24528,15 @@
2023-12-07 Fred Gleason <fredg@paravelsystems.com>
* Modified the schema reversion 348=>347 in rddbmgr(8) to remove
out-of-bounds SoundPanel button entries.
2023-12-11 Fred Gleason <fredg@paravelsystems.com>
* Refactored the CAE control interface to assign session IDs
from the client rather than the service end.
* Added a 'serial' parameter to the 'Load Playback' ['LP'],
'Unload Playback' ['UP'], 'Play Position' ['PP'], 'Play' ['PY'],
'Stop Playback' ['SP'], 'Set Output Volume' ['OV'] and
'Fade Output Volume' ['FV'] CAE commands.
* Removed the 'card-num', 'port-num' and 'stream-num' parameters
from the 'Set Output Volume' ['OV'] and 'Fade Output Volume' ['FV']
CAE commands.
2023-12-14 Fred Gleason <fredg@paravelsystems.com>
* Moved LINE_NUMBER macros to 'lib/rd.h'.

View File

@@ -690,5 +690,12 @@
#define RD_OFFSET_FORMAT "mm:ss"
#define RD_OFFSET_TENTHS_FORMAT "mm:ss.z"
/*
* Line number macros
*/
#define STRINGIZE(x) STRINGIZE2(x)
#define STRINGIZE2(x) #x
#define LINE_NUMBER QString(STRINGIZE(__LINE__)).toInt()
#endif // RD_H

View File

@@ -30,9 +30,6 @@
#include <rdsvc.h>
#define RDXPORT_CGI_USAGE "\n"
#define STRINGIZE(x) STRINGIZE2(x)
#define STRINGIZE2(x) #x
#define LINE_NUMBER QString(STRINGIZE(__LINE__)).toInt()
class Xport : public QObject
{

View File

@@ -26,9 +26,6 @@
#include <rdaudioconvert.h>
#include <rdformpost.h>
#define STRINGIZE(x) STRINGIZE2(x)
#define STRINGIZE2(x) #x
#define LINE_NUMBER QString(STRINGIZE(__LINE__)).toInt()
#define WEBGET_CGI_USAGE "\n"
class MainObject : public QObject