-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various API cleanups and improvements
- Loading branch information
Showing
10 changed files
with
43 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Package apis contains dbus paths and call names for various portal apis. | ||
package apis | ||
|
||
const ( | ||
ObjectName = "org.freedesktop.portal.Desktop" | ||
ObjectPath = "/org/freedesktop/portal/desktop" | ||
|
||
CallBaseName = "org.freedesktop.portal" | ||
|
||
RequestInterface = "org.freedesktop.portal.Request" | ||
ResponseMember = "Response" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
package portal | ||
|
||
// TODO: Move these internal details to internal/ package. | ||
import "errors" | ||
|
||
const ( | ||
ObjectName = "org.freedesktop.portal.Desktop" | ||
ObjectPath = "/org/freedesktop/portal/desktop" | ||
|
||
CallBaseName = "org.freedesktop.portal" | ||
|
||
RequestInterface = "org.freedesktop.portal.Request" | ||
ResponseMember = "Response" | ||
) | ||
// ErrunexpectedResonse is returned when the received dbus data was in an unexpected format. | ||
var ErrUnexpectedResponse = errors.New("unexpected response from dbus") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters