| 4802 | } |
| 4803 | |
| 4804 | void writeSavedSearchScope(ThriftBinaryBufferWriter& w, const SavedSearchScope& s) { |
| 4805 | w.writeStructBegin("SavedSearchScope"); |
| 4806 | if(s.includeAccount.isSet()) { |
| 4807 | w.writeFieldBegin("includeAccount", ThriftFieldType::T_BOOL, 1); |
| 4808 | w.writeBool(s.includeAccount.ref()); |
| 4809 | w.writeFieldEnd(); |
| 4810 | } |
| 4811 | if(s.includePersonalLinkedNotebooks.isSet()) { |
| 4812 | w.writeFieldBegin("includePersonalLinkedNotebooks", ThriftFieldType::T_BOOL, 2); |
| 4813 | w.writeBool(s.includePersonalLinkedNotebooks.ref()); |
| 4814 | w.writeFieldEnd(); |
| 4815 | } |
| 4816 | if(s.includeBusinessLinkedNotebooks.isSet()) { |
| 4817 | w.writeFieldBegin("includeBusinessLinkedNotebooks", ThriftFieldType::T_BOOL, 3); |
| 4818 | w.writeBool(s.includeBusinessLinkedNotebooks.ref()); |
| 4819 | w.writeFieldEnd(); |
| 4820 | } |
| 4821 | w.writeFieldStop(); |
| 4822 | w.writeStructEnd(); |
| 4823 | } |
| 4824 | |
| 4825 | void readSavedSearchScope(ThriftBinaryBufferReader& r, SavedSearchScope& s) { |
| 4826 | QString fname; |
no test coverage detected