// $Source: /usr/local/SimSoft/Sfx3D/src/gsl/layout.h,v $
// $Revision: 1.2 $
// $Author: baum $
// $Date: 2001/11/29 15:18:09 $
//
// Login name of the user who locked the revision
// $Locker:  $
// Tag name used to checkout the file
// $Name:  $
// State assigned to revision
// $State: Exp $
//
//
// $Log: layout.h,v $
// Revision 1.2  2001/11/29 15:18:09  baum
// -Realzeitsteuerung eingebaut
// -Handsteuerung eingebaut
//

#ifndef _LAYOUT_H
#define _LAYOUT_H  1

#include "baustein.h"

#ifdef _LAYOUT_CPP
#  undef _impexp
#  define _impexp __declspec(dllexport)
#elif defined BUILD_MAIN_DLL
#  undef _impexp
#  define _impexp 
#else
#  undef _impexp
#  define _impexp __declspec(dllimport)
#endif

#if defined __GNUC__ || defined __hpux
#  undef _impexp
#  define _impexp
#endif

//---------------------------------------------------------
// Klasse typLayout
//---------------------------------------------------------

class _impexp typLayout : public typBaustein {
  public :
    typLayout (unsigned n, unsigned b);
    virtual ~typLayout ();

    virtual void typTGSlesen   (InputFile& file);

    virtual bool hasKapazitaet (typTransportEinheit*) const;

  private :
    virtual void individuellAktivieren (typBaustein* vonWem);
};

#endif
