| 4972 | } |
| 4973 | |
| 4974 | void writeSharedNotebookRecipientSettings(ThriftBinaryBufferWriter& w, const SharedNotebookRecipientSettings& s) { |
| 4975 | w.writeStructBegin("SharedNotebookRecipientSettings"); |
| 4976 | if(s.reminderNotifyEmail.isSet()) { |
| 4977 | w.writeFieldBegin("reminderNotifyEmail", ThriftFieldType::T_BOOL, 1); |
| 4978 | w.writeBool(s.reminderNotifyEmail.ref()); |
| 4979 | w.writeFieldEnd(); |
| 4980 | } |
| 4981 | if(s.reminderNotifyInApp.isSet()) { |
| 4982 | w.writeFieldBegin("reminderNotifyInApp", ThriftFieldType::T_BOOL, 2); |
| 4983 | w.writeBool(s.reminderNotifyInApp.ref()); |
| 4984 | w.writeFieldEnd(); |
| 4985 | } |
| 4986 | w.writeFieldStop(); |
| 4987 | w.writeStructEnd(); |
| 4988 | } |
| 4989 | |
| 4990 | void readSharedNotebookRecipientSettings(ThriftBinaryBufferReader& r, SharedNotebookRecipientSettings& s) { |
| 4991 | QString fname; |
no test coverage detected