Added note about depreciation of the old LoL interface.
authorDrew Crampsie <drewc@tech.coop>
Thu, 12 Jan 2006 01:49:48 +0000 (17:49 -0800)
committerDrew Crampsie <drewc@tech.coop>
Thu, 12 Jan 2006 01:49:48 +0000 (17:49 -0800)
darcs-hash:20060112014948-5417e-13a4284c3d8c07ca1aa628df8d024f0ab59289ba.gz

src/lisp-on-lines.lisp

index 8652e10..617b124 100644 (file)
@@ -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 )