2
我試圖做出力所能及的意義上,我學到了NPRuntime。 Here是從Mozilla的中央的NPRuntime插件,其中提到NPRuntime插件的示例以下行NPRuntime如何要求xpt文件?
// ==============================
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
現在AFAIK NPRuntime desn't需要複製XPT文件,xpt文件特定於XPCOM和NPRuntime不使用XPCOM。那麼上面的說法是什麼意思?
謝謝..報告錯誤:https://bugzilla.mozilla.org/show_bug.cgi?id = 546629 ...無法創建補丁:) – Xinus 2010-02-17 14:14:02