X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fnotification%2FNotificationHandler.kt;h=74e5337739c7940311019da4061b2d69c44971ee;hb=0831ce844d421828bd9a4dc12f33ba58f9990c25;hp=d2ae08502d8c56583ffb6cc199846c548b398f11;hpb=4b2cc51efed050a19dc2c8e27a7dbb656960321a;p=Sone.git diff --git a/src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandler.kt b/src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandler.kt index d2ae085..74e5337 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandler.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandler.kt @@ -23,8 +23,11 @@ import javax.inject.* * Container that causes notification handlers to be created and (more importantly) registered * on creation with the event bus. */ -@Suppress("UNUSED_PARAMETER") +@Suppress("unused") class NotificationHandler @Inject constructor( - markPostKnownDuringFirstStartHandler: MarkPostKnownDuringFirstStartHandler, - newRemotePostHandler: NewRemotePostHandler + val markPostKnownDuringFirstStartHandler: MarkPostKnownDuringFirstStartHandler, + val newSoneHandler: NewSoneHandler, + val newRemotePostHandler: NewRemotePostHandler, + val soneLockedOnStartupHandler: SoneLockedOnStartupHandler, + val soneLockedHandler: SoneLockedHandler )