mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
35 lines
950 B
C++
35 lines
950 B
C++
/* Copyright (C) 2013
|
|
* swift project Community / Contributors
|
|
*
|
|
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
|
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
|
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
|
* contained in the LICENSE file.
|
|
*/
|
|
|
|
//! \file
|
|
|
|
#ifndef BLACKMISC_SAMPLEUTILS_H
|
|
#define BLACKMISC_SAMPLEUTILS_H
|
|
|
|
#include "blackmiscexport.h"
|
|
#include <QStringList>
|
|
#include <QTextStream>
|
|
|
|
namespace BlackMisc
|
|
{
|
|
//! Utils for sample programms
|
|
class BLACKMISC_EXPORT CSampleUtils
|
|
{
|
|
|
|
public:
|
|
//! Select directory among given ones
|
|
static QString selectDirectory(const QStringList &directoryOptions, QTextStream &streamOut, QTextStream &streamIn);
|
|
|
|
private:
|
|
CSampleUtils() = delete;
|
|
};
|
|
}
|
|
|
|
#endif // guard
|