public TrojanSettingManager(string SettingPath, InfoDispDelegate InfoDisp, NoticeDispDelegate NotiDisp, TrojanProcessManager Tpm) { infoDisp = InfoDisp; notiDisp = NotiDisp; infoDisp("Loading setting file", "LiSettMgmt"); SettPath = SettingPath; Setting = new TrojanSetting(); autosave = new Thread(AutoSave); autorestart = new Thread(AutoDetect); tpm = Tpm; }
// Some 'system route' & 'speed test' things will goes here. public TrojanNetworkManager(TrojanConfig Config, NoticeDispDelegate NotiDisp) { conf = Config; notiDisp = NotiDisp; }