Skip to content

Commit 8a99b90

Browse files
committed
Rename appendAttributesToCloudReal to appendAttributesToCloud
1 parent b5f3a19 commit 8a99b90

18 files changed

+18
-18
lines changed

src/property/Property.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ void Property::execCallbackOnSync() {
170170
CborError Property::append(CborEncoder *encoder, bool lightPayload) {
171171
_lightPayload = lightPayload;
172172
_attributeIdentifier = 0;
173-
CHECK_CBOR(appendAttributesToCloudReal(encoder));
173+
CHECK_CBOR(appendAttributesToCloud(encoder));
174174
fromLocalToCloud();
175175
_has_been_updated_once = true;
176176
_has_been_modified_in_callback = false;

src/property/Property.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ class Property
208208
virtual bool isDifferentFromCloud() = 0;
209209
virtual void fromCloudToLocal() = 0;
210210
virtual void fromLocalToCloud() = 0;
211-
virtual CborError appendAttributesToCloudReal(CborEncoder *encoder) = 0;
211+
virtual CborError appendAttributesToCloud(CborEncoder *encoder) = 0;
212212
virtual void setAttributesFromCloud() = 0;
213213
virtual bool isPrimitive() {
214214
return false;

src/property/types/CloudBool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class CloudBool : public Property {
5252
virtual void fromLocalToCloud() {
5353
_cloud_value = _value;
5454
}
55-
virtual CborError appendAttributesToCloudReal(CborEncoder *encoder) {
55+
virtual CborError appendAttributesToCloud(CborEncoder *encoder) {
5656
return appendAttributeReal(_value, "", encoder);
5757
}
5858
virtual void setAttributesFromCloud() {

src/property/types/CloudColor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class CloudColor : public Property {
188188
virtual void fromLocalToCloud() {
189189
_cloud_value = _value;
190190
}
191-
virtual CborError appendAttributesToCloudReal(CborEncoder *encoder) {
191+
virtual CborError appendAttributesToCloud(CborEncoder *encoder) {
192192
CHECK_CBOR_MULTI(appendAttributeReal(_value.hue, "hue", encoder));
193193
CHECK_CBOR_MULTI(appendAttributeReal(_value.sat, "sat", encoder));
194194
CHECK_CBOR_MULTI(appendAttributeReal(_value.bri, "bri", encoder));

src/property/types/CloudFloat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class CloudFloat : public Property {
5454
virtual void fromLocalToCloud() {
5555
_cloud_value = _value;
5656
}
57-
virtual CborError appendAttributesToCloudReal(CborEncoder *encoder) {
57+
virtual CborError appendAttributesToCloud(CborEncoder *encoder) {
5858
return appendAttributeReal(_value, "", encoder);
5959
}
6060
virtual void setAttributesFromCloud() {

src/property/types/CloudInt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class CloudInt : public Property {
5252
virtual void fromLocalToCloud() {
5353
_cloud_value = _value;
5454
}
55-
virtual CborError appendAttributesToCloudReal(CborEncoder *encoder) {
55+
virtual CborError appendAttributesToCloud(CborEncoder *encoder) {
5656
return appendAttributeReal(_value, "", encoder);
5757
}
5858
virtual void setAttributesFromCloud() {

src/property/types/CloudLocation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class CloudLocation : public Property {
8989
virtual void fromLocalToCloud() {
9090
_cloud_value = _value;
9191
}
92-
virtual CborError appendAttributesToCloudReal(CborEncoder *encoder) {
92+
virtual CborError appendAttributesToCloud(CborEncoder *encoder) {
9393
CHECK_CBOR_MULTI(appendAttributeReal(_value.lat, "lat", encoder));
9494
CHECK_CBOR_MULTI(appendAttributeReal(_value.lon, "lon", encoder));
9595
return CborNoError;

src/property/types/CloudSchedule.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ class CloudSchedule : public Property {
417417
virtual void fromLocalToCloud() {
418418
_cloud_value = _value;
419419
}
420-
virtual CborError appendAttributesToCloudReal(CborEncoder *encoder) {
420+
virtual CborError appendAttributesToCloud(CborEncoder *encoder) {
421421
CHECK_CBOR_MULTI(appendAttributeReal(_value.frm, "frm", encoder));
422422
CHECK_CBOR_MULTI(appendAttributeReal(_value.to, "to", encoder));
423423
CHECK_CBOR_MULTI(appendAttributeReal(_value.len, "len", encoder));

src/property/types/CloudString.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class CloudString : public Property {
5858
virtual void fromLocalToCloud() {
5959
_cloud_value = _value;
6060
}
61-
virtual CborError appendAttributesToCloudReal(CborEncoder *encoder) {
61+
virtual CborError appendAttributesToCloud(CborEncoder *encoder) {
6262
return appendAttributeReal(_value, "", encoder);
6363
}
6464
virtual void setAttributesFromCloud() {

src/property/types/CloudUnsignedInt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class CloudUnsignedInt : public Property {
5252
virtual void fromLocalToCloud() {
5353
_cloud_value = _value;
5454
}
55-
virtual CborError appendAttributesToCloudReal(CborEncoder *encoder) {
55+
virtual CborError appendAttributesToCloud(CborEncoder *encoder) {
5656
return appendAttributeReal(_value, "", encoder);
5757
}
5858
virtual void setAttributesFromCloud() {

0 commit comments

Comments
 (0)