| 93 | } |
| 94 | |
| 95 | void CPlugin::InitIdentity() |
| 96 | { |
| 97 | if (m_handle) |
| 98 | return; |
| 99 | |
| 100 | m_ident = g_ShareSys.CreateIdentity(g_PluginIdent, this); |
| 101 | m_handle = handlesys->CreateHandle(g_PluginType, this, g_PluginSys.GetIdentity(), g_PluginSys.GetIdentity(), NULL); |
| 102 | m_pRuntime->SetKey(1, m_ident); |
| 103 | m_pRuntime->SetKey(2, (IPlugin *)this); |
| 104 | } |
| 105 | |
| 106 | void CPlugin::DestroyIdentity() |
| 107 | { |
no test coverage detected