class interface CLIPBOARD_BITMAP

creation
   make (p: WINDOW)
      --  Create clipboard object.

      require
         valid: p /= Void and then p.is_valid
      ensure
         keep_reference: parent = p

feature(s) from CLIPBOARD
   --  Clipboard access

   put
      --  Put the current information in the clipboard.


   get
      --  Get information from the clipboard.

      require
         has_selection: has_data
      ensure
         done:  --  has_result set

   has_data: BOOLEAN
      --  Is a bitmap available?


   has_result: BOOLEAN
      --  Result of last get operation.


feature(s) from CLIPBOARD_BITMAP
   set_bitmap (bm: BITMAP_DEVICE)
      --  Set a metafile for copying to the clipboard.

      require
         ready: bm.is_ready; --  bm.is_ready when put too.
         stays_ready: 
      ensure
         keep_reference: bitmap = bm

   last_bitmap: BITMAP_DEVICE
      --  Last retrieved drawable metafile.

      require
         possible: has_result


end of CLIPBOARD_BITMAP