зеркало из https://github.com/mozilla/gecko-dev.git
Use #include guards in the web audio code, no bug
This commit is contained in:
Родитель
66233c13f2
Коммит
a55072e646
|
@ -4,7 +4,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#pragma once
|
||||
#ifndef AudioBuffer_h_
|
||||
#define AudioBuffer_h_
|
||||
|
||||
#include "nsWrapperCache.h"
|
||||
#include "nsCycleCollectionParticipant.h"
|
||||
|
@ -81,3 +82,5 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#pragma once
|
||||
#ifndef AudioBufferSourceNode_h_
|
||||
#define AudioBufferSourceNode_h_
|
||||
|
||||
#include "AudioSourceNode.h"
|
||||
#include "AudioBuffer.h"
|
||||
|
@ -39,3 +40,5 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#pragma once
|
||||
#ifndef AudioContext_h_
|
||||
#define AudioContext_h_
|
||||
|
||||
#include "nsWrapperCache.h"
|
||||
#include "nsCycleCollectionParticipant.h"
|
||||
|
@ -68,3 +69,5 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#pragma once
|
||||
#ifndef AudioDestinationNode_h_
|
||||
#define AudioDestinationNode_h_
|
||||
|
||||
#include "AudioNode.h"
|
||||
|
||||
|
@ -37,3 +38,5 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#pragma once
|
||||
#ifndef AudioEventTimeline_h_
|
||||
#define AudioEventTimeline_h_
|
||||
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/FloatingPoint.h"
|
||||
|
@ -372,3 +373,5 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#pragma once
|
||||
#ifndef AudioNode_h_
|
||||
#define AudioNode_h_
|
||||
|
||||
#include "nsWrapperCache.h"
|
||||
#include "nsCycleCollectionParticipant.h"
|
||||
|
@ -128,3 +129,5 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#pragma once
|
||||
#ifndef AudioParam_h_
|
||||
#define AudioParam_h_
|
||||
|
||||
#include "AudioEventTimeline.h"
|
||||
#include "nsWrapperCache.h"
|
||||
|
@ -114,3 +115,5 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#pragma once
|
||||
#ifndef AudioSourceNode_h_
|
||||
#define AudioSourceNode_h_
|
||||
|
||||
#include "AudioNode.h"
|
||||
|
||||
|
@ -32,3 +33,5 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#pragma once
|
||||
#ifndef EnableWebAudioCheck_h_
|
||||
#define EnableWebAudioCheck_h_
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
@ -19,3 +20,5 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче