Ejemplo n.º 1
0
 public void init(LaunchySharp.IPluginHost pluginHost)
 {
     m_pluginHost = pluginHost;
     if (m_pluginHost != null)
     {
         m_catItemFactory = m_pluginHost.catItemFactory();
     }
     m_id = m_pluginHost.hash(m_name);
     m_icon = pluginHost.launchyPaths().getIconsPath() + "\\Pidginy.ico";
 }
Ejemplo n.º 2
0
        public void init(LaunchySharp.IPluginHost pluginHost)
        {
            m_pluginHost = pluginHost;
            if (m_pluginHost == null)
            {
                return;
            }
            m_catItemFactory = m_pluginHost.catItemFactory();
            m_launchyPaths   = m_pluginHost.launchyPaths();

            m_name      = ("Go-Y#");
            m_id        = m_pluginHost.hash(m_name);
            m_labelHash = m_id;
            if (m_iconPath == "")
            {
                //set default only if empty. Should have already been set in setPath()
                m_iconPath = m_launchyPaths.getIconsPath() + "\\Go-Y#.ico";
            }
        }