snccore.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #ifndef SNCCORE_H
  2. #define SNCCORE_H
  3. #include "loghelper.h"
  4. #include "SNCCore_global.h"
  5. class SNCCORESHARED_EXPORT SNCCore {
  6. public:
  7. SNCCore();
  8. static int getBatchGroups(int size,int pers);
  9. };
  10. static QMutex mymutex; // add by wzx
  11. enum NumberBuildType
  12. {
  13. NumberFromSegments = 0,
  14. NumberFromFileImport = 1,
  15. NumberFromFileExtract = 2,
  16. NumberFromContent = 3,
  17. NumberFromBigFile = 4,
  18. NumberFromSolution= 5
  19. };
  20. enum NumberProcessType
  21. {
  22. NumberSort = 0,
  23. NumberRemoveDuplicate = 1,
  24. NumberRemoveBlackList = 2,
  25. NumberOutOfOrder = 3,
  26. NumberRemoveNotPhone = 4
  27. };
  28. enum NumberMoveType
  29. {
  30. MoveByAll = 0,
  31. MoveByRegex = 1,
  32. MoveByRange= 2
  33. };
  34. enum NumberExportType
  35. {
  36. ExportByAll = 0,
  37. ExportByBatch = 1,
  38. ExportByCorp = 2,
  39. ExportByRegion = 3,
  40. ExportByDuplicate = 4,
  41. ExportBySegment = 5
  42. };
  43. enum NumberMoveDirection
  44. {
  45. UpDirection = 0,
  46. DownDirection = 1
  47. };
  48. enum NumberModelType
  49. {
  50. SourceModel = 0,
  51. DestModel = 1
  52. };
  53. enum FileCompareType
  54. {
  55. Export2File = 0,
  56. Export3File = 1,
  57. IntegrateFile = 2
  58. };
  59. enum AccountLoginState
  60. {
  61. LoginOk = 0,
  62. NotLogin = 1,
  63. NotBind = 2,
  64. LoginError = 3
  65. };
  66. #endif // SNCCORE_H