MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / getSuportedExportFormats

Method getSuportedExportFormats

DSView/pv/storesession.cpp:118–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118QList<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
137bool StoreSession::save_start()
138{

Callers

nothing calls this directly

Calls 3

sr_output_listFunction · 0.85
get_work_modeMethod · 0.80
get_deviceMethod · 0.80

Tested by

no test coverage detected