Skip to content

Commit

Permalink
added notes about new optional sslmode parameter in 1.1
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10493 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 7, 2009
1 parent aadefd7 commit 977b2af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/core/qgsdatasourceuri.sip
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class QgsDataSourceURI
%End

public:
//! \note enumeration added in version 1.1
enum SSLmode { SSLprefer, SSLdisable, SSLallow, SSLrequire };

//! default constructor
Expand All @@ -30,6 +31,7 @@ public:
QString quotedTablename() const;

//! Set all connection related members at once
//! \note This optional sslmode parameter has been added in version 1.1
void setConnection(const QString& aHost,
const QString& aPort,
const QString& aDatabase,
Expand Down
2 changes: 2 additions & 0 deletions src/core/qgsdatasourceuri.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
class CORE_EXPORT QgsDataSourceURI
{
public:
//! \note enumeration added in version 1.1
enum SSLmode { SSLprefer, SSLdisable, SSLallow, SSLrequire };

//! default constructor
Expand All @@ -48,6 +49,7 @@ class CORE_EXPORT QgsDataSourceURI
QString quotedTablename() const;

//! Set all connection related members at once
//! \note This optional sslmode parameter has been added in version 1.1
void setConnection( const QString& aHost,
const QString& aPort,
const QString& aDatabase,
Expand Down

0 comments on commit 977b2af

Please sign in to comment.