Skip to content

Commit

Permalink
API doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Aug 24, 2012
1 parent eaecf0c commit 0cd6177
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/core/qgsrasterdataprovider.h
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,11 @@ class CORE_EXPORT QgsRasterDataProvider : public QgsDataProvider, public QgsRast
return false;
}

/** Set no data value on created dataset */
virtual bool setNoDataValue( int, double ) { return false; }
/** Set no data value on created dataset
* @param bandNo band number
* @param noDataValue no data value
*/
virtual bool setNoDataValue( int bandNo, double noDataValue ) { Q_UNUSED( bandNo ); Q_UNUSED( noDataValue ); return false; }

/**Returns the formats supported by create()*/
virtual QStringList createFormats() const { return QStringList(); }
Expand Down

0 comments on commit 0cd6177

Please sign in to comment.