Made methods protected and added descriptions

This commit is contained in:
carolinux 2015-03-31 22:00:23 +08:00 committed by elpaso
parent a7515ad6fd
commit 573f28a8ec

View File

@ -45,13 +45,6 @@ class QgsPythonUtilsImpl : public QgsPythonUtils
bool startServerPlugin( QString packageName ) override;
#endif
// functions that do the initialization work
bool checkSystemImports();
bool checkQgisUser();
void doUserImports();
void init();
void finish();
//! close python interpreter
void exitPython() override;
@ -121,6 +114,25 @@ class QgsPythonUtilsImpl : public QgsPythonUtils
protected:
/* functions that do the initialization work */
//! initialize Python context
void init();
//! check qgis imports and plugins
//@return true if all imports worked
bool checkSystemImports();
//@return true if qgis.user could be imported
bool checkQgisUser();
//! import user defined Python code
void doUserImports();
//! cleanup Python context
void finish();
void installErrorHook();
void uninstallErrorHook();