annotate base/DataExportOptions.h @ 1671:82d03c9661f9 single-point

Rework isReady()/getCompletion() on models. Previously the new overhauled models were implementing getCompletion() but inheriting a version of isReady() (from the Model base) that didn't call it, referring only to isOK(). So they were reporting completion as soon as they had begun. Instead hoist getCompletion() to abstract base and call it from Model::isReady().
author Chris Cannam
date Wed, 27 Mar 2019 13:15:16 +0000
parents 57633d605547
children c546429d4c2f
rev   line source
Chris@1060 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
Chris@1060 2
Chris@1060 3 /*
Chris@1060 4 Sonic Visualiser
Chris@1060 5 An audio file viewer and annotation editor.
Chris@1060 6 Centre for Digital Music, Queen Mary, University of London.
Chris@1060 7
Chris@1060 8 This program is free software; you can redistribute it and/or
Chris@1060 9 modify it under the terms of the GNU General Public License as
Chris@1060 10 published by the Free Software Foundation; either version 2 of the
Chris@1060 11 License, or (at your option) any later version. See the file
Chris@1060 12 COPYING included with this distribution for more information.
Chris@1060 13 */
Chris@1060 14
Chris@1060 15 #ifndef DATA_EXPORT_OPTIONS_H
Chris@1060 16 #define DATA_EXPORT_OPTIONS_H
Chris@1060 17
Chris@1060 18 enum DataExportOption
Chris@1060 19 {
Chris@1060 20 DataExportDefaults = 0x0,
Chris@1060 21 DataExportFillGaps = 0x1,
Chris@1060 22 DataExportOmitLevels = 0x2,
Chris@1060 23 };
Chris@1060 24
Chris@1060 25 typedef int DataExportOptions;
Chris@1060 26
Chris@1060 27 #endif