Skip to content

Commit

Permalink
Sipify
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 16, 2018
1 parent f993ec0 commit 4c3aeb8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion python/core/auto_generated/qgsofflineediting.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,23 @@ class QgsOfflineEditing : QObject
UpdateGeometries
};

enum ContainerType
{
SpatiaLite,
GPKG
};

QgsOfflineEditing();

bool convertToOfflineProject( const QString &offlineDataPath, const QString &offlineDbFile, const QStringList &layerIds, bool onlySelected = false );
bool convertToOfflineProject( const QString &offlineDataPath, const QString &offlineDbFile, const QStringList &layerIds, bool onlySelected = false, ContainerType containerType = SpatiaLite );
%Docstring
Convert current project for offline editing

:param offlineDataPath: Path to offline db file
:param offlineDbFile: Offline db file name
:param layerIds: List of layer names to convert
:param onlySelected: Only copy selected features from layers where a selection is present
:param containerType: defines the SQLite file container type like SpatiaLite or GPKG
%End

bool isOfflineProject() const;
Expand Down

0 comments on commit 4c3aeb8

Please sign in to comment.