mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 939569 - Part 1: Stop using #pragma once in webspeech code; r=smaug
This commit is contained in:
parent
81e39fb050
commit
33312a15be
@ -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 EnableWebSpeechRecognitionCheck_h
|
||||
#define EnableWebSpeechRecognitionCheck_h
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
@ -17,3 +18,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 mozilla_dom_SpeechGrammar_h
|
||||
#define mozilla_dom_SpeechGrammar_h
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsCycleCollectionParticipant.h"
|
||||
@ -55,3 +56,5 @@ private:
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#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 mozilla_dom_SpeechGrammarList_h
|
||||
#define mozilla_dom_SpeechGrammarList_h
|
||||
|
||||
#include "EnableWebSpeechRecognitionCheck.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
@ -59,3 +60,5 @@ private:
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#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 mozilla_dom_SpeechRecognition_h
|
||||
#define mozilla_dom_SpeechRecognition_h
|
||||
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "nsCOMPtr.h"
|
||||
@ -296,3 +297,5 @@ ToSupports(dom::SpeechRecognition* aRec)
|
||||
return ToSupports(static_cast<nsDOMEventTargetHelper*>(aRec));
|
||||
}
|
||||
} // namespace mozilla
|
||||
|
||||
#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 mozilla_dom_SpeechRecognitionAlternative_h
|
||||
#define mozilla_dom_SpeechRecognitionAlternative_h
|
||||
|
||||
#include "nsCycleCollectionParticipant.h"
|
||||
#include "nsString.h"
|
||||
@ -49,3 +50,5 @@ private:
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#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 mozilla_dom_SpeechRecognitionResult_h
|
||||
#define mozilla_dom_SpeechRecognitionResult_h
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsCycleCollectionParticipant.h"
|
||||
@ -52,3 +53,5 @@ private:
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#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 mozilla_dom_SpeechRecognitionResultList_h
|
||||
#define mozilla_dom_SpeechRecognitionResultList_h
|
||||
|
||||
#include "nsCycleCollectionParticipant.h"
|
||||
#include "nsWrapperCache.h"
|
||||
@ -51,3 +52,5 @@ private:
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#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 mozilla_dom_SpeechStreamListener_h
|
||||
#define mozilla_dom_SpeechStreamListener_h
|
||||
|
||||
#include "MediaStreamGraph.h"
|
||||
#include "AudioSegment.h"
|
||||
@ -39,3 +40,5 @@ private:
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#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 mozilla_dom_FakeSpeechRecognitionService_h
|
||||
#define mozilla_dom_FakeSpeechRecognitionService_h
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIObserver.h"
|
||||
@ -44,3 +45,5 @@ private:
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
||||
#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 mozilla_dom_EnableSpeechSynthesisCheck_h
|
||||
#define mozilla_dom_EnableSpeechSynthesisCheck_h
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
@ -19,3 +20,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 mozilla_dom_SpeechSynthesis_h
|
||||
#define mozilla_dom_SpeechSynthesis_h
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsString.h"
|
||||
@ -72,3 +73,5 @@ private:
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#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 mozilla_dom_SpeechSynthesisUtterance_h
|
||||
#define mozilla_dom_SpeechSynthesisUtterance_h
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsDOMEventTargetHelper.h"
|
||||
@ -118,3 +119,5 @@ private:
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#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 mozilla_dom_SpeechSynthesisVoice_h
|
||||
#define mozilla_dom_SpeechSynthesisVoice_h
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsString.h"
|
||||
@ -59,3 +60,5 @@ private:
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#endif
|
||||
|
@ -2,7 +2,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 mozilla_dom_SpeechSynthesisChild_h
|
||||
#define mozilla_dom_SpeechSynthesisChild_h
|
||||
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/dom/PSpeechSynthesisChild.h"
|
||||
@ -95,3 +96,5 @@ private:
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#endif
|
||||
|
@ -2,7 +2,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 mozilla_dom_SpeechSynthesisParent_h
|
||||
#define mozilla_dom_SpeechSynthesisParent_h
|
||||
|
||||
#include "mozilla/dom/PSpeechSynthesisParent.h"
|
||||
#include "mozilla/dom/PSpeechSynthesisRequestParent.h"
|
||||
@ -91,3 +92,5 @@ private:
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#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 mozilla_dom_nsSpeechTask_h
|
||||
#define mozilla_dom_nsSpeechTask_h
|
||||
|
||||
#include "MediaStreamGraph.h"
|
||||
#include "SpeechSynthesisUtterance.h"
|
||||
@ -88,3 +89,5 @@ private:
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#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 mozilla_dom_nsSynthVoiceRegistry_h
|
||||
#define mozilla_dom_nsSynthVoiceRegistry_h
|
||||
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsISynthVoiceRegistry.h"
|
||||
@ -75,3 +76,5 @@ private:
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#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 nsPicoService_h
|
||||
#define nsPicoService_h
|
||||
|
||||
#include "mozilla/Mutex.h"
|
||||
#include "nsAutoPtr.h"
|
||||
@ -85,3 +86,5 @@ private:
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user