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:
Pull Request resolved: facebook#41345

## 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

fbshipit-source-id: 0426deede5d9e5c552c92f8a25d30fe2274a1941
  • Loading branch information
rshest authored and facebook-github-bot committed Nov 7, 2023
1 parent d6e0bc7 commit d11d5f3
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 d11d5f3

Please sign in to comment.