Engauge Digitizer  2
ExportDelimiter.h
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #ifndef EXPORT_DELIMITER_H
8 #define EXPORT_DELIMITER_H
9 
10 #include <QString>
11 
14 enum ExportDelimiter {
15  EXPORT_DELIMITER_COMMA,
16  EXPORT_DELIMITER_SPACE,
17  EXPORT_DELIMITER_TAB,
18  EXPORT_DELIMITER_SEMICOLON
19 };
20 
21 extern QString exportDelimiterToString (ExportDelimiter exportDelimiter); // Text appearing in logging/debugging
22 extern QString exportDelimiterToText (ExportDelimiter exportDelimiter,
23  bool isGnuplot); // Text appearing in exported file
24 
25 #endif // EXPORT_DELIMITER_H