Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- class EventSource {
- public: __event void MouseMoved(int x, int y);
- public: void Fire() {
- MouseMoved(12, 34);
- }
- };
- int main() {
- EventSource s;
- s.Fire();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement