#pragma once

#include "common/common_pch.h"

class QFile;
class QString;
class QStringList;
class QTemporaryFile;

namespace mtx { namespace gui { namespace Util {

class OptionFile {
public:
  static void create(QString const &fileName, QStringList const &options);
  static std::unique_ptr<QTemporaryFile> createTemporary(QString const &prefix, QStringList const &options);

  static void write(QFile &file, QStringList const &options);
};

}}}
