Aucune description

functions.h 1.1KB

12345678910111213141516171819202122232425262728293031
  1. #ifndef FUNCTIONS_H
  2. #define FUNCTIONS_H
  3. #include <string>
  4. using namespace std;
  5. bool validateSorts(const QString &a, const QString &b, const QString &c);
  6. void mySortAlpha(QString &a, QString &b, QString &c);
  7. void mySortBeta(QString &a, QString &b, QString &c);
  8. void mySortGamma(QString &a, QString &b, QString &c);
  9. void mySortDelta(QString &a, QString &b, QString &c);
  10. bool validZuluTime(const QString &time, const QString &zone, int &hours, int &minutes);
  11. QString zuluAlpha(int hours, int minutes, char zone);
  12. QString zuluBeta(int hours, int minutes, char zone);
  13. QString zuluGamma(int hours, int minutes, char zone);
  14. QString zuluDelta(int hours, int minutes, char zone);
  15. int RPSAlpha(char p1, char p2, int &score1, int &score2);
  16. int RPSBeta(char p1, char p2, int &score1, int &score2);
  17. int RPSGamma(char p1, char p2, int &score1, int &score2);
  18. int RPSDelta(char p1, char p2, int &score1, int &score2);
  19. void initCheckWMaps();
  20. bool validateCheckQty(QString st, unsigned int &qty);
  21. QString checkWAlpha(int n);
  22. QString checkWBeta(int n);
  23. QString checkWGamma(int n);
  24. QString checkWDelta(int n);
  25. #endif // FUNCTIONS_H