From f742b03fb9cf6c4893a8c2d9f891f7124a1f69de Mon Sep 17 00:00:00 2001 From: Hammy Date: Tue, 27 Jul 2021 02:30:28 +0100 Subject: [PATCH] Add new class to send in notification events --- .../goudham/domain/OldClipboardContent.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/main/java/me/goudham/domain/OldClipboardContent.java diff --git a/src/main/java/me/goudham/domain/OldClipboardContent.java b/src/main/java/me/goudham/domain/OldClipboardContent.java new file mode 100644 index 0000000..1f75a14 --- /dev/null +++ b/src/main/java/me/goudham/domain/OldClipboardContent.java @@ -0,0 +1,24 @@ +package me.goudham.domain; + +import java.awt.image.BufferedImage; + +public class OldClipboardContent { + private String oldText; + private BufferedImage oldImage; + + public OldClipboardContent(String oldText) { + this.oldText = oldText; + } + + public OldClipboardContent(BufferedImage oldImage) { + this.oldImage = oldImage; + } + + public BufferedImage getOldImage() { + return oldImage; + } + + public String getOldText() { + return oldText; + } +}