摘要: ::wxGetTranslation()
const wxChar * wxGetTranslation(const wxChar* str, const wxChar* domain = NULL)
const wxChar * wxGetTranslation(const wxChar* str, const wxChar* strPlural, size_t n, const wxChar* domain = NULL)
This function returns the translation of string str in the current locale. If the string is not found in any of the loaded message catalogs (see internationalization overview), the original string is returned. In debug build, an error message is logged -- t
閱讀全文
摘要: 當(dāng)Adobe、Microsoft、Sun等一系列巨頭開始表現(xiàn)出對”開源”的青睞時(shí),”開源”的時(shí)代即將到來!
最初來自:http://www.sinoprise.com/read.php?tid-662-page-e-fpage-1.html(遺憾的是這個(gè)鏈接已經(jīng)打不開了),我基本未改動,只是進(jìn)行了一些排版和整理。
參考文獻(xiàn):http://www.fsf.org/licensing/licenses/
現(xiàn)今存在的開源協(xié)議很多,而經(jīng)過Open Source Initiative組織通過批準(zhǔn)的開源協(xié)議目前有58種(http://www.opensource.org/licenses/alphabetical)。我們在常見的開源協(xié)議如BSD, GPL, LGPL,MIT等都是OSI批準(zhǔn)的協(xié)議。如果要開源自己的代碼,最好也是選擇這些被批準(zhǔn)的開源協(xié)議。
這里我們來看四種最常用的開源協(xié)議及它們的適用范圍,供那些準(zhǔn)備開源或者使用開源產(chǎn)品的開發(fā)人員/廠家參考。
閱讀全文