Created
June 3, 2015 16:48
-
-
Save confile/70a16bba4947b9b27034 to your computer and use it in GitHub Desktop.
CurrentUserUpdatedEvent.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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 | |
// | |
#include "AbstractBEvent.h" | |
#include "BHasHandlers.h" | |
#include "CurrentUserUpdatedEvent.h" | |
#include "J2ObjC_source.h" | |
#pragma clang diagnostic push | |
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" | |
@interface BuddyisCoreAppEventsCurrentUserUpdatedEvent_CurrentUserUpdatedHandler : NSObject | |
@end | |
J2OBJC_INITIALIZED_DEFN(BuddyisCoreAppEventsCurrentUserUpdatedEvent) | |
BuddyisCorePrototypeEventBusAbstractBEvent_Type *BuddyisCoreAppEventsCurrentUserUpdatedEvent_TYPE_; | |
@implementation BuddyisCoreAppEventsCurrentUserUpdatedEvent | |
- (BuddyisCorePrototypeEventBusAbstractBEvent_Type *)getAssociatedType { | |
return BuddyisCoreAppEventsCurrentUserUpdatedEvent_TYPE_; | |
} | |
+ (BuddyisCorePrototypeEventBusAbstractBEvent_Type *)getType { | |
return BuddyisCoreAppEventsCurrentUserUpdatedEvent_getType(); | |
} | |
- (void)dispatchWithId:(id<BuddyisCoreAppEventsCurrentUserUpdatedEvent_CurrentUserUpdatedHandler>)handler { | |
[((id<BuddyisCoreAppEventsCurrentUserUpdatedEvent_CurrentUserUpdatedHandler>) nil_chk(handler)) onCurrentUserUpdatedWithBuddyisCoreAppEventsCurrentUserUpdatedEvent:self]; | |
} | |
+ (void)fireWithBuddyisCorePrototypeEventBusBHasHandlers:(id<BuddyisCorePrototypeEventBusBHasHandlers>)source { | |
BuddyisCoreAppEventsCurrentUserUpdatedEvent_fireWithBuddyisCorePrototypeEventBusBHasHandlers_(source); | |
} | |
- (instancetype)init { | |
BuddyisCoreAppEventsCurrentUserUpdatedEvent_init(self); | |
return self; | |
} | |
+ (void)initialize { | |
if (self == [BuddyisCoreAppEventsCurrentUserUpdatedEvent class]) { | |
BuddyisCoreAppEventsCurrentUserUpdatedEvent_TYPE_ = new_BuddyisCorePrototypeEventBusAbstractBEvent_Type_init(); | |
J2OBJC_SET_INITIALIZED(BuddyisCoreAppEventsCurrentUserUpdatedEvent) | |
} | |
} | |
+ (const J2ObjcClassInfo *)__metadata { | |
static const J2ObjcMethodInfo methods[] = { | |
{ "getAssociatedType", NULL, "Lbuddyis.core.prototype.eventBus.AbstractBEvent$Type;", 0x1, NULL, NULL }, | |
{ "getType", NULL, "Lbuddyis.core.prototype.eventBus.AbstractBEvent$Type;", 0x9, NULL, NULL }, | |
{ "dispatchWithId:", "dispatch", "V", 0x4, NULL, NULL }, | |
{ "fireWithBuddyisCorePrototypeEventBusBHasHandlers:", "fire", "V", 0x9, NULL, NULL }, | |
{ "init", NULL, NULL, 0x1, NULL, NULL }, | |
}; | |
static const J2ObjcFieldInfo fields[] = { | |
{ "TYPE_", NULL, 0x9, "Lbuddyis.core.prototype.eventBus.AbstractBEvent$Type;", &BuddyisCoreAppEventsCurrentUserUpdatedEvent_TYPE_, "Lbuddyis/core/prototype/eventBus/AbstractBEvent$Type<Lbuddyis/core/app/events/CurrentUserUpdatedEvent$CurrentUserUpdatedHandler;>;", }, | |
}; | |
static const char *superclass_type_args[] = {"Lbuddyis.core.app.events.CurrentUserUpdatedEvent$CurrentUserUpdatedHandler;"}; | |
static const char *inner_classes[] = {"Lbuddyis.core.app.events.CurrentUserUpdatedEvent$CurrentUserUpdatedHandler;"}; | |
static const J2ObjcClassInfo _BuddyisCoreAppEventsCurrentUserUpdatedEvent = { 2, "CurrentUserUpdatedEvent", "buddyis.core.app.events", NULL, 0x1, 5, methods, 1, fields, 1, superclass_type_args, 1, inner_classes, NULL, "Lbuddyis/core/prototype/eventBus/AbstractBEvent<Lbuddyis/core/app/events/CurrentUserUpdatedEvent$CurrentUserUpdatedHandler;>;" }; | |
return &_BuddyisCoreAppEventsCurrentUserUpdatedEvent; | |
} | |
@end | |
BuddyisCorePrototypeEventBusAbstractBEvent_Type *BuddyisCoreAppEventsCurrentUserUpdatedEvent_getType() { | |
BuddyisCoreAppEventsCurrentUserUpdatedEvent_initialize(); | |
return BuddyisCoreAppEventsCurrentUserUpdatedEvent_TYPE_; | |
} | |
void BuddyisCoreAppEventsCurrentUserUpdatedEvent_fireWithBuddyisCorePrototypeEventBusBHasHandlers_(id<BuddyisCorePrototypeEventBusBHasHandlers> source) { | |
BuddyisCoreAppEventsCurrentUserUpdatedEvent_initialize(); | |
[((id<BuddyisCorePrototypeEventBusBHasHandlers>) nil_chk(source)) fireEventWithBuddyisCorePrototypeEventBusAbstractBEvent:new_BuddyisCoreAppEventsCurrentUserUpdatedEvent_init()]; | |
} | |
void BuddyisCoreAppEventsCurrentUserUpdatedEvent_init(BuddyisCoreAppEventsCurrentUserUpdatedEvent *self) { | |
(void) BuddyisCorePrototypeEventBusAbstractBEvent_init(self); | |
} | |
BuddyisCoreAppEventsCurrentUserUpdatedEvent *new_BuddyisCoreAppEventsCurrentUserUpdatedEvent_init() { | |
BuddyisCoreAppEventsCurrentUserUpdatedEvent *self = [BuddyisCoreAppEventsCurrentUserUpdatedEvent alloc]; | |
BuddyisCoreAppEventsCurrentUserUpdatedEvent_init(self); | |
return self; | |
} | |
J2OBJC_CLASS_TYPE_LITERAL_SOURCE(BuddyisCoreAppEventsCurrentUserUpdatedEvent) | |
@implementation BuddyisCoreAppEventsCurrentUserUpdatedEvent_CurrentUserUpdatedHandler | |
+ (const J2ObjcClassInfo *)__metadata { | |
static const J2ObjcMethodInfo methods[] = { | |
{ "onCurrentUserUpdatedWithBuddyisCoreAppEventsCurrentUserUpdatedEvent:", "onCurrentUserUpdated", "V", 0x401, NULL, NULL }, | |
}; | |
static const J2ObjcClassInfo _BuddyisCoreAppEventsCurrentUserUpdatedEvent_CurrentUserUpdatedHandler = { 2, "CurrentUserUpdatedHandler", "buddyis.core.app.events", "CurrentUserUpdatedEvent", 0x609, 1, methods, 0, NULL, 0, NULL, 0, NULL, NULL, NULL }; | |
return &_BuddyisCoreAppEventsCurrentUserUpdatedEvent_CurrentUserUpdatedHandler; | |
} | |
@end | |
J2OBJC_INTERFACE_TYPE_LITERAL_SOURCE(BuddyisCoreAppEventsCurrentUserUpdatedEvent_CurrentUserUpdatedHandler) | |
#pragma clang diagnostic pop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment