代码之家  ›  专栏  ›  技术社区  ›  Xinus

为什么NPRuntime需要xpt文件?

  •  2
  • Xinus  · 技术社区  · 15 年前

    我试图弄明白我所学到的一切 . Here 来自的插件 属于 时间 插件,其中提到以下几行

    // ==============================
    145 // ! Scriptability related code !
    146 // ==============================
    147 //
    148 // here the plugin is asked by Mozilla to tell if it is scriptable
    149 // we should return a valid interface id and a pointer to 
    150 // nsScriptablePeer interface which we should have implemented
    151 // and which should be defined in the corressponding *.xpt file
    152 // in the bin/components folder
    

    时间 我们不需要复印 文件 文件是特定于 时间 不使用 XPCOM . 那么,上述声明是什么意思呢?

    1 回复  |  直到 15 年前
        1
  •  4
  •   Nickolay    15 年前

    正如您从实际代码中看到的那样,该注释涉及xpt和nsScriptablePeer。请在Core:Plugins中提交一个关于此的bug,并在评论中提及(补丁的额外点数!)

    推荐文章