fscomm.h 805 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef FSCOMM_H
  2. #define FSCOMM_H
  3. #include "account.h"
  4. #include "isettings.h"
  5. #include "fshost.h"
  6. #include "accountmanager.h"
  7. #define FSCOMM_GW_STATE_TRYING 0
  8. #define FSCOMM_GW_STATE_REGISTER 1
  9. #define FSCOMM_GW_STATE_REGED 2
  10. #define FSCOMM_GW_STATE_UNREGED 3
  11. #define FSCOMM_GW_STATE_UNREGISTER 4
  12. #define FSCOMM_GW_STATE_FAILED 5
  13. #define FSCOMM_GW_STATE_FAIL_WAIT 6
  14. #define FSCOMM_GW_STATE_EXPIRED 7
  15. #define FSCOMM_GW_STATE_NOREG 8
  16. #define FSCOMM_GW_STATE_NOAVAIL 9
  17. static QString fscomm_gw_state_names[] = {
  18. QString("Trying"),
  19. QString("Registering"),
  20. QString("Registered"),
  21. QString("Un-Registered"),
  22. QString("Un-Registering"),
  23. QString("Failed"),
  24. QString("Failed"),
  25. QString("Expired"),
  26. QString("Not applicable"),
  27. QString("Not available")
  28. };
  29. #endif // FSCOMM_H