Skip to content

Commit

Permalink
Made methods protected and added descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinux authored and elpaso committed Aug 4, 2015
1 parent a7515ad commit 573f28a
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions src/python/qgspythonutilsimpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 573f28a

Please sign in to comment.