From: <pst...@us...> - 2013-01-08 04:34:53
|
Revision: 952 http://sourceforge.net/p/jazzplusplus/code/952 Author: pstieber Date: 2013-01-08 04:34:49 +0000 (Tue, 08 Jan 2013) Log Message: ----------- Changed header sentries to #pragma once. Modified Paths: -------------- trunk/jazz/src/AlsaDriver.h trunk/jazz/src/AlsaPlayer.h trunk/jazz/src/AlsaThru.h trunk/jazz/src/AudioDriver.h trunk/jazz/src/CommandUtilities.h trunk/jazz/src/ResourceDialog.h trunk/jazz/src/SignalInterface.h Modified: trunk/jazz/src/AlsaDriver.h =================================================================== --- trunk/jazz/src/AlsaDriver.h 2013-01-07 15:32:52 UTC (rev 951) +++ trunk/jazz/src/AlsaDriver.h 2013-01-08 04:34:49 UTC (rev 952) @@ -20,8 +20,7 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //***************************************************************************** -#ifndef JZ_ALSADRIVER_H -#define JZ_ALSADRIVER_H +#pragma once #include "Events.h" #include "Player.h" @@ -114,5 +113,3 @@ JZAlsaAudioListener* mpListener; JZAudioRecordBuffer recbuffers; }; - -#endif // !defined(JZ_ALSADRIVER_H) Modified: trunk/jazz/src/AlsaPlayer.h =================================================================== --- trunk/jazz/src/AlsaPlayer.h 2013-01-07 15:32:52 UTC (rev 951) +++ trunk/jazz/src/AlsaPlayer.h 2013-01-08 04:34:49 UTC (rev 952) @@ -20,8 +20,7 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //***************************************************************************** -#ifndef JZ_ALSAPLAY_H -#define JZ_ALSAPLAY_H +#pragma once #include "Player.h" #include "AlsaThru.h" @@ -147,6 +146,3 @@ JZAlsaThru *thru; int ithru, othru; // index in iaddr, oaddr of source/target device }; - - -#endif // !defined(JZ_ALSAPLAY_H) Modified: trunk/jazz/src/AlsaThru.h =================================================================== --- trunk/jazz/src/AlsaThru.h 2013-01-07 15:32:52 UTC (rev 951) +++ trunk/jazz/src/AlsaThru.h 2013-01-08 04:34:49 UTC (rev 952) @@ -20,8 +20,7 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //***************************************************************************** -#ifndef JZ_ALSATHRU_H -#define JZ_ALSATHRU_H +#pragma once #include <stdlib.h> #include <errno.h> @@ -95,5 +94,3 @@ pid_t worker; int running; }; - -#endif // !defined(JZ_ALSATHRU_H) Modified: trunk/jazz/src/AudioDriver.h =================================================================== --- trunk/jazz/src/AudioDriver.h 2013-01-07 15:32:52 UTC (rev 951) +++ trunk/jazz/src/AudioDriver.h 2013-01-08 04:34:49 UTC (rev 952) @@ -20,8 +20,7 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //***************************************************************************** -#ifndef JZ_AUDIODRIVER_H -#define JZ_AUDIODRIVER_H +#pragma once #include <sys/soundcard.h> // in oss/free (from kernel 2.0.29) the following is not implemented @@ -123,5 +122,3 @@ // Needed by buggy audio driver ... int force_read; }; - -#endif // !define(JZ_AUDIODRIVER_H) Modified: trunk/jazz/src/CommandUtilities.h =================================================================== --- trunk/jazz/src/CommandUtilities.h 2013-01-07 15:32:52 UTC (rev 951) +++ trunk/jazz/src/CommandUtilities.h 2013-01-08 04:34:49 UTC (rev 952) @@ -18,8 +18,7 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //***************************************************************************** -#ifndef JZ_COMMANDUTILITIES_H -#define JZ_COMMANDUTILITIES_H +#pragma once //***************************************************************************** //***************************************************************************** @@ -29,6 +28,3 @@ eAddValues, eSubtractValues }; - - -#endif // !defined(JZ_COMMANDUTILITIES_H) Modified: trunk/jazz/src/ResourceDialog.h =================================================================== --- trunk/jazz/src/ResourceDialog.h 2013-01-07 15:32:52 UTC (rev 951) +++ trunk/jazz/src/ResourceDialog.h 2013-01-08 04:34:49 UTC (rev 952) @@ -20,8 +20,7 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //***************************************************************************** -#ifndef JZ_RESOURCEDIALOG_H -#define JZ_RESOURCEDIALOG_H +#pragma once #include <list> @@ -245,5 +244,3 @@ /// The name of the dialog resource. Used in error reporting. wxString dialogName; }; - -#endif // !defined(JZ_RESOURCEDIALOG_H) Modified: trunk/jazz/src/SignalInterface.h =================================================================== --- trunk/jazz/src/SignalInterface.h 2013-01-07 15:32:52 UTC (rev 951) +++ trunk/jazz/src/SignalInterface.h 2013-01-08 04:34:49 UTC (rev 952) @@ -20,8 +20,7 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //***************************************************************************** -#ifndef JZ_SIGNALINTERFACE_H -#define JZ_SIGNALINTERFACE_H +#pragma once class JZRndArray; class JZSample; @@ -87,5 +86,3 @@ JZOpFilter* filter; float sr; }; - -#endif // !defined(JZ_SIGNALINTERFACE_H) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |