Next Prev Up Top Contents Index

define-dde-server

Macro

Summary

Defines a class for a Lisp DDE server.

Package

win32

Signature

define-dde-server class-name service-name => class-name

define-dde-server class-name superclasses slot-specs options => class-name

Arguments

class-name

A class name.

service-name

A string.

superclasses

A list of superclasses.

slot-specs

The specifications for the class' slots.

options

A keyword option.

Values

class-name

A class name.

Description

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.

Example

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"))

See also

dde-server-topic

dde-server-topics

dde-topic-items


LispWorks Reference Manual (Windows version) - 14 Dec 2001

Next Prev Up Top Contents Index