Skip to content
Browse files
Made methods protected and added descriptions
  • Loading branch information
carolinux authored and elpaso committed Aug 4, 2015
1 parent a7515ad commit 573f28a8eceada1c69a02f101914a654dbace16e
Showing 1 changed file with 19 additions and 7 deletions.
@@ -45,13 +45,6 @@ class QgsPythonUtilsImpl : public QgsPythonUtils
bool startServerPlugin( QString packageName ) override;

// 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


/* 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();

0 comments on commit 573f28a

Please sign in to comment.