-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
considering (major)Considering for inclusion in next major releaseConsidering for inclusion in next major releaseconsidering (minor)Considering for inclusion in a minor / patch releaseConsidering for inclusion in a minor / patch releaseenhancementrefactoring
Description
PasHi & PasHiGUI use different methods of accessing the clipboard.
Reading code is different in each program: PasHi uses low level API calls while PasHiGUI uses OLE.
Writing code uses the low level API again in PasHi, while PasHiGUI uses the VCL Clipboard object.
This is a mess thats crying out for shared code. It would be much better to standardise on one method of access, preferably the OLE object.
Maybe a new TClipboardAdapter class is called for to get the OLE clipboard object and use code derived from PasHiGUI's TDataObjectAdapter class to help handle the IDataObject instances obtained from the clipboard.
See Src/GUI/UDataObjectAdapter.pas for TDataObjectAdapter.
Originally posted by @delphidabbler in #39 (comment)
Metadata
Metadata
Assignees
Labels
considering (major)Considering for inclusion in next major releaseConsidering for inclusion in next major releaseconsidering (minor)Considering for inclusion in a minor / patch releaseConsidering for inclusion in a minor / patch releaseenhancementrefactoring
Projects
Status
Considering