JubeatPlus 3.9.11
Loading...
Searching...
No Matches
CampaignDetailHeaderView.h
Go to the documentation of this file.
1
14
15#import <UIKit/UIKit.h>
16
17#import "Downloader.h"
18
19@class CampaignItemInfo;
20
21NS_ASSUME_NONNULL_BEGIN
22
29@protocol CampaignDetailHeaderViewDelegate <NSObject>
30
35- (void)doPurchase:(nullable id)sender;
36
41- (void)handleLink:(nullable id)sender;
42
43@end
44
50
56@property(nonatomic, weak, nullable) id<CampaignDetailHeaderViewDelegate> delegate;
57
64- (instancetype)initWithFrame:(CGRect)frame;
65
73- (void)setCampaignInfo:(nullable CampaignItemInfo *)itemInfo;
74
80- (void)setArtwork:(nullable UIImage *)artwork;
81
87- (void)updateCampaignState:(nullable CampaignItemInfo *)itemInfo;
88
95- (void)handleSample:(nullable id)sender;
96
101- (void)stopSample;
102
109- (void)finishBgm:(nullable NSNotification *)notification;
110
111@end
112
113NS_ASSUME_NONNULL_END
114
115// code: language=Objective-C
116// kate: hl Objective-C;
117// vim: set ft=objc :
The HTTP client.
A campaign item's detail header: artwork with its reflection, name, comment, a download button,...
Definition CampaignDetailHeaderView.h:49
void stopSample()
Fades out any BGM sample, tears the sample download down, and resets the control.
Definition CampaignDetailHeaderView.m:385
id< CampaignDetailHeaderViewDelegate > delegate
The object that carries out the download and link button taps.
Definition CampaignDetailHeaderView.h:56
A campaign item: an unlockable tune or marker with a rule for earning it.
Definition CampaignItemInfo.h:32
Performs a single HTTP request.
Definition Downloader.h:30