mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-20 09:31:15 +02:00
Replace header guards with #pragma once
Signed-off-by: Leon Marz <main@lmarz.org>
This commit is contained in:
@@ -39,8 +39,7 @@
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef __AUDACITY_COMPONENT_INTERFACE_H__
|
||||
#define __AUDACITY_COMPONENT_INTERFACE_H__
|
||||
#pragma once
|
||||
|
||||
#include "Identifier.h"
|
||||
#include "tenacity/Types.h"
|
||||
@@ -84,5 +83,3 @@ public:
|
||||
// Parameters, if defined. false means no defined parameters.
|
||||
virtual bool DefineParams( ShuttleParams & WXUNUSED(S) ){ return false;};
|
||||
};
|
||||
|
||||
#endif // __AUDACITY_IDENTINTERFACE_H__
|
||||
|
@@ -39,8 +39,7 @@
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef __AUDACITY_CONFIGINTERFACE_H__
|
||||
#define __AUDACITY_CONFIGINTERFACE_H__
|
||||
#pragma once
|
||||
|
||||
#include "Identifier.h"
|
||||
|
||||
@@ -94,5 +93,3 @@ public:
|
||||
virtual bool RemovePrivateConfigSubgroup(const RegistryPath & group) = 0;
|
||||
virtual bool RemovePrivateConfig(const RegistryPath & group, const RegistryPath & key) = 0;
|
||||
};
|
||||
|
||||
#endif // __AUDACITY_CONFIGINTERFACE_H__
|
||||
|
@@ -40,8 +40,7 @@
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef __AUDACITY_COMMAND_PARAMETERS_H__
|
||||
#define __AUDACITY_COMMAND_PARAMETERS_H__
|
||||
#pragma once
|
||||
|
||||
#include <locale.h>
|
||||
|
||||
@@ -338,5 +337,3 @@ public:
|
||||
return val;
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@@ -39,8 +39,7 @@
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef __AUDACITY_EFFECTINTERFACE_H__
|
||||
#define __AUDACITY_EFFECTINTERFACE_H__
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
|
||||
@@ -246,5 +245,3 @@ public:
|
||||
virtual bool HasOptions() = 0;
|
||||
virtual void ShowOptions() = 0;
|
||||
};
|
||||
|
||||
#endif // __AUDACITY_EFFECTINTERFACE_H__
|
||||
|
@@ -39,8 +39,7 @@
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef __AUDACITY_MODULEINTERFACE_H__
|
||||
#define __AUDACITY_MODULEINTERFACE_H__
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
@@ -177,5 +176,3 @@ void name::Unregister() \
|
||||
{ \
|
||||
UnregisterProvider(AudacityModule); \
|
||||
}
|
||||
|
||||
#endif // __AUDACITY_MODULEINTERFACE_H__
|
||||
|
@@ -39,8 +39,7 @@
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef __AUDACITY_PLUGININTERFACE_H__
|
||||
#define __AUDACITY_PLUGININTERFACE_H__
|
||||
#pragma once
|
||||
|
||||
#include "tenacity/ConfigInterface.h"
|
||||
#include "tenacity/EffectInterface.h"
|
||||
@@ -111,5 +110,3 @@ public:
|
||||
virtual bool RemovePrivateConfigSubgroup(const PluginID & ID, const RegistryPath & group) = 0;
|
||||
virtual bool RemovePrivateConfig(const PluginID & ID, const RegistryPath & group, const RegistryPath & key) = 0;
|
||||
};
|
||||
|
||||
#endif // __AUDACITY_PLUGININTERFACE_H__
|
||||
|
@@ -39,8 +39,7 @@
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef __AUDACITY_TYPES_H__
|
||||
#define __AUDACITY_TYPES_H__
|
||||
#pragma once
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
@@ -255,5 +254,3 @@ typedef enum
|
||||
ChannelNameBottomFrontLeft,
|
||||
ChannelNameBottomFrontRight,
|
||||
} ChannelName, *ChannelNames;
|
||||
|
||||
#endif // __AUDACITY_TYPES_H__
|
||||
|
Reference in New Issue
Block a user