*/
#include "assetreader.hpp"
-#include <libsigrok/libsigrok.h>
+
#include <memory>
+
#include <QtCore/QDebug>
#include <QtCore/QFile>
#include <QtCore/QStandardPaths>
+#include <libsigrok/libsigrok.h>
+
using namespace pv;
using std::string;
#include <glibmm.h>
G_GNUC_END_IGNORE_DEPRECATIONS
-#include <vector>
#include <memory>
+#include <vector>
#include <QString>
#include <boost/none_t.hpp>
-#include <pv/data/decoderstack.hpp>
#include <pv/data/decode/decoder.hpp>
+#include <pv/data/decoderstack.hpp>
#include <pv/prop/double.hpp>
#include <pv/prop/enum.hpp>
#include <pv/prop/int.hpp>
#include <extdef.h>
#include <cassert>
-#include <cstring>
-#include <cstdlib>
#include <cmath>
+#include <cstdlib>
+#include <cstring>
#include <algorithm>
#include "decoderstack.hpp"
+#include <pv/data/decode/annotation.hpp>
+#include <pv/data/decode/decoder.hpp>
#include <pv/data/logic.hpp>
#include <pv/data/logicsegment.hpp>
-#include <pv/data/decode/decoder.hpp>
-#include <pv/data/decode/annotation.hpp>
#include <pv/session.hpp>
#include <pv/view/logicsignal.hpp>
#include <extdef.h>
#include <cassert>
-#include <cstring>
-#include <cstdlib>
#include <cmath>
+#include <cstdlib>
+#include <cstring>
#include "logic.hpp"
#include "logicsegment.hpp"
#include "pv/util.hpp"
-#include <thread>
#include <mutex>
+#include <thread>
#include <vector>
using std::recursive_mutex;
#include "analog.hpp"
#include "analogsegment.hpp"
+#include "decode/row.hpp"
#include "logic.hpp"
#include "logicsegment.hpp"
#include "signalbase.hpp"
#include "signaldata.hpp"
-#include "decode/row.hpp"
-#include <pv/session.hpp>
#include <pv/binding/decoder.hpp>
+#include <pv/session.hpp>
using std::dynamic_pointer_cast;
using std::make_shared;
#include <cassert>
#include <functional>
-#include <stdexcept>
#include <sstream>
+#include <stdexcept>
#include <string>
#include <libsigrokcxx/libsigrokcxx.hpp>
#include <libsigrokcxx/libsigrokcxx.hpp>
-#include <QLabel>
#include <QGroupBox>
+#include <QLabel>
#include <QRadioButton>
#include "connect.hpp"
#include <QFormLayout>
#include <QHBoxLayout>
#include <QLineEdit>
-#include <QSpinBox>
#include <QListWidget>
#include <QPushButton>
+#include <QSpinBox>
#include <QVBoxLayout>
using std::shared_ptr;
#include <libsigrokdecode/libsigrokdecode.h>
#endif
-#include <cassert>
#include <algorithm>
-#include <iterator>
-#include <cstdint>
+#include <cassert>
#include <cstdarg>
+#include <cstdint>
+#include <iterator>
#include <QAction>
#include <QApplication>
#include <QHBoxLayout>
#include <QMessageBox>
#include <QSettings>
-#include <QWidget>
#include <QShortcut>
+#include <QWidget>
#include "mainwindow.hpp"
#include "devicemanager.hpp"
-#include "globalsettings.hpp"
-#include "util.hpp"
#include "devices/hardwaredevice.hpp"
#include "dialogs/settings.hpp"
+#include "globalsettings.hpp"
#include "toolbars/mainbar.hpp"
+#include "util.hpp"
#include "view/view.hpp"
#include "views/trace/standardbar.hpp"
#include <memory>
#include <QMainWindow>
+#include <QShortcut>
#include <QSignalMapper>
-#include <QToolButton>
#include <QTabWidget>
-#include <QShortcut>
+#include <QToolButton>
#include "session.hpp"
#include "views/viewbase.hpp"
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <cstdint>
#include <cassert>
+#include <cstdint>
#include <QSpinBox>
G_GNUC_END_IGNORE_DEPRECATIONS
#include <functional>
+
#include <QString>
#include <QWidget>
#include <sys/stat.h>
-#include "session.hpp"
#include "devicemanager.hpp"
+#include "session.hpp"
#include "data/analog.hpp"
#include "data/analogsegment.hpp"
+#include "data/decode/decoder.hpp"
#include "data/decoderstack.hpp"
#include "data/logic.hpp"
#include "data/logicsegment.hpp"
#include "data/signalbase.hpp"
-#include "data/decode/decoder.hpp"
#include "devices/hardwaredevice.hpp"
#include "devices/inputfile.hpp"
#include "storesession.hpp"
-#include <pv/devicemanager.hpp>
-#include <pv/session.hpp>
#include <pv/data/analog.hpp>
#include <pv/data/analogsegment.hpp>
#include <pv/data/logic.hpp>
#include <pv/data/logicsegment.hpp>
#include <pv/data/signalbase.hpp>
+#include <pv/devicemanager.hpp>
#include <pv/devices/device.hpp>
+#include <pv/session.hpp>
#include <libsigrokcxx/libsigrokcxx.hpp>
#ifndef PULSEVIEW_PV_STORESESSION_HPP
#define PULSEVIEW_PV_STORESESSION_HPP
-#include <cstdint>
#include <atomic>
+#include <cstdint>
#include <fstream>
#include <map>
#include <memory>
#ifndef PULSEVIEW_PV_STRNATCMP_HPP
#define PULSEVIEW_PV_STRNATCMP_HPP
-#include <cstddef> /* size_t */
#include <cctype>
+#include <cstddef> /* size_t */
#include <string>
using std::string;
#include <pv/dialogs/inputoutputoptions.hpp>
#include <pv/dialogs/storeprogress.hpp>
#include <pv/mainwindow.hpp>
-#include <pv/popups/deviceoptions.hpp>
#include <pv/popups/channels.hpp>
+#include <pv/popups/deviceoptions.hpp>
#include <pv/util.hpp>
#include <pv/view/view.hpp>
#include <pv/widgets/exportmenu.hpp>
#include <extdef.h>
-#include <cassert>
#include <algorithm>
+#include <cassert>
#include <sstream>
-#include <QTextStream>
#include <QDebug>
+#include <QTextStream>
using std::fixed;
using std::max;
#include "pv/data/logic.hpp"
#include "pv/data/logicsegment.hpp"
#include "pv/data/signalbase.hpp"
-#include "pv/view/view.hpp"
-#include "pv/view/logicsignal.hpp"
#include "pv/globalsettings.hpp"
+#include "pv/view/logicsignal.hpp"
+#include "pv/view/view.hpp"
#include <libsigrokcxx/libsigrokcxx.hpp>
#include "cursor.hpp"
+#include "pv/util.hpp"
#include "ruler.hpp"
#include "view.hpp"
-#include "pv/util.hpp"
#include <QApplication>
#include <QBrush>
#include "cursorpair.hpp"
+#include "pv/util.hpp"
#include "ruler.hpp"
#include "view.hpp"
-#include "pv/util.hpp"
-#include <cassert>
#include <algorithm>
+#include <cassert>
using std::max;
using std::make_pair;
#include "decodetrace.hpp"
-#include <pv/session.hpp>
-#include <pv/strnatcmp.hpp>
-#include <pv/data/decoderstack.hpp>
+#include <pv/data/decode/annotation.hpp>
#include <pv/data/decode/decoder.hpp>
+#include <pv/data/decoderstack.hpp>
#include <pv/data/logic.hpp>
#include <pv/data/logicsegment.hpp>
-#include <pv/data/decode/annotation.hpp>
+#include <pv/session.hpp>
+#include <pv/strnatcmp.hpp>
#include <pv/view/view.hpp>
#include <pv/view/viewport.hpp>
#include <pv/widgets/decodergroupbox.hpp>
#include <QSignalMapper>
#include <pv/binding/decoder.hpp>
-#include <pv/data/signalbase.hpp>
#include <pv/data/decode/row.hpp>
+#include <pv/data/signalbase.hpp>
using std::list;
using std::map;
#include "signal.hpp"
#include "tracegroup.hpp"
-#include <cassert>
#include <algorithm>
+#include <cassert>
#include <boost/iterator/filter_iterator.hpp>
#include "logicsignal.hpp"
#include "view.hpp"
-#include <pv/session.hpp>
-#include <pv/devicemanager.hpp>
-#include <pv/devices/device.hpp>
#include <pv/data/logic.hpp>
#include <pv/data/logicsegment.hpp>
#include <pv/data/signalbase.hpp>
-#include <pv/view/view.hpp>
+#include <pv/devicemanager.hpp>
+#include <pv/devices/device.hpp>
#include <pv/globalsettings.hpp>
+#include <pv/session.hpp>
+#include <pv/view/view.hpp>
#include <libsigrokcxx/libsigrokcxx.hpp>
#include "timemarker.hpp"
-#include "view.hpp"
#include "pv/widgets/timestampspinbox.hpp"
+#include "view.hpp"
#include <QApplication>
-#include <QFormLayout>
#include <QFontMetrics>
+#include <QFormLayout>
#include <QPainter>
#include <pv/widgets/popup.hpp>
#include <extdef.h>
-#include <cassert>
#include <algorithm>
+#include <cassert>
#include <QMenu>
#include <QPainter>
#include <cassert>
#include "tracetreeitem.hpp"
-#include "tracetreeitemowner.hpp"
#include "trace.hpp"
+#include "tracetreeitemowner.hpp"
using std::find;
using std::make_pair;
#include <boost/serialization/serialization.hpp>
#include <QApplication>
-#include <QHBoxLayout>
#include <QEvent>
#include <QFontMetrics>
+#include <QHBoxLayout>
#include <QMouseEvent>
#include <QScrollBar>
#include "view.hpp"
#include "viewport.hpp"
-#include "pv/session.hpp"
-#include "pv/globalsettings.hpp"
-#include "pv/devices/device.hpp"
#include "pv/data/logic.hpp"
#include "pv/data/logicsegment.hpp"
+#include "pv/devices/device.hpp"
+#include "pv/globalsettings.hpp"
+#include "pv/session.hpp"
#include "pv/util.hpp"
#ifdef ENABLE_DECODE
#include <QTimer>
#include <pv/data/signaldata.hpp>
-#include <pv/views/viewbase.hpp>
#include <pv/util.hpp>
+#include <pv/views/viewbase.hpp>
#include "cursorpair.hpp"
#include "flag.hpp"
#include <cassert>
#include "tracetreeitem.hpp"
-#include "tracetreeitemowner.hpp"
#include "trace.hpp"
+#include "tracetreeitemowner.hpp"
namespace pv {
namespace views {
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#include <algorithm>
#include <cassert>
#include <cmath>
-#include <algorithm>
#include <limits>
#include "signal.hpp"
#include <algorithm>
#include <cassert>
-#include <QtGui>
#include <QApplication>
#include <QDesktopWidget>
#include <QLineEdit>
+#include <QtGui>
#include "popup.hpp"
#include "sweeptimingwidget.hpp"
+#include <cassert>
#include <cstdlib>
#include <vector>
-#include <cassert>
#include <extdef.h>
**
****************************************************************************/
-#include <QPainter>
#include <QPaintEvent>
+#include <QPainter>
#include <QStyle>
#include <QStyleOptionFrame>
*/
#define BOOST_TEST_MAIN
-#include <boost/test/unit_test.hpp>
#include "test/test.hpp"
+#include <boost/test/unit_test.hpp>
using std::ostream;
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <boost/test/unit_test.hpp>
#include <boost/test/floating_point_comparison.hpp>
+#include <boost/test/unit_test.hpp>
#include "pv/view/ruler.hpp"
#include "test/test.hpp"