mirror of
https://gitee.com/openharmony/distributeddatamgr_pasteboard
synced 2024-11-23 07:59:55 +00:00
!958 pasteboard内存整改-结构体字节对齐
Merge pull request !958 from LittleGao/master
This commit is contained in:
commit
085de23f80
@ -33,12 +33,12 @@ public:
|
||||
uint8_t frameNum = 0;
|
||||
uint16_t user = 0;
|
||||
uint16_t seqId = 0;
|
||||
uint64_t expiration = 0;
|
||||
uint16_t status = EVT_UNKNOWN;
|
||||
int32_t syncTime = 0;
|
||||
uint64_t expiration = 0;
|
||||
std::string deviceId;
|
||||
std::string account;
|
||||
std::vector<std::string> dataType;
|
||||
int32_t syncTime = 0;
|
||||
bool operator==(const GlobalEvent globalEvent)
|
||||
{
|
||||
return globalEvent.seqId == this->seqId && globalEvent.deviceId == this->deviceId;
|
||||
|
@ -23,11 +23,11 @@ extern "C" {
|
||||
#define OUT_OF_RANGE 12900001
|
||||
|
||||
typedef struct {
|
||||
CArrString mimeTypes;
|
||||
char *tag;
|
||||
int64_t timestamp;
|
||||
bool localOnly;
|
||||
int32_t shareOption;
|
||||
char *tag;
|
||||
int64_t timestamp;
|
||||
CArrString mimeTypes;
|
||||
} CPasteDataProperty;
|
||||
|
||||
typedef struct {
|
||||
|
@ -72,8 +72,8 @@ struct HistoryInfo {
|
||||
|
||||
struct PasteDateTime {
|
||||
int32_t syncTime = 0;
|
||||
std::shared_ptr<PasteData> data;
|
||||
int32_t errorCode = 0;
|
||||
std::shared_ptr<PasteData> data;
|
||||
};
|
||||
|
||||
struct PasteDateResult {
|
||||
|
Loading…
Reference in New Issue
Block a user