示例#1
0
        static TildeSupportPlugin()
        {
            TccEventManager.Register(new PluginInfo
            {
                Author      = "James Treworgy",
                Description = "Add tilde support on some commands",
                Email       = "*****@*****.**",
                ModuleName  = "?",
                WebSite     = "https://github.com/jamietre/tcc-plugin"
            });

            Tcc         = new TccCommands();
            Tcc.MapPath = Helpers.MapPath;

            Loader = new ExternalLoader(Tcc);

            //LoadAssemblies();
        }
示例#2
0
 public static uint UNKNOWN_CMD([MarshalAs(UnmanagedType.LPTStr)] StringBuilder sb)
 {
     return(TccEventManager.UnknownCommand(sb));
 }
示例#3
0
 private static uint key(IntPtr keyInfoPtr)
 {
     return(TccEventManager.Key(keyInfoPtr));
 }
示例#4
0
 private static uint ShutdownPlugin(int bEndProcess)
 {
     return(TccEventManager.ShutdownPlugin(bEndProcess));
 }
示例#5
0
 private static IntPtr GetPluginInfo(IntPtr hModule)
 {
     return(TccEventManager.GetPluginInfo(hModule));
 }
示例#6
0
 private static uint InitializePlugin()
 {
     TccEventManager.LoadConfig();
     return(TccEventManager.InitializePlugin());
 }
示例#7
0
 public unsafe static uint CONFIG([MarshalAs(UnmanagedType.LPTStr)] StringBuilder sb)
 {
     TccEventManager.LoadConfig();
     return(0);
 }