This repository has been archived by the owner on May 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #2378: iOS DB Migration & Rebase to brave-core master
- Loading branch information
1 parent
7e76232
commit a39df1a
Showing
28 changed files
with
1,422 additions
and
1,149 deletions.
There are no files selected for viewing
Binary file not shown.
39 changes: 39 additions & 0 deletions
39
BraveRewards/BraveRewards.framework/Headers/BATAdNotification.h
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
typedef NS_ENUM(NSInteger, BATAdsConfirmationType) { | ||
BATAdsConfirmationTypeNone, // = ads::ConfirmationType::kNone | ||
BATAdsConfirmationTypeClick, // = ads::ConfirmationType::kClicked | ||
BATAdsConfirmationTypeDismiss, // = ads::ConfirmationType::kDismissed | ||
BATAdsConfirmationTypeView, // = ads::ConfirmationType::kViewed | ||
BATAdsConfirmationTypeLanded, // = ads::ConfirmationType::kLanded | ||
BATAdsConfirmationTypeFlagged, // = ads::ConfirmationType::kFlagged | ||
BATAdsConfirmationTypeUpvoted, // = ads::ConfirmationType::kUpvoted | ||
BATAdsConfirmationTypeDownvoted, // = ads::ConfirmationType::kDownvoted | ||
BATAdsConfirmationTypeConversion // = ads::ConfirmationType::kConversion | ||
} NS_SWIFT_NAME(ConfirmationType); | ||
|
||
NS_SWIFT_NAME(AdsNotification) | ||
@interface BATAdNotification : NSObject | ||
@property (nonatomic, readonly, copy) NSString *uuid; | ||
@property (nonatomic, readonly, copy) NSString *parentUuid; | ||
@property (nonatomic, readonly, copy) NSString *creativeInstanceID; | ||
@property (nonatomic, readonly, copy) NSString *creativeSetID; | ||
@property (nonatomic, readonly, copy) NSString *category; | ||
@property (nonatomic, readonly, copy) NSString *title; | ||
@property (nonatomic, readonly, copy) NSString *body; | ||
@property (nonatomic, readonly, copy) NSURL *targetURL; | ||
@end | ||
|
||
@interface BATAdNotification (MyFirstAd) | ||
+ (instancetype)customAdWithTitle:(NSString *)title | ||
body:(NSString *)body | ||
url:(NSURL *)url NS_SWIFT_NAME(customAd(title:body:url:)); | ||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
35 changes: 0 additions & 35 deletions
35
BraveRewards/BraveRewards.framework/Headers/BATAdsNotification.h
This file was deleted.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.