//Singleton pattern public static Hooks GetInstance() { lock (syncLock) { if (thisInstance == null) { thisInstance = new Hooks(); } return(thisInstance); } }
public void InstallHook(Hooks.Hooks h) { h.AddHook("mungeQA", new LaTeXFilter()); }
public void Install(Hooks h) { h.AddHook("fmod_hint", new Hint()); }
public void Install(Hooks h) { h.AddHook("fmod_kanji", new Kanji()); h.AddHook("fmod_kana", new Kana()); h.AddHook("fmod_furigana", new Furigana()); }
public static void UnInstallHook(Hooks h) { h.RemoveHook("leech", leechHook); }
public static void InstallHook(Hooks h) { h.AddHook("leech", leechHook); }