/*  $Id: Link.h,v 1.3 1997/04/04 08:22:58 jan Exp $

    Part of XPCE
    Designed and implemented by Anjo Anjewierden and Jan Wielemaker
    E-mail: jan@swi.psy.uva.nl

    Copyright (C) 1993-1997 University of Amsterdam. All rights reserved.
*/

#ifndef _PCE_LINK_H
#define _PCE_LINK_H

PceExternalClass(ClassLink);
class PceLink :public PceObject
{
public:
  PceLink() :
    PceObject(ClassLink)
  {
  }
  PceLink(PceArg handle_kind1) :
    PceObject(ClassLink, handle_kind1)
  {
  }
  PceLink(PceArg handle_kind1, PceArg handle_kind2) :
    PceObject(ClassLink, handle_kind1, handle_kind2)
  {
  }
  PceLink(PceArg handle_kind1, PceArg handle_kind2, PceArg line) :
    PceObject(ClassLink, handle_kind1, handle_kind2, line)
  {
  }
  PceLink(PceArg handle_kind1, PceArg handle_kind2, PceArg line, PceArg connection_class) :
    PceObject(ClassLink, handle_kind1, handle_kind2, line, connection_class)
  {
  }
};

inline PceLink
AsLink(PceArg a)
{ return *((PceLink*) &a);
}

#endif /*!_PCE_LINK_H*/
