Skip to content
Permalink
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 with 19 additions and 7 deletions.
  1. +19 −7 src/python/qgspythonutilsimpl.h
@@ -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();

0 comments on commit 573f28a

Please sign in to comment.
You can’t perform that action at this time.