Last active
August 27, 2018 20:13
-
-
Save iFlake/4900642e17003a51994b19f4691fdbcc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class MyTestApp { | |
private static Fleka.DotnetVcmp.Interop.PluginFunctions _pluginFunctions; | |
[Fleka.DotnetVcmp.Interop.EntryPoint] | |
public static void MyEntryPoint(Fleka.DotnetVcmp.Interop.PluginFunctions pluginFunctions, ref Fleka.DotnetVcmp.Interop.PluginCallbacks pluginCallbacks) { | |
_pluginFunctions = pluginFunctions; | |
pluginCallbacks.OnServerInitialize = OnServerInitialize; | |
} | |
internal static byte OnServerInitialize() { | |
_pluginFunctions.LogMessage("%s", "Hello world"); | |
return 1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment