26 lines
731 B
C
26 lines
731 B
C
|
|
// Copyright (c) 2022 Sentry. All Rights Reserved.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "Interface/SentryAttachmentInterface.h"
|
||
|
|
|
||
|
|
@class SentryAttachment;
|
||
|
|
|
||
|
|
class SentryAttachmentApple : public ISentryAttachment
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
SentryAttachmentApple(const TArray<uint8>& data, const FString& filename, const FString& contentType);
|
||
|
|
SentryAttachmentApple(const FString& path, const FString& filename, const FString& contentType);
|
||
|
|
virtual ~SentryAttachmentApple() override;
|
||
|
|
|
||
|
|
SentryAttachment* GetNativeObject();
|
||
|
|
|
||
|
|
virtual TArray<uint8> GetData() const override;
|
||
|
|
virtual FString GetPath() const override;
|
||
|
|
virtual FString GetFilename() const override;
|
||
|
|
virtual FString GetContentType() const override;
|
||
|
|
|
||
|
|
private:
|
||
|
|
SentryAttachment* AttachmentApple;
|
||
|
|
};
|