Skip to content

Commit

Permalink
Add missing since docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Jun 12, 2022
1 parent 6b70c46 commit 428954f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package fyne

// CloudProvider specifies the identifying information of a cloud provider.
// This information is mostly used by the `fyne.io/cloud ShowSettings' user flow.
//
// Since: 2.3
type CloudProvider interface {
// ProviderDescription returns a more detailed description of this cloud provider.
ProviderDescription() string
Expand All @@ -16,6 +18,8 @@ type CloudProvider interface {

// CloudProviderPreferences interface defines the functionality that a cloud provider will include if it is capable
// of synchronizing user preferences.
//
// Since: 2.3
type CloudProviderPreferences interface {
// CloudPreferences returns a preference provider that will sync values to the cloud this provider uses.
CloudPreferences(App) Preferences
Expand Down
3 changes: 3 additions & 0 deletions preferences.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@ type Preferences interface {
// AddChangeListener allows code to be notified when some preferences change. This will fire on any update.
AddChangeListener(func())

// ChangeListeners returns a list of the known change listeners for this preference set.
//
// Since: 2.3
ChangeListeners() []func()
}

0 comments on commit 428954f

Please sign in to comment.