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