fix:add more export function for struct Clipboard

This commit is contained in:
2025-11-10 12:33:11 +08:00
parent c4ecfd09ec
commit 7dafa52e7a
+32
View File
@@ -30,6 +30,38 @@ type Clipboard struct {
hash string hash string
} }
func (c *Clipboard) WinOriginTypes() []string {
return c.winOriginTypes
}
func (c *Clipboard) Date() time.Time {
return c.date
}
func (c *Clipboard) Platform() string {
return c.platform
}
func (c *Clipboard) SecondaryOriType() string {
return c.secondaryOriType
}
func (c *Clipboard) SecondaryType() FileType {
return c.secondaryType
}
func (c *Clipboard) SecondaryData() []byte {
return c.secondaryData
}
func (c *Clipboard) PrimaryOriType() string {
return c.primaryOriType
}
func (c *Clipboard) PrimaryData() []byte {
return c.primaryData
}
// format represents the format of clipboard data. // format represents the format of clipboard data.
type format int type format int