From daed9569a0f1d2231c4f824f6cffd72d5f8ae8bd Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Wed, 24 Aug 2022 22:51:58 +0200 Subject: Notifs (#111) * Start on notifications * Finish notifications (pog) * oop * internalizing * misc: set default duration to 4000ms * Scaling notifs stuff Co-authored-by: Wyvest <45589059+Wyvest@users.noreply.github.com> --- .../utils/notifications/Notifications.java | 58 ---------------------- 1 file changed, 58 deletions(-) delete mode 100644 src/main/java/cc/polyfrost/oneconfig/utils/notifications/Notifications.java (limited to 'src/main/java/cc/polyfrost/oneconfig/utils/notifications/Notifications.java') diff --git a/src/main/java/cc/polyfrost/oneconfig/utils/notifications/Notifications.java b/src/main/java/cc/polyfrost/oneconfig/utils/notifications/Notifications.java deleted file mode 100644 index 4038355..0000000 --- a/src/main/java/cc/polyfrost/oneconfig/utils/notifications/Notifications.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * This file is part of OneConfig. - * OneConfig - Next Generation Config Library for Minecraft: Java Edition - * Copyright (C) 2021, 2022 Polyfrost. - * - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * OneConfig is licensed under the terms of version 3 of the GNU Lesser - * General Public License as published by the Free Software Foundation, AND - * under the Additional Terms Applicable to OneConfig, as published by Polyfrost, - * either version 1.0 of the Additional Terms, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License. If not, see . You should - * have also received a copy of the Additional Terms Applicable - * to OneConfig, as published by Polyfrost. If not, see - * - */ - -package cc.polyfrost.oneconfig.utils.notifications; - -/** - * @deprecated Reserved for future use, not implemented yet. - */ -@Deprecated -public final class Notifications { - public static final Notifications INSTANCE = new Notifications(); - private Notifications() { - - } - - public void send(String title, String message) { - - } - - public void send(String title, String message, Runnable action) { - - } - - public void send(String title, String message, float duration) { - - } - - public void send(String title, String message, float duration, Runnable action) { - - } - - public void send(String title, String message, float duration, Runnable action, Runnable onClose) { - - } -} -- cgit