Changeset View
Changeset View
Standalone View
Standalone View
src/provider/core/provider.h
Show First 20 Lines • Show All 195 Lines • ▼ Show 20 Line(s) | 126 | #endif | |||
---|---|---|---|---|---|
196 | 196 | | |||
197 | /*! Returns the minimum time between two surveys in days. | 197 | /*! Returns the minimum time between two surveys in days. | ||
198 | * The default is -1 (no surveys enabled). | 198 | * The default is -1 (no surveys enabled). | ||
199 | */ | 199 | */ | ||
200 | int surveyInterval() const; | 200 | int surveyInterval() const; | ||
201 | 201 | | |||
202 | /*! Sets the minimum time in days between two surveys. | 202 | /*! Sets the minimum time in days between two surveys. | ||
203 | * @c -1 indicates no surveys should be requested. | 203 | * @c -1 indicates no surveys should be requested. | ||
204 | * @c 0 indicates no minimum time between surveys at all (i.e. bother the user as often as you want). | ||||
204 | */ | 205 | */ | ||
205 | void setSurveyInterval(int days); | 206 | void setSurveyInterval(int days); | ||
206 | 207 | | |||
207 | /*! Returns the amount of application starts before an encouragement message is shown. */ | 208 | /*! Returns the amount of application starts before an encouragement message is shown. */ | ||
208 | int applicationStartsUntilEncouragement() const; | 209 | int applicationStartsUntilEncouragement() const; | ||
209 | /*! Set the amount of application starts until the encouragement message should be shown. | 210 | /*! Set the amount of application starts until the encouragement message should be shown. | ||
210 | * The default is -1, ie. no encouragement based on application starts. | 211 | * The default is -1, ie. no encouragement based on application starts. | ||
211 | * @param starts The amount of application starts after which an encouragement | 212 | * @param starts The amount of application starts after which an encouragement | ||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |