
define-dde-server class-name service-name => class-name
define-dde-server class-name superclasses slot-specs options => class-name
A class name.
A string.
A list of superclasses.
The specifications for the class' slots.
A keyword option.
The macro define-dde-server defines a class for a Lisp DDE server. The class inherits from dde-server .
The long form of the macro is similar to defclass , but with one extra option, :service , which is used to specify the service name string to which this server will respond.
The short form is provided to handle the common simple case; class-name is the name of the Lisp class to be defined, and service-name is the service name string to which this server will respond.
The first example uses the short version of define-dde-server to define a class, called lisp-server , which has the service name " LISP ".
(define-dde-server lisp-server "LISP")The second example shows how to use the long for of the macro to define the same class, and illustrates the use of the superclasses and options arguments.
(define-dde-server lisp-server (dde-server)
()
(:service "LISP"))