mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 14:43:12 +02:00
30 lines
No EOL
635 B
C++
30 lines
No EOL
635 B
C++
//
|
|
// PythonInterface.h
|
|
//
|
|
// Created by Nissim Hadar on Oct 6, 2018.
|
|
// Copyright 2013 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
#ifndef hifi_PythonInterface_h
|
|
#define hifi_PythonInterface_h
|
|
|
|
#include <QString>
|
|
|
|
class PythonInterface {
|
|
public:
|
|
QString getPythonCommand();
|
|
|
|
private:
|
|
#ifdef Q_OS_WIN
|
|
const QString _pythonExe{ "py.exe" };
|
|
#else
|
|
// Both Mac and Linux use "python"
|
|
const QString _pythonExe{ "python" };
|
|
#endif
|
|
|
|
QString _pythonCommand;
|
|
};
|
|
|
|
#endif // hifi_PythonInterface_h
|