87 lines
2.1 KiB
Smali
87 lines
2.1 KiB
Smali
.class public abstract Lcom/discord/stores/updates/ObservationDeck$Observer;
|
|
.super Ljava/lang/Object;
|
|
.source "ObservationDeck.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/stores/updates/ObservationDeck;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x409
|
|
name = "Observer"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public isStale:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public abstract getObservingUpdates()Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Set<",
|
|
"Lcom/discord/stores/updates/ObservationDeck$UpdateSource;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract getOnUpdate()Lkotlin/jvm/functions/Function0;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public final isStale()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/stores/updates/ObservationDeck$Observer;->isStale:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final markStale()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lcom/discord/stores/updates/ObservationDeck$Observer;->isStale:Z
|
|
|
|
invoke-static {}, Lcom/discord/stores/updates/ObservationDeck;->access$getON_UPDATE_EMPTY$cp()Lkotlin/jvm/functions/Function0;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0, v0}, Lcom/discord/stores/updates/ObservationDeck$Observer;->setOnUpdate(Lkotlin/jvm/functions/Function0;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract setOnUpdate(Lkotlin/jvm/functions/Function0;)V
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
.end method
|