[NEW] Make NativeLangSpeaker object available for all classes in Notepad++.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@734 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
1e48bf25f1
commit
9b37f57e33
|
@ -121,6 +121,8 @@ Notepad_plus::Notepad_plus(): _mainWindowStatus(0), _pDocTab(NULL), _pEditView(N
|
|||
}
|
||||
#endif
|
||||
|
||||
(NppParameters::getInstance())->setNativeLangSpeaker(&_nativeLangSpeaker);
|
||||
|
||||
TiXmlDocument *toolIconsDocRoot = (NppParameters::getInstance())->getToolIcons();
|
||||
|
||||
if (toolIconsDocRoot)
|
||||
|
|
|
@ -1428,6 +1428,12 @@ public:
|
|||
PluginList & getPluginList() {return _pluginList;};
|
||||
bool importUDLFromFile(generic_string sourceFile);
|
||||
bool exportUDLToFile(int langIndex2export, generic_string fileName2save);
|
||||
NativeLangSpeaker * getNativeLangSpeaker() {
|
||||
return _pNativeLangSpeaker;
|
||||
};
|
||||
void setNativeLangSpeaker(NativeLangSpeaker *nls) {
|
||||
_pNativeLangSpeaker = nls;
|
||||
};
|
||||
|
||||
private:
|
||||
NppParameters();
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
#include "tinyxmlA.h"
|
||||
#endif //TINYXMLA_INCLUDED
|
||||
|
||||
#include "FindReplaceDlg.h"
|
||||
#include "preferenceDlg.h"
|
||||
class FindReplaceDlg;
|
||||
class PreferenceDlg;
|
||||
|
||||
class NativeLangSpeaker {
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue