| 116 | } |
| 117 | |
| 118 | QList<QString> StoreSession::getSuportedExportFormats(){ |
| 119 | const struct sr_output_module** supportedModules = sr_output_list(); |
| 120 | QList<QString> list; |
| 121 | while(*supportedModules){ |
| 122 | if(*supportedModules == NULL) |
| 123 | break; |
| 124 | if (_session->get_device()->get_work_mode() != LOGIC && |
| 125 | strcmp((*supportedModules)->id, "csv")) |
| 126 | break; |
| 127 | QString format((*supportedModules)->desc); |
| 128 | format.append(" (*."); |
| 129 | format.append((*supportedModules)->id); |
| 130 | format.append(")"); |
| 131 | list.append(format); |
| 132 | supportedModules++; |
| 133 | } |
| 134 | return list; |
| 135 | } |
| 136 | |
| 137 | bool StoreSession::save_start() |
| 138 | { |
nothing calls this directly
no test coverage detected