From 2259a1062d86117fb3f68a1a57885b839dd503d6 Mon Sep 17 00:00:00 2001 From: Drew Crampsie Date: Wed, 11 Jan 2006 17:49:48 -0800 Subject: [PATCH] Added note about depreciation of the old LoL interface. darcs-hash:20060112014948-5417e-13a4284c3d8c07ca1aa628df8d024f0ab59289ba.gz --- src/lisp-on-lines.lisp | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/src/lisp-on-lines.lisp b/src/lisp-on-lines.lisp index 8652e10..617b124 100644 --- a/src/lisp-on-lines.lisp +++ b/src/lisp-on-lines.lisp @@ -64,18 +64,24 @@ This involves creating a meta-model, a clsql view-class, and the setting up the "expands to init-i-f-t using the listing of tables provided by meta-model" `(define-view-for-table ,@(meta-model::list-tables))) + + +;;;; These are some macros over the old presentation system. +;;;; Considered depreciated, they will eventually be implemented in terms of the new +;;;; display system, and delegated to backwards-compat-0.2.lisp + (eval-when (:compile-toplevel :load-toplevel :execute) (defun %make-view (object type attributes args) - (when attributes - (setf args - (cons `(:attributes ,attributes) args))) - `(mewa::make-presentation - ,object - :type ,type - ,@(when args - `(:initargs - '(,@ (mapcan #'identity args))))))) + (when attributes + (setf args + (cons `(:attributes ,attributes) args))) + `(mewa::make-presentation + ,object + :type ,type + ,@(when args + `(:initargs + '(,@ (mapcan #'identity args))))))) (defmethod make-view (object &rest args &key (type :viewer) &allow-other-keys ) -- 2.20.1