Exemplo n.º 1
0
        public void init(IPluginHost pluginHost)
        {
            _pluginHost = pluginHost;
            _catFactory = pluginHost.catItemFactory();
            _matcher    = new PastaMatcher();

            var cfgPath       = pluginHost.launchyPaths().getConfigPath();
            var pastaFullPath = System.IO.Path.Combine(cfgPath, PASTA_FILENAME);

            _spagBowl = new ManualPastaBowl(pastaFullPath);
            _spagBowl.Load();
        }
Exemplo 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";
            }
        }
Exemplo n.º 3
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";
            }
        }