Skip to content

Instantly share code, notes, and snippets.

@MrSmith33
Created October 22, 2014 21:01
Show Gist options
  • Save MrSmith33/e5fb84c7deb848de1bd6 to your computer and use it in GitHub Desktop.
Save MrSmith33/e5fb84c7deb848de1bd6 to your computer and use it in GitHub Desktop.
module sharedmodule;
import imodule;
class SharedModule : IModule
{
override string name() @property { return "SharedModule"; }
override string semver() @property { return "0.1.0"; }
override void load() {}
override void init(IModuleManager moduleman){}
}
export extern(C) IModule getModuleInstance()
{
return new SharedModule;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment