Première tranche verticale : domaine circuit via DataProvider/API
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
|
||||
// ============================================================================
|
||||
// Systeme (MOCK) - POC WebAssembly
|
||||
// ----------------------------------------------------------------------------
|
||||
// Bouchon de la classe Systeme réelle (systeme.h/systeme.cpp non disponibles
|
||||
// à ce stade). commande_shell() n'est appelée, dans les fichiers du POC, que
|
||||
// pour les installations "écran déporté" (synchro_repertoires_shiprs() dans
|
||||
// home_attente.qml) - hors scope du chemin ShipBase standard testé ici.
|
||||
// Bouchon neutre par sécurité, au cas où il serait tout de même invoqué.
|
||||
// ============================================================================
|
||||
class Systeme : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit Systeme(QObject *parent = nullptr) : QObject(parent) {}
|
||||
|
||||
Q_INVOKABLE QString commande_shell(const QString &commande, const QString &fichier_sortie)
|
||||
{
|
||||
Q_UNUSED(commande)
|
||||
Q_UNUSED(fichier_sortie)
|
||||
return QString();
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user