- corrigé bug a la saisie du serveur\n- corrigé bug si adresse serveur vide

This commit is contained in:
2024-08-22 23:08:42 +02:00
parent ec38ce4ec3
commit 3396fde813
17 changed files with 1668 additions and 990 deletions
+8 -6
View File
@@ -1,6 +1,8 @@
#ifndef TOOLS_H
#define TOOLS_H
#define DEBUGMACRO QString(__FILE__) + "->" + QString(Q_FUNC_INFO) + ": " + QString::number(__LINE__) + " -"
#include <string>
#include <vector>
#include <array>
@@ -10,15 +12,15 @@
#include <QProcess>
#include <QMimeDatabase>
#include <QMimeType>
#include "mainwindow.h"
using namespace std;
FILE * popen2(array<string,8> argv, string type, int & pid);
int pclose2(FILE * fp, pid_t pid);
bool testRsyncReturn(MainWindow *, QProcess *);
QString getFileType(QString finename);
int whatIpVersion(QString);
QString getFileType(QString filename);
int whatIpVersion(QString server);
void warning(QString message);
void error(QString message);
void info(QString debugHeader, QString message);
#endif // TOOLS_H