;; -*-theme-d-*-

;; Copyright (C) 2025 Tommi Höynälänmaa

;; This file is part of Theme-D-Intr.

;; You can redistribute and/or modify this file under the terms of the
;; GNU Lesser General Public License as published by the Free Software
;; Foundation, either version 3 of the License, or (at your option) any
;; later version.

;; This file 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
;; General Public License for more details.

;; You should have received a copy of the GNU Lesser General Public License
;; along with this program. If not, see https://www.gnu.org/licenses/.


(define-interface (intr-gtk4-examples calc2 ui-interface)


  (import (standard-library core))

  (import (intr-gtk4-examples calc2 _intr-imports))


  (define-class <ui-interface>
    (fields
     (app <gtk-application> module module)))
     ;; (window-app <gtk-window> module module)))


  (declare-simple-method ui-cb-load-config-error
    (<ui-interface> <object> (:procedure () <none> nonpure)) <none> nonpure))
