Convert to pragma once

This commit is contained in:
Jack Andersen
2018-10-06 17:40:25 -10:00
parent 4c7971f53a
commit dbd48a39cc
58 changed files with 58 additions and 174 deletions

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_AUDIOUNIT_CONTAININGAPP_HPP__ #pragma once
#define __AMUSE_AUDIOUNIT_CONTAININGAPP_HPP__
#import <AppKit/AppKit.h> #import <AppKit/AppKit.h>
#import "AudioGroupFilePresenter.hpp" #import "AudioGroupFilePresenter.hpp"
@@ -58,4 +57,3 @@
- (void)startSample:(int)sampId; - (void)startSample:(int)sampId;
@end @end
#endif // __AMUSE_AUDIOUNIT_CONTAININGAPP_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_AUDIOUNIT_AUDIOGROUPFILEPRESENTER_HPP__ #pragma once
#define __AMUSE_AUDIOUNIT_AUDIOGROUPFILEPRESENTER_HPP__
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#import <AppKit/AppKit.h> #import <AppKit/AppKit.h>
@@ -166,4 +165,3 @@ initWithName:(NSAttributedString*)name
- (void)removeSelectedItem; - (void)removeSelectedItem;
@end @end
#endif // __AMUSE_AUDIOUNIT_AUDIOGROUPFILEPRESENTER_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_AUDIOUNIT_BACKEND_HPP__ #pragma once
#define __AMUSE_AUDIOUNIT_BACKEND_HPP__
#ifdef __APPLE__ #ifdef __APPLE__
#include <Availability.h> #include <Availability.h>
@@ -52,4 +51,3 @@ void RegisterAudioUnit();
#endif #endif
#endif #endif
#endif // __AMUSE_AUDIOUNIT_BACKEND_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_AUDIOUNIT_VIEWCONTROLLER_HPP__ #pragma once
#define __AMUSE_AUDIOUNIT_VIEWCONTROLLER_HPP__
#import <CoreAudioKit/CoreAudioKit.h> #import <CoreAudioKit/CoreAudioKit.h>
#import "AudioGroupFilePresenter.hpp" #import "AudioGroupFilePresenter.hpp"
@@ -22,4 +21,3 @@
} }
@end @end
#endif // __AMUSE_AUDIOUNIT_VIEWCONTROLLER_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_ADSR_EDITOR_HPP #pragma once
#define AMUSE_ADSR_EDITOR_HPP
#include "EditorWidget.hpp" #include "EditorWidget.hpp"
#include <QFrame> #include <QFrame>
@@ -81,4 +80,3 @@ public:
}; };
#endif //AMUSE_ADSR_EDITOR_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_COMMON_HPP #pragma once
#define AMUSE_COMMON_HPP
#include "boo/System.hpp" #include "boo/System.hpp"
#include <QString> #include <QString>
@@ -65,4 +64,3 @@ template<> struct hash<QString>
}; };
} }
#endif //AMUSE_COMMON_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_CURVE_EDITOR_HPP #pragma once
#define AMUSE_CURVE_EDITOR_HPP
#include "EditorWidget.hpp" #include "EditorWidget.hpp"
#include <QFrame> #include <QFrame>
@@ -63,4 +62,3 @@ public:
ProjectModel::INode* currentNode() const; ProjectModel::INode* currentNode() const;
}; };
#endif //AMUSE_CURVE_EDITOR_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_EDITOR_WIDGET_HPP #pragma once
#define AMUSE_EDITOR_WIDGET_HPP
#include <QWidget> #include <QWidget>
#include <QUndoCommand> #include <QUndoCommand>
@@ -251,4 +250,3 @@ private slots:
void doFindUsages(); void doFindUsages();
}; };
#endif //AMUSE_EDITOR_WIDGET_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_KEYBOARD_WIDGET_HPP #pragma once
#define AMUSE_KEYBOARD_WIDGET_HPP
#include <QWidget> #include <QWidget>
#include <QSvgWidget> #include <QSvgWidget>
@@ -103,4 +102,3 @@ public:
void wheelEvent(QWheelEvent* ev) { ev->ignore(); } void wheelEvent(QWheelEvent* ev) { ev->ignore(); }
}; };
#endif //AMUSE_KEYBOARD_WIDGET_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_KEYMAP_EDITOR_HPP #pragma once
#define AMUSE_KEYMAP_EDITOR_HPP
#include "EditorWidget.hpp" #include "EditorWidget.hpp"
#include <QFrame> #include <QFrame>
@@ -106,4 +105,3 @@ public:
void keyPressEvent(QKeyEvent* event); void keyPressEvent(QKeyEvent* event);
}; };
#endif //AMUSE_KEYMAP_EDITOR_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_LAYERS_EDITOR_HPP #pragma once
#define AMUSE_LAYERS_EDITOR_HPP
#include "EditorWidget.hpp" #include "EditorWidget.hpp"
#include <QAbstractTableModel> #include <QAbstractTableModel>
@@ -89,4 +88,3 @@ private slots:
void itemDeleteAction(); void itemDeleteAction();
}; };
#endif //AMUSE_LAYERS_EDITOR_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_MIDI_READER_HPP #pragma once
#define AMUSE_MIDI_READER_HPP
#include "amuse/Voice.hpp" #include "amuse/Voice.hpp"
#include "amuse/BooBackend.hpp" #include "amuse/BooBackend.hpp"
@@ -49,4 +48,3 @@ public:
std::unique_ptr<amuse::IMIDIReader> allocateMIDIReader(amuse::Engine& engine); std::unique_ptr<amuse::IMIDIReader> allocateMIDIReader(amuse::Engine& engine);
}; };
#endif // AMUSE_MIDI_READER_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_MAINWINDOW_HPP #pragma once
#define AMUSE_MAINWINDOW_HPP
#include <QMainWindow> #include <QMainWindow>
#include <QUndoStack> #include <QUndoStack>
@@ -306,4 +305,3 @@ public slots:
}; };
#endif //AMUSE_MAINWINDOW_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_NEW_SOUND_MACRO_DIALOG_HPP #pragma once
#define AMUSE_NEW_SOUND_MACRO_DIALOG_HPP
#include <QDialog> #include <QDialog>
#include <QLineEdit> #include <QLineEdit>
@@ -25,4 +24,3 @@ public:
const SoundMacroTemplateEntry* getSelectedTemplate() const; const SoundMacroTemplateEntry* getSelectedTemplate() const;
}; };
#endif // AMUSE_NEW_SOUND_MACRO_DIALOG_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_PROJECT_MODEL_HPP #pragma once
#define AMUSE_PROJECT_MODEL_HPP
#include <QAbstractItemModel> #include <QAbstractItemModel>
#include <QIdentityProxyModel> #include <QIdentityProxyModel>
@@ -513,4 +512,3 @@ public:
}; };
#endif //AMUSE_PROJECT_MODEL_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_SAMPLE_EDITOR_HPP #pragma once
#define AMUSE_SAMPLE_EDITOR_HPP
#include "EditorWidget.hpp" #include "EditorWidget.hpp"
#include "ProjectModel.hpp" #include "ProjectModel.hpp"
@@ -113,4 +112,3 @@ public:
}; };
#endif //AMUSE_SAMPLE_EDITOR_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_SONG_GROUP_EDITOR_HPP #pragma once
#define AMUSE_SONG_GROUP_EDITOR_HPP
#include "EditorWidget.hpp" #include "EditorWidget.hpp"
#include <QTabWidget> #include <QTabWidget>
@@ -298,4 +297,3 @@ private slots:
void itemDeleteAction(); void itemDeleteAction();
}; };
#endif //AMUSE_SONG_GROUP_EDITOR_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_SOUND_GROUP_EDITOR_HPP #pragma once
#define AMUSE_SOUND_GROUP_EDITOR_HPP
#include "EditorWidget.hpp" #include "EditorWidget.hpp"
#include <QStyledItemDelegate> #include <QStyledItemDelegate>
@@ -130,4 +129,3 @@ private slots:
void itemDeleteAction(); void itemDeleteAction();
}; };
#endif //AMUSE_SOUND_GROUP_EDITOR_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_SOUND_MACRO_EDITOR_HPP #pragma once
#define AMUSE_SOUND_MACRO_EDITOR_HPP
#include "EditorWidget.hpp" #include "EditorWidget.hpp"
#include <QStaticText> #include <QStaticText>
@@ -187,4 +186,3 @@ public slots:
}; };
#endif //AMUSE_SOUND_MACRO_EDITOR_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_STATUSBAR_WIDGET_HPP #pragma once
#define AMUSE_STATUSBAR_WIDGET_HPP
#include <QStatusBar> #include <QStatusBar>
#include <QLabel> #include <QLabel>
@@ -74,4 +73,3 @@ public:
void exit(); void exit();
}; };
#endif //AMUSE_STATUSBAR_WIDGET_HPP

View File

@@ -1,5 +1,4 @@
#ifndef AMUSE_STUDIO_SETUP_WIDGET_HPP #pragma once
#define AMUSE_STUDIO_SETUP_WIDGET_HPP
#include "EditorWidget.hpp" #include "EditorWidget.hpp"
#include <QWidget> #include <QWidget>
@@ -202,4 +201,3 @@ signals:
void shown(); void shown();
}; };
#endif // AMUSE_STUDIO_SETUP_WIDGET_HPP

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_AUDIOGROUPFILEPRESENTER_HPP__ #pragma once
#define __AMUSE_AUDIOGROUPFILEPRESENTER_HPP__
#include <map> #include <map>
#include <memory> #include <memory>
@@ -113,4 +112,3 @@ public:
}; };
} }
#endif // __AMUSE_AUDIOGROUPFILEPRESENTER_HPP__

View File

@@ -1,8 +1,6 @@
#ifndef __AMUSE_FILEOPENDIALOG_HPP__ #pragma once
#define __AMUSE_FILEOPENDIALOG_HPP__
#include <string> #include <string>
std::wstring openDB(); std::wstring openDB();
#endif // __AMUSE_FILEOPENDIALOG_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_VSTBACKEND_HPP__ #pragma once
#define __AMUSE_VSTBACKEND_HPP__
#include "audioeffectx.h" #include "audioeffectx.h"
#include "VSTEditor.hpp" #include "VSTEditor.hpp"
@@ -74,4 +73,3 @@ public:
}; };
} }
#endif // __AMUSE_VSTBACKEND_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_VSTEDITOR_HPP__ #pragma once
#define __AMUSE_VSTEDITOR_HPP__
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
@@ -61,4 +60,3 @@ public:
}; };
} }
#endif // __AMUSE_VSTEDITOR_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_AUDIOGROUP_HPP__ #pragma once
#define __AMUSE_AUDIOGROUP_HPP__
#include "AudioGroupPool.hpp" #include "AudioGroupPool.hpp"
#include "AudioGroupProject.hpp" #include "AudioGroupProject.hpp"
@@ -116,4 +115,3 @@ public:
}; };
} }
#endif // __AMUSE_AUDIOGROUP_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_AUDIOGROUPDATA_HPP__ #pragma once
#define __AMUSE_AUDIOGROUPDATA_HPP__
#include "Common.hpp" #include "Common.hpp"
@@ -123,4 +122,3 @@ public:
}; };
} }
#endif // __AMUSE_AUDIOGROUPDATA_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_AUDIOGROUPPOOL_HPP__ #pragma once
#define __AMUSE_AUDIOGROUPPOOL_HPP__
#include <cstdint> #include <cstdint>
#include <vector> #include <vector>
@@ -1459,4 +1458,3 @@ public:
}; };
} }
#endif // __AMUSE_AUDIOGROUPPOOL_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_AUDIOGROUPPROJECT_HPP__ #pragma once
#define __AMUSE_AUDIOGROUPPROJECT_HPP__
#include "Entity.hpp" #include "Entity.hpp"
#include "Common.hpp" #include "Common.hpp"
@@ -226,4 +225,3 @@ public:
}; };
} }
#endif // __AMUSE_AUDIOGROUPPROJECT_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_AUDIOGROUPSAMPLEDIR_HPP__ #pragma once
#define __AMUSE_AUDIOGROUPSAMPLEDIR_HPP__
#include <unordered_map> #include <unordered_map>
#include <cstdint> #include <cstdint>
@@ -383,4 +382,3 @@ using SampleEntry = AudioGroupSampleDirectory::Entry;
using SampleEntryData = AudioGroupSampleDirectory::EntryData; using SampleEntryData = AudioGroupSampleDirectory::EntryData;
} }
#endif // __AMUSE_AUDIOGROUPSAMPLEDIR_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_BOO_BACKEND_HPP__ #pragma once
#define __AMUSE_BOO_BACKEND_HPP__
#include <boo/audiodev/IAudioVoiceEngine.hpp> #include <boo/audiodev/IAudioVoiceEngine.hpp>
#include <boo/audiodev/IAudioSubmix.hpp> #include <boo/audiodev/IAudioSubmix.hpp>
@@ -144,4 +143,3 @@ public:
}; };
} }
#endif // __AMUSE_BOO_BACKEND_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_COMMON_HPP__ #pragma once
#define __AMUSE_COMMON_HPP__
#include <algorithm> #include <algorithm>
#include <limits> #include <limits>
@@ -676,4 +675,3 @@ struct NameDB
}; };
} }
#endif // __AMUSE_COMMON_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_CONTAINERREGISTRY_HPP__ #pragma once
#define __AMUSE_CONTAINERREGISTRY_HPP__
#include "AudioGroupData.hpp" #include "AudioGroupData.hpp"
#include "Common.hpp" #include "Common.hpp"
@@ -45,4 +44,3 @@ public:
}; };
} }
#endif // __AMUSE_CONTAINERREGISTRY_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef _DSPCODEC_h #pragma once
#define _DSPCODEC_h
#include <cstdint> #include <cstdint>
#include <cfloat> #include <cfloat>
@@ -37,4 +36,3 @@ void DSPCorrelateCoefs(const short* source, int samples, short coefsOut[8][2]);
void DSPEncodeFrame(short pcmInOut[16], int sampleCount, unsigned char adpcmOut[8], const short coefsIn[8][2]); void DSPEncodeFrame(short pcmInOut[16], int sampleCount, unsigned char adpcmOut[8], const short coefsIn[8][2]);
#endif // _DSPCODEC_h

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_DIRECTORY_ENUMERATOR__ #pragma once
#define __AMUSE_DIRECTORY_ENUMERATOR__
#include "Common.hpp" #include "Common.hpp"
#include <vector> #include <vector>
@@ -65,4 +64,3 @@ public:
}; };
} }
#endif // __AMUSE_DIRECTORY_ENUMERATOR__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_EFFECTBASE_HPP__ #pragma once
#define __AMUSE_EFFECTBASE_HPP__
#include <cstdint> #include <cstdint>
#include <cstdlib> #include <cstdlib>
@@ -34,4 +33,3 @@ public:
}; };
} }
#endif // __AMUSE_EFFECTBASE_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_EFFECTCHORUS_HPP__ #pragma once
#define __AMUSE_EFFECTCHORUS_HPP__
#include "EffectBase.hpp" #include "EffectBase.hpp"
#include "Common.hpp" #include "Common.hpp"
@@ -123,4 +122,3 @@ public:
}; };
} }
#endif // __AMUSE_EFFECTCHORUS_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_EFFECTDELAY_HPP__ #pragma once
#define __AMUSE_EFFECTDELAY_HPP__
#include "EffectBase.hpp" #include "EffectBase.hpp"
#include "IBackendVoice.hpp" #include "IBackendVoice.hpp"
@@ -142,4 +141,3 @@ public:
}; };
} }
#endif // __AMUSE_EFFECTDELAY_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_EFFECTREVERB_HPP__ #pragma once
#define __AMUSE_EFFECTREVERB_HPP__
#include "EffectBase.hpp" #include "EffectBase.hpp"
#include "amuse/Common.hpp" #include "amuse/Common.hpp"
@@ -220,4 +219,3 @@ public:
}; };
} }
#endif // __AMUSE_EFFECTREVERB_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_EMITTER_HPP__ #pragma once
#define __AMUSE_EMITTER_HPP__
#include "Entity.hpp" #include "Entity.hpp"
#include "Common.hpp" #include "Common.hpp"
@@ -64,4 +63,3 @@ public:
}; };
} }
#endif // __AMUSE_EMITTER_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_ENGINE_HPP__ #pragma once
#define __AMUSE_ENGINE_HPP__
#include <memory> #include <memory>
#include <list> #include <list>
@@ -195,4 +194,3 @@ public:
}; };
} }
#endif // __AMUSE_ENGINE_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_ENTITY_HPP__ #pragma once
#define __AMUSE_ENTITY_HPP__
#include <cstdint> #include <cstdint>
#include <functional> #include <functional>
@@ -50,4 +49,3 @@ public:
} }
#endif // __AMUSE_ENTITY_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_ENVELOPE_HPP__ #pragma once
#define __AMUSE_ENVELOPE_HPP__
#include "AudioGroupPool.hpp" #include "AudioGroupPool.hpp"
@@ -42,4 +41,3 @@ public:
}; };
} }
#endif // __AMUSE_ENVELOPE_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_IBACKENDSUBMIX_HPP__ #pragma once
#define __AMUSE_IBACKENDSUBMIX_HPP__
#include <memory> #include <memory>
@@ -32,4 +31,3 @@ public:
}; };
} }
#endif // __AMUSE_IBACKENDSUBMIX_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_IBACKENDVOICE_HPP__ #pragma once
#define __AMUSE_IBACKENDVOICE_HPP__
namespace amuse namespace amuse
{ {
@@ -52,4 +51,3 @@ public:
}; };
} }
#endif // __AMUSE_IBACKENDVOICE_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_IBACKENDVOICEALLOCATOR_HPP__ #pragma once
#define __AMUSE_IBACKENDVOICEALLOCATOR_HPP__
#include <memory> #include <memory>
#include <functional> #include <functional>
@@ -60,4 +59,3 @@ public:
}; };
} }
#endif // __AMUSE_IBACKENDVOICEALLOCATOR_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_LISTENER_HPP__ #pragma once
#define __AMUSE_LISTENER_HPP__
#include "amuse/Emitter.hpp" #include "amuse/Emitter.hpp"
@@ -27,4 +26,3 @@ public:
}; };
} }
#endif // __AMUSE_LISTENER_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef _N64MUSYXCODEC_h #pragma once
#define _N64MUSYXCODEC_h
#include <cstdint> #include <cstdint>
@@ -18,4 +17,3 @@ unsigned N64MusyXDecompressFrameRanged(int16_t* out, const uint8_t* in,
const int16_t coefs[8][2][8], const int16_t coefs[8][2][8],
unsigned firstSample, unsigned lastSample); unsigned firstSample, unsigned lastSample);
#endif // _N64MUSYXCODEC_h

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_SEQUENCER_HPP__ #pragma once
#define __AMUSE_SEQUENCER_HPP__
#include "Entity.hpp" #include "Entity.hpp"
#include "AudioGroupProject.hpp" #include "AudioGroupProject.hpp"
@@ -166,4 +165,3 @@ public:
}; };
} }
#endif // __AMUSE_SEQUENCER_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_SONGCONVERTER_HPP__ #pragma once
#define __AMUSE_SONGCONVERTER_HPP__
#include <vector> #include <vector>
#include <cstdint> #include <cstdint>
@@ -15,4 +14,3 @@ public:
}; };
} }
#endif // __AMUSE_SONGCONVERTER_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_SONGSTATE_HPP__ #pragma once
#define __AMUSE_SONGSTATE_HPP__
#include <cstdint> #include <cstdint>
#include <vector> #include <vector>
@@ -137,4 +136,3 @@ public:
}; };
} }
#endif // __AMUSE_SONGSTATE_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_SOUNDMACROSTATE_HPP__ #pragma once
#define __AMUSE_SOUNDMACROSTATE_HPP__
#include <cstdint> #include <cstdint>
#include <vector> #include <vector>
@@ -143,4 +142,3 @@ public:
}; };
} }
#endif // __AMUSE_SOUNDMACROSTATE_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_STUDIO_HPP__ #pragma once
#define __AMUSE_STUDIO_HPP__
#include <memory> #include <memory>
#include <list> #include <list>
@@ -54,4 +53,3 @@ struct StudioSend
} }
#endif // __AMUSE_STUDIO_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_SUBMIX_HPP__ #pragma once
#define __AMUSE_SUBMIX_HPP__
#include <memory> #include <memory>
#include "SoundMacroState.hpp" #include "SoundMacroState.hpp"
@@ -111,4 +110,3 @@ public:
}; };
} }
#endif // __AMUSE_SUBMIX_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_VOICE_HPP__ #pragma once
#define __AMUSE_VOICE_HPP__
#include <cstdint> #include <cstdint>
#include <cstdlib> #include <cstdlib>
@@ -393,4 +392,3 @@ public:
}; };
} }
#endif // __AMUSE_VOICE_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_VOLUME_TABLE_HPP__ #pragma once
#define __AMUSE_VOLUME_TABLE_HPP__
namespace amuse namespace amuse
{ {
@@ -7,4 +6,3 @@ float LookupVolume(float vol);
float LookupDLSVolume(float vol); float LookupDLSVolume(float vol);
} }
#endif // __AMUSE_VOLUME_TABLE_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef __AMUSE_AMUSE_HPP__ #pragma once
#define __AMUSE_AMUSE_HPP__
#include "AudioGroup.hpp" #include "AudioGroup.hpp"
@@ -22,4 +21,3 @@
#include "Submix.hpp" #include "Submix.hpp"
#include "Voice.hpp" #include "Voice.hpp"
#endif // __AMUSE_AMUSE_HPP__

View File

@@ -1,5 +1,4 @@
#ifndef SWITCH_MATH_HPP #pragma once
#define SWITCH_MATH_HPP
/* Properly forward math defines to std:: */ /* Properly forward math defines to std:: */
#ifdef __SWITCH__ #ifdef __SWITCH__
@@ -19,4 +18,3 @@ namespace std
} }
#endif #endif
#endif //TEST_SWITCH_MATH_HPP