Skip to content

Commit

Permalink
Expose EventEmitter::dispatchEvent APIs for all platforms (facebook#4…
Browse files Browse the repository at this point in the history
…1345)

Summary:

## Changelog:
[Internal] -

This API was already accessible on the Android platform, now other platforms (C++) would benefit from having it available as well.

Arguably, it's perfectly fine to have it as public class members - based on empiric experience with the use case we have had.

Reviewed By: christophpurrer

Differential Revision: D51031340
  • Loading branch information
rshest authored and facebook-github-bot committed Nov 7, 2023
1 parent d6e0bc7 commit 81a7d03
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,6 @@ class EventEmitter {

const SharedEventTarget& getEventTarget() const;

protected:
#ifdef ANDROID
// We need this temporarily due to lack of Java-counterparts for particular
// subclasses.
public:
#endif

/*
* Initiates an event delivery process.
* Is used by particular subclasses only.
Expand Down

0 comments on commit 81a7d03

Please sign in to comment.