use #pragma once
This commit is contained in:
parent
96777cbab2
commit
11938e960b
25 changed files with 26 additions and 99 deletions
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined(_SOUND_H__9518A621345F78_3638457H73245GUIG9__INCLUDED_)
|
||||
#define _SOUND_H__9518A621345F78_3638457H73245GUIG9__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <SLES/OpenSLES.h>
|
||||
#include <SLES/OpenSLES_Android.h>
|
||||
|
@ -81,5 +80,3 @@ protected:
|
|||
QMutex Mutex;
|
||||
|
||||
};
|
||||
|
||||
#endif // !defined(_SOUND_H__9518A621345F78_3638457H73245GUIG9__INCLUDED_)
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined(_SOUND_H__9518A621345F78_3634567_8C0D_EEBF182CF549__INCLUDED_)
|
||||
#define _SOUND_H__9518A621345F78_3634567_8C0D_EEBF182CF549__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#ifndef JACK_REPLACES_ASIO // these headers are not available in Windows OS
|
||||
# include <unistd.h>
|
||||
|
@ -104,5 +103,3 @@ public:
|
|||
virtual ~CSound() {}
|
||||
};
|
||||
#endif // WITH_SOUND
|
||||
|
||||
#endif // !defined(_SOUND_H__9518A621345F78_3634567_8C0D_EEBF182CF549__INCLUDED_)
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined(_SOUND_H__9518A621345F78_363456876UZGSDF82CF549__INCLUDED_)
|
||||
#define _SOUND_H__9518A621345F78_363456876UZGSDF82CF549__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <CoreAudio/CoreAudio.h>
|
||||
#include <CoreMIDI/CoreMIDI.h>
|
||||
|
@ -119,5 +118,3 @@ protected:
|
|||
|
||||
QMutex Mutex;
|
||||
};
|
||||
|
||||
#endif // !defined(_SOUND_H__9518A621345F78_363456876UZGSDF82CF549__INCLUDED_)
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( ANALYZERCONSOLE_H__FD6BKUBVE723IUH06C2AC__INCLUDED_ )
|
||||
#define ANALYZERCONSOLE_H__FD6BKUBVE723IUH06C2AC__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
#include <QTabWidget>
|
||||
|
@ -90,5 +89,3 @@ protected:
|
|||
public slots:
|
||||
void OnTimerErrRateUpdate();
|
||||
};
|
||||
|
||||
#endif // ANALYZERCONSOLE_H__FD6BKUBVE723IUH06C2AC__INCLUDED_
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( MIXERBOARD_H__FD6B49E1606C2AC__INCLUDED_ )
|
||||
#define MIXERBOARD_H__FD6B49E1606C2AC__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <QFrame>
|
||||
#include <QGroupBox>
|
||||
|
@ -155,5 +154,3 @@ signals:
|
|||
void ChangeChanGain ( int iId, double dGain );
|
||||
void NumClientsChanged ( int iNewNumClients );
|
||||
};
|
||||
|
||||
#endif // MIXERBOARD_H__FD6B49E1606C2AC__INCLUDED_
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( BUFFER_H__3B123453_4344_BB23945IUHF1912__INCLUDED_ )
|
||||
#define BUFFER_H__3B123453_4344_BB23945IUHF1912__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include "util.h"
|
||||
#include "global.h"
|
||||
|
@ -491,5 +490,3 @@ protected:
|
|||
int iMemSize;
|
||||
int iPutPos;
|
||||
};
|
||||
|
||||
#endif /* !defined ( BUFFER_H__3B123453_4344_BB23945IUHF1912__INCLUDED_ ) */
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( CHANNEL_HOIH9345KJH98_3_4344_BB23945IUHF1912__INCLUDED_ )
|
||||
#define CHANNEL_HOIH9345KJH98_3_4344_BB23945IUHF1912__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <QThread>
|
||||
#include <QDateTime>
|
||||
|
@ -261,5 +260,3 @@ signals:
|
|||
int iRecCounter,
|
||||
int iRecID );
|
||||
};
|
||||
|
||||
#endif /* !defined ( CHANNEL_HOIH9345KJH98_3_4344_BB23945IUHF1912__INCLUDED_ ) */
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( CLIENT_HOIHGE76GEKJH98_3_43445KJIUHF1912__INCLUDED_ )
|
||||
#define CLIENT_HOIHGE76GEKJH98_3_43445KJIUHF1912__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <QHostAddress>
|
||||
#include <QHostInfo>
|
||||
|
@ -412,5 +411,3 @@ signals:
|
|||
void Disconnected();
|
||||
void ControllerInFaderLevel ( int iChannelIdx, int iValue );
|
||||
};
|
||||
|
||||
#endif /* !defined ( CLIENT_HOIHGE76GEKJH98_3_43445KJIUHF1912__INCLUDED_ ) */
|
||||
|
|
|
@ -47,8 +47,7 @@ LED bar: lbr
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( GLOBAL_H__3B123453_4344_BB2B_23E7A0D31912__INCLUDED_ )
|
||||
#define GLOBAL_H__3B123453_4344_BB2B_23E7A0D31912__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#if _WIN32
|
||||
# define _CRT_SECURE_NO_WARNINGS
|
||||
|
@ -331,5 +330,3 @@ bool GetNumericArgument ( QTextStream& tsConsole,
|
|||
double rRangeStart,
|
||||
double rRangeStop,
|
||||
double& rValue);
|
||||
|
||||
#endif /* !defined ( GLOBAL_H__3B123453_4344_BB2B_23E7A0D31912__INCLUDED_ ) */
|
||||
|
|
|
@ -23,8 +23,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#ifndef HISTORYGRAPH_H
|
||||
#define HISTORYGRAPH_H
|
||||
#pragma once
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QHostAddress>
|
||||
|
@ -182,5 +181,3 @@ private:
|
|||
public slots:
|
||||
void OnTimerDailyUpdate() { Update(); }
|
||||
};
|
||||
|
||||
#endif // HISTORYGRAPH_H
|
||||
|
|
|
@ -29,8 +29,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( _MULTCOLORLED_H__FD6B49B5_87DF_48DD_A873_804E1606C2AC__INCLUDED_ )
|
||||
#define _MULTCOLORLED_H__FD6B49B5_87DF_48DD_A873_804E1606C2AC__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <QLabel>
|
||||
#include <QPixmap>
|
||||
|
@ -74,5 +73,3 @@ protected:
|
|||
bool bFlagGreenLi;
|
||||
bool bFlagYellowLi;
|
||||
};
|
||||
|
||||
#endif // _MULTCOLORLED_H__FD6B49B5_87DF_48DD_A873_804E1606C2AC__INCLUDED_
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( _MULTCOLORLEDBAR_H__FD6B49B5_87DF_48DD_E1606C2AC__INCLUDED_ )
|
||||
#define _MULTCOLORLEDBAR_H__FD6B49B5_87DF_48DD_E1606C2AC__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <QFrame>
|
||||
#include <QPixmap>
|
||||
|
@ -80,5 +79,3 @@ protected:
|
|||
int iNumLEDs;
|
||||
CVector<cLED*> vecpLEDs;
|
||||
};
|
||||
|
||||
#endif // _MULTCOLORLEDBAR_H__FD6B49B5_87DF_48DD_E1606C2AC__INCLUDED_
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( PROTOCOL_H__3B123453_4344_BB2392354455IUHF1912__INCLUDED_ )
|
||||
#define PROTOCOL_H__3B123453_4344_BB2392354455IUHF1912__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <QMutex>
|
||||
#include <QTimer>
|
||||
|
@ -292,5 +291,3 @@ signals:
|
|||
CVector<CChannelInfo> vecChanInfo );
|
||||
void CLReqConnClientsList ( CHostAddress InetAddr );
|
||||
};
|
||||
|
||||
#endif /* !defined ( PROTOCOL_H__3B123453_4344_BB2392354455IUHF1912__INCLUDED_ ) */
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#ifndef CREAPERPROJECT_H
|
||||
#define CREAPERPROJECT_H
|
||||
#pragma once
|
||||
|
||||
#include <QUuid>
|
||||
#include <QFileInfo>
|
||||
|
@ -90,4 +89,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
#endif // CREAPERPROJECT_H
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#ifndef CWAVESTREAM_H
|
||||
#define CWAVESTREAM_H
|
||||
#pragma once
|
||||
|
||||
#include <QDataStream>
|
||||
|
||||
|
@ -89,5 +88,3 @@ private:
|
|||
recorder::CWaveStream& operator<<(recorder::CWaveStream& out, recorder::HdrRiff& hdrRiff);
|
||||
recorder::CWaveStream& operator<<(recorder::CWaveStream& out, recorder::FmtSubChunk& fmtSubChunk);
|
||||
recorder::CWaveStream& operator<<(recorder::CWaveStream& out, recorder::DataSubChunkHdr& dataSubChunkHdr);
|
||||
|
||||
#endif // CWAVESTREAM_H
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#ifndef JAMRECORDER_H
|
||||
#define JAMRECORDER_H
|
||||
#pragma once
|
||||
|
||||
#include <QDir>
|
||||
#include <QFile>
|
||||
|
@ -178,4 +177,3 @@ private:
|
|||
|
||||
Q_DECLARE_METATYPE(int16_t)
|
||||
Q_DECLARE_METATYPE(CVector<int16_t>)
|
||||
#endif // JAMRECORDER_H
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( SERVER_HOIHGE7LOKIH83JH8_3_43445KJIUHF1912__INCLUDED_ )
|
||||
#define SERVER_HOIHGE7LOKIH83JH8_3_43445KJIUHF1912__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QTimer>
|
||||
|
@ -458,5 +457,3 @@ public slots:
|
|||
void OnServerAutoSockBufSizeChangeCh18 ( int iNNumFra ) { vecChannels[18].CreateJitBufMes ( iNNumFra ); }
|
||||
void OnServerAutoSockBufSizeChangeCh19 ( int iNNumFra ) { vecChannels[19].CreateJitBufMes ( iNNumFra ); }
|
||||
};
|
||||
|
||||
#endif /* !defined ( SERVER_HOIHGE7LOKIH83JH8_3_43445KJIUHF1912__INCLUDED_ ) */
|
||||
|
|
|
@ -57,8 +57,7 @@ private network.
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( SERVERLIST_HOIJH8OUWEF_WFEIOBU_3_43445KJIUHF1912__INCLUDED_ )
|
||||
#define SERVERLIST_HOIJH8OUWEF_WFEIOBU_3_43445KJIUHF1912__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QLocale>
|
||||
|
@ -208,5 +207,3 @@ public slots:
|
|||
void OnTimerRegistering() { SlaveServerRegisterServer ( true ); }
|
||||
void OnTimerIsPermanent() { ServerList[0].bPermanentOnline = true; }
|
||||
};
|
||||
|
||||
#endif /* !defined ( SERVERLIST_HOIJH8OUWEF_WFEIOBU_3_43445KJIUHF1912__INCLUDED_ ) */
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#ifndef SERVERLOGGING_H
|
||||
#define SERVERLOGGING_H
|
||||
#pragma once
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QHostAddress>
|
||||
|
@ -58,5 +57,3 @@ protected:
|
|||
bool bDoLogging;
|
||||
QFile File;
|
||||
};
|
||||
|
||||
#endif // SERVERLOGGING_H
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( SETTINGS_H__3B0BA660_DGEG56G456G9876D31912__INCLUDED_ )
|
||||
#define SETTINGS_H__3B0BA660_DGEG56G456G9876D31912__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <QDomDocument>
|
||||
#include <QFile>
|
||||
|
@ -112,5 +111,3 @@ protected:
|
|||
bool bIsClient;
|
||||
QString strFileName;
|
||||
};
|
||||
|
||||
#endif // !defined ( SETTINGS_H__3B0BA660_DGEG56G456G9876D31912__INCLUDED_ )
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( SOCKET_HOIHGE76GEKJH98_3_4344_BB23945IUHF1912__INCLUDED_ )
|
||||
#define SOCKET_HOIHGE76GEKJH98_3_4344_BB23945IUHF1912__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QMessageBox>
|
||||
|
@ -229,5 +228,3 @@ protected:
|
|||
signals:
|
||||
void InvalidPacketReceived ( CHostAddress RecHostAddr );
|
||||
};
|
||||
|
||||
#endif /* !defined ( SOCKET_HOIHGE76GEKJH98_3_4344_BB23945IUHF1912__INCLUDED_ ) */
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( SOUNDBASE_HOIHGEH8_3_4344456456345634565KJIUHF1912__INCLUDED_ )
|
||||
#define SOUNDBASE_HOIHGEH8_3_4344456456345634565KJIUHF1912__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <QThread>
|
||||
#include <QString>
|
||||
|
@ -132,5 +131,3 @@ signals:
|
|||
void ReinitRequest ( int iSndCrdResetType );
|
||||
void ControllerInFaderLevel ( int iChannelIdx, int iValue );
|
||||
};
|
||||
|
||||
#endif /* !defined ( SOUNDBASE_HOIHGEH8_3_4344456456345634565KJIUHF1912__INCLUDED_ ) */
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( TESTBENCH_HOIHJH8_3_43445KJIUHF1912__INCLUDED_ )
|
||||
#define TESTBENCH_HOIHJH8_3_43445KJIUHF1912__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QTimer>
|
||||
|
@ -284,5 +283,3 @@ public slots:
|
|||
Protocol.Reset();
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* !defined ( TESTBENCH_HOIHJH8_3_43445KJIUHF1912__INCLUDED_ ) */
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( UTIL_HOIH934256GEKJH98_3_43445KJIUHF1912__INCLUDED_ )
|
||||
#define UTIL_HOIH934256GEKJH98_3_43445KJIUHF1912__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <QHostAddress>
|
||||
#include <QHostInfo>
|
||||
|
@ -47,6 +46,7 @@
|
|||
#include "global.h"
|
||||
using namespace std; // because of the library: "vector"
|
||||
#ifdef _WIN32
|
||||
# include <winsock2.h>
|
||||
# include <windows.h>
|
||||
# include <mmsystem.h>
|
||||
#elif defined ( __APPLE__ ) || defined ( __MACOSX )
|
||||
|
@ -1265,5 +1265,3 @@ protected:
|
|||
bool bBlockOnDoubleErrors;
|
||||
bool bPreviousState;
|
||||
};
|
||||
|
||||
#endif /* !defined ( UTIL_HOIH934256GEKJH98_3_43445KJIUHF1912__INCLUDED_ ) */
|
||||
|
|
|
@ -22,10 +22,8 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#if !defined ( _SOUNDIN_H__9518A621_7F78_11D3_8C0D_EEBF182CF549__INCLUDED_ )
|
||||
#define _SOUNDIN_H__9518A621_7F78_11D3_8C0D_EEBF182CF549__INCLUDED_
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
#include <QMutex>
|
||||
#include <QMessageBox>
|
||||
#include "../src/util.h"
|
||||
|
@ -152,5 +150,3 @@ protected:
|
|||
|
||||
char* cDriverNames[MAX_NUMBER_SOUND_CARDS];
|
||||
};
|
||||
|
||||
#endif // !defined ( _SOUNDIN_H__9518A621_7F78_11D3_8C0D_EEBF182CF549__INCLUDED_ )
|
||||
|
|
Loading…
Reference in a new issue