text: #include "ircframework.h"
  
  //Plugin infos
  plugininfo_s g_sPluginInfos = {
  	L"IRCFramework",
  	L"1.0",
  	L"Daniel Brendel",
  	L"dbrendel1988<at>gmail<dot>com",
  	L"IRC Framework manager"
  };
  
  bool dnyAS_PluginLoad(dnyVersionInfo version, IShellPluginAPI* pInterfaceData, plugininfo_s* pPluginInfos)
  {
  	//Called when plugin gets loaded
  
  	if ((!pInterfaceData) || (!pPluginInfos))
  		return false;
  
  	//Check version
  	if (version != DNY_AS_PRODUCT_VERSION_W) {
  		return false;
  	}
  
  	//Store plugin infos
  	memcpy(pPluginInfos, &g_sPluginInfos, sizeof(plugininfo_s));
  
  	return IRCFramework::Initialize(pInterfaceData);
  }
  
  void dnyAS_PluginUnload(void)
  {
  	//Called when plugin gets unloaded
  
  	IRCFramework::Release();
  }
  
  BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, LPVOID lpvReserved)
  {
  	return TRUE;
  }