electron_api_event_emitter.h 565 B

123456789101112131415161718192021
  1. // Copyright (c) 2019 Slack Technologies, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_EVENT_EMITTER_H_
  5. #define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_EVENT_EMITTER_H_
  6. namespace v8 {
  7. template <typename T>
  8. class Local;
  9. class Object;
  10. class Isolate;
  11. } // namespace v8
  12. namespace electron {
  13. v8::Local<v8::Object> GetEventEmitterPrototype(v8::Isolate* isolate);
  14. } // namespace electron
  15. #endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_EVENT_EMITTER_H_