**C++ã®XPCOM on Linux âã¨åãããå ãã¿ã¯ããã -[[Creating a C++ XPCOM component:http://www.iosart.com/firefox/xpcom/]] è¨ç®ãããXPCOMãmyCalcãä½ããæ¡å¼µæ©è½ã¨ãã¦ã¤ã³ã¹ãã¼ã«ãã ãããã«ä½¿ã£ã¦ã¿ãã¨ããã¾ã§ã -myCalcã¯addã¨ããã¡ã½ããã ãããã¤ãªãã¸ã§ã¯ãã -myCalc.addã¯æ°å¤ã2ã¤å¼æ°ã¨ãã¦åãåã£ã¦ããããã®æ°å¤ã足ããçµæãè¿ãã -ä¾: myCalc.add(3, 4) // -> 7 Debian GNU/Linuxä¸ã§ã®è©±ã ã½ã¼ã¹ã¯[[ãã:http://www.cozmixng.org/repos/mozilla/xpcom-sample/]]ã 以ä¸ãä½ãæ¹ã ä½æ¥ç¨ãã£ã¬ã¯ããªãä½ã£ã¦ãããã¨ã % mkdir -p xpcom-samp
{{#tags}}- {{label}}
{{/tags}}