| 223 | } |
| 224 | |
| 225 | us::ServiceProperties AbstractFileWriter::GetServiceProperties() const |
| 226 | { |
| 227 | us::ServiceProperties result; |
| 228 | result[IFileWriter::PROP_DESCRIPTION()] = this->GetDescription(); |
| 229 | result[IFileWriter::PROP_MIMETYPE()] = this->GetMimeType()->GetName(); |
| 230 | result[IFileWriter::PROP_BASEDATA_TYPE()] = d->m_BaseDataType; |
| 231 | result[us::ServiceConstants::SERVICE_RANKING()] = this->GetRanking(); |
| 232 | |
| 233 | // for (IFileWriter::OptionList::const_iterator it = d->m_Options.begin(); it != d->m_Options.end(); ++it) |
| 234 | // { |
| 235 | // result[it->first] = std::string("true"); |
| 236 | // } |
| 237 | return result; |
| 238 | } |
| 239 | |
| 240 | const CustomMimeType *AbstractFileWriter::GetMimeType() const { return d->GetMimeType(); } |
| 241 | void AbstractFileWriter::SetMimeTypePrefix(const std::string &prefix) { d->SetMimeTypePrefix(prefix); } |
no test coverage detected