SoftKey.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // SoftKey.h: interface for the SoftKey class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_SOFTKEY_H__574C48E9_F1A1_4E3B_96C6_AFBE79D0F560__INCLUDED_)
  5. #define AFX_SOFTKEY_H__574C48E9_F1A1_4E3B_96C6_AFBE79D0F560__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class SoftKey
  10. {
  11. public:
  12. char KeyPath[260];
  13. int Ini();
  14. int code2(long *D0, long *D1,long *D2, long *D3,long *D4, long *D5,long *D6, long *D7,
  15. double *F0, double *F1,double *F2, double *F3,double *F4, double *F5,double *F6, double *F7,
  16. char *S0, char *S1,char *S2, char *S3,char *S4, char *S5,char *S6, char *S7);
  17. int code1(long *D0, long *D1,long *D2, long *D3,long *D4, long *D5,long *D6, long *D7,
  18. double *F0, double *F1,double *F2, double *F3,double *F4, double *F5,double *F6, double *F7,
  19. char *S0, char *S1,char *S2, char *S3,char *S4, char *S5,char *S6, char *S7);
  20. int pswexist(long *D0, long *D1,long *D2, long *D3,long *D4, long *D5,long *D6, long *D7,
  21. double *F0, double *F1,double *F2, double *F3,double *F4, double *F5,double *F6, double *F7,
  22. char *S0, char *S1,char *S2, char *S3,char *S4, char *S5,char *S6, char *S7);
  23. //addtofile...Çë²»ÒªÐÞ¸ÄÕâÀï
  24. void GetErrInfo(long err,TCHAR *ErrInfo );
  25. int ConnectSvr(TCHAR *ServerName,int Port);
  26. int ConnectAddNew(short Addr,TCHAR *OutVefCode);
  27. int ConnectAdd(short Addr);
  28. long GetKeySetCount(short Addr);
  29. short GetIpCount();
  30. short GetConCount();
  31. int DisConnect();
  32. SoftKey();
  33. virtual ~SoftKey();
  34. };
  35. #endif // !defined(AFX_SOFTKEY_H__574C48E9_F1A1_4E3B_96C6_AFBE79D0F560__INCLUDED_)