Skip to content

Instantly share code, notes, and snippets.

@confile
Created June 3, 2015 16:47
Show Gist options
  • Save confile/a2bce4f160a4cd957ed1 to your computer and use it in GitHub Desktop.
Save confile/a2bce4f160a4cd957ed1 to your computer and use it in GitHub Desktop.
CurrentUserUpdatedEvent.h
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/buddyis-main/src/main/java/buddyis/core/app/events/CurrentUserUpdatedEvent.java
//
#ifndef _BuddyisCoreAppEventsCurrentUserUpdatedEvent_H_
#define _BuddyisCoreAppEventsCurrentUserUpdatedEvent_H_
#pragma clang diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "AbstractBEvent.h"
#include "BEventHandler.h"
#include "J2ObjC_header.h"
@protocol BuddyisCoreAppEventsCurrentUserUpdatedEvent_CurrentUserUpdatedHandler;
@protocol BuddyisCorePrototypeEventBusBHasHandlers;
/**
@brief This event is fired when the currentUser has changed.
This happens after a successful login.
@author Dr. Michael Gorski
*/
@interface BuddyisCoreAppEventsCurrentUserUpdatedEvent : BuddyisCorePrototypeEventBusAbstractBEvent
#pragma mark Public
- (instancetype)init;
+ (void)fireWithBuddyisCorePrototypeEventBusBHasHandlers:(id<BuddyisCorePrototypeEventBusBHasHandlers>)source;
- (BuddyisCorePrototypeEventBusAbstractBEvent_Type *)getAssociatedType;
+ (BuddyisCorePrototypeEventBusAbstractBEvent_Type *)getType;
#pragma mark Protected
- (void)dispatchWithId:(id<BuddyisCoreAppEventsCurrentUserUpdatedEvent_CurrentUserUpdatedHandler>)handler;
@end
J2OBJC_STATIC_INIT(BuddyisCoreAppEventsCurrentUserUpdatedEvent)
FOUNDATION_EXPORT BuddyisCorePrototypeEventBusAbstractBEvent_Type *BuddyisCoreAppEventsCurrentUserUpdatedEvent_TYPE_;
J2OBJC_STATIC_FIELD_GETTER(BuddyisCoreAppEventsCurrentUserUpdatedEvent, TYPE_, BuddyisCorePrototypeEventBusAbstractBEvent_Type *)
J2OBJC_STATIC_FIELD_SETTER(BuddyisCoreAppEventsCurrentUserUpdatedEvent, TYPE_, BuddyisCorePrototypeEventBusAbstractBEvent_Type *)
FOUNDATION_EXPORT BuddyisCorePrototypeEventBusAbstractBEvent_Type *BuddyisCoreAppEventsCurrentUserUpdatedEvent_getType();
FOUNDATION_EXPORT void BuddyisCoreAppEventsCurrentUserUpdatedEvent_fireWithBuddyisCorePrototypeEventBusBHasHandlers_(id<BuddyisCorePrototypeEventBusBHasHandlers> source);
FOUNDATION_EXPORT void BuddyisCoreAppEventsCurrentUserUpdatedEvent_init(BuddyisCoreAppEventsCurrentUserUpdatedEvent *self);
FOUNDATION_EXPORT BuddyisCoreAppEventsCurrentUserUpdatedEvent *new_BuddyisCoreAppEventsCurrentUserUpdatedEvent_init() NS_RETURNS_RETAINED;
J2OBJC_TYPE_LITERAL_HEADER(BuddyisCoreAppEventsCurrentUserUpdatedEvent)
@protocol BuddyisCoreAppEventsCurrentUserUpdatedEvent_CurrentUserUpdatedHandler < BuddyisCorePrototypeEventBusBEventHandler, NSObject, JavaObject >
- (void)onCurrentUserUpdatedWithBuddyisCoreAppEventsCurrentUserUpdatedEvent:(BuddyisCoreAppEventsCurrentUserUpdatedEvent *)event;
@end
J2OBJC_EMPTY_STATIC_INIT(BuddyisCoreAppEventsCurrentUserUpdatedEvent_CurrentUserUpdatedHandler)
J2OBJC_TYPE_LITERAL_HEADER(BuddyisCoreAppEventsCurrentUserUpdatedEvent_CurrentUserUpdatedHandler)
#pragma clang diagnostic pop
#endif // _BuddyisCoreAppEventsCurrentUserUpdatedEvent_H_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment