Skip to content

Commit 41b154f

Browse files
committed
HUP-619-637: When compile in UE editor throws the compile error (but there is no problem while building to device)
1 parent 5cf5cfb commit 41b154f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Source/HuaweiAccount/Public/Account.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace huawei
3535
virtual void onException(int action, const FString message) = 0;
3636
};
3737

38-
class Account
38+
HUAWEIACCOUNT_API class Account
3939
{
4040
public:
4141
static void loginWithoutVerification();

Source/HuaweiAds/Public/Ads.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ namespace huawei
5858
virtual void onRewarded(const FString type, int amount) = 0;
5959
};
6060

61-
class Ads
61+
class HUAWEIADS_API Ads
6262
{
6363
public:
6464
static constexpr const char* bannerSizeToString(BannerSize size);
@@ -72,8 +72,8 @@ namespace huawei
7272
static void loadRewardAd(FString adId);
7373
static void showRewardAd();
7474

75-
static void setListener(AdsListener* listener);
75+
static void setListener(AdsListener *listener);
7676
static void removeListener();
77-
static AdsListener* getListener();
77+
static AdsListener *getListener();
7878
};
7979
}

Source/HuaweiIAP/Public/Iap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ namespace huawei
107107
virtual void onObtainPurchasedRecords(const TArray<InAppPurchaseData> purchasedProductIds, int type) = 0;
108108
};
109109

110-
class Iap
110+
class HUAWEIIAP_API Iap
111111
{
112112
public:
113113
static void checkEnvironment();

Source/HuaweiPush/Public/push.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace huawei
1818
virtual void onException(int errorcode, int action, const FString message) = 0;
1919
};
2020

21-
class Push
21+
class HUAWEIPUSH_API Push
2222
{
2323
public:
2424
static void init();

0 commit comments

Comments
 (0)