⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hxconst.pas

📁 一个基于Socket的在线更新程序
💻 PAS
字号:
unit hxConst;

interface

type
  TSessionEvent = (seLogin, seLogout, seError);
  
  TDBConnectType = (ctBDE, ctADO, ctDBExpress);

  PAccountInfo = ^TAccountInfo;
  TAccountInfo = record
    Name: string;
    Privilege: string;
    Description: string;
    Password: string;
  end;

  PMemberInfo = ^TMemberInfo;
  TMemberInfo = record
    MemberID: string;
    Password: string;
    Description: string;
    Contact: string;
    Phone: string;
    Email: string;
  end;

  PSocksInfo = ^TSocksInfo;
  TSocksInfo = record
    ProxyIP: PChar;     //代理服务器IP
    ProxyPort: Integer; //代理服务器端口
    ProxyUser: PChar;   //代理服务器用户名
    ProxyPass: PChar;   //代理服务器密码
  end;

  //下载进度
  TDownloadStatus = (dsBegin, dsFileBegin, dsFileData, dsFileEnd, dsEnd, dsError);
  TDownloadProgress = procedure(DownloadStatus: TDownloadStatus; FileName: string;
    WorkCount: Integer);
  
implementation

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -