1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-14 22:51:11 +02:00

Revert "Replace header guards with #pragma once"

This reverts commit a6bc896e24.
This commit is contained in:
Emily Mabrey
2021-08-24 16:57:24 -04:00
parent 669254d5a5
commit 40d4883233
415 changed files with 1685 additions and 429 deletions

View File

@@ -39,7 +39,8 @@
**********************************************************************/
#pragma once
#ifndef __AUDACITY_COMPONENT_INTERFACE_H__
#define __AUDACITY_COMPONENT_INTERFACE_H__
#include "Identifier.h"
#include "tenacity/Types.h"
@@ -83,3 +84,5 @@ public:
// Parameters, if defined. false means no defined parameters.
virtual bool DefineParams( ShuttleParams & WXUNUSED(S) ){ return false;};
};
#endif // __AUDACITY_IDENTINTERFACE_H__

View File

@@ -39,7 +39,8 @@
**********************************************************************/
#pragma once
#ifndef __AUDACITY_CONFIGINTERFACE_H__
#define __AUDACITY_CONFIGINTERFACE_H__
#include "Identifier.h"
@@ -93,3 +94,5 @@ public:
virtual bool RemovePrivateConfigSubgroup(const RegistryPath & group) = 0;
virtual bool RemovePrivateConfig(const RegistryPath & group, const RegistryPath & key) = 0;
};
#endif // __AUDACITY_CONFIGINTERFACE_H__

View File

@@ -40,7 +40,8 @@
**********************************************************************/
#pragma once
#ifndef __AUDACITY_COMMAND_PARAMETERS_H__
#define __AUDACITY_COMMAND_PARAMETERS_H__
#include <locale.h>
@@ -337,3 +338,5 @@ public:
return val;
}
};
#endif

View File

@@ -39,7 +39,8 @@
**********************************************************************/
#pragma once
#ifndef __AUDACITY_EFFECTINTERFACE_H__
#define __AUDACITY_EFFECTINTERFACE_H__
#include <functional>
@@ -245,3 +246,5 @@ public:
virtual bool HasOptions() = 0;
virtual void ShowOptions() = 0;
};
#endif // __AUDACITY_EFFECTINTERFACE_H__

View File

@@ -39,7 +39,8 @@
**********************************************************************/
#pragma once
#ifndef __AUDACITY_MODULEINTERFACE_H__
#define __AUDACITY_MODULEINTERFACE_H__
#include <functional>
#include <memory>
@@ -176,3 +177,5 @@ void name::Unregister() \
{ \
UnregisterProvider(AudacityModule); \
}
#endif // __AUDACITY_MODULEINTERFACE_H__

View File

@@ -39,7 +39,8 @@
**********************************************************************/
#pragma once
#ifndef __AUDACITY_PLUGININTERFACE_H__
#define __AUDACITY_PLUGININTERFACE_H__
#include "tenacity/ConfigInterface.h"
#include "tenacity/EffectInterface.h"
@@ -110,3 +111,5 @@ 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__

View File

@@ -39,7 +39,8 @@
**********************************************************************/
#pragma once
#ifndef __AUDACITY_TYPES_H__
#define __AUDACITY_TYPES_H__
#include <algorithm>
#include <functional>
@@ -254,3 +255,5 @@ typedef enum
ChannelNameBottomFrontLeft,
ChannelNameBottomFrontRight,
} ChannelName, *ChannelNames;
#endif // __AUDACITY_TYPES_H__