Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
/* $XConsortium: Link.h /main/1 1996/07/29 16:55:39 cde-hp $ */
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#ifndef Link_INCLUDED
#define Link_INCLUDED 1
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
#ifndef SP_API
#define SP_API
#endif
class SP_API Link {
public:
Link();
Link(Link *);
virtual ~Link();
private:
Link *next_;
friend class IListBase;
friend class IListIterBase;
friend class IQueueBase;
};
inline
Link::Link() : next_(0)
{
}
inline
Link::Link(Link *next) : next_(next)
{
}
#ifdef SP_NAMESPACE
}
#endif
#endif /* not Link_INCLUDED */