home *** CD-ROM | disk | FTP | other *** search
- #ifndef __RWMODEL_H__
- #define __RWMODEL_H__
- pragma push_align_members(64);
-
- /*
- * RWModel --- maintains a list of dependent clients
- *
- * $Header: E:/vcs/rw/model.h_v 1.1 18 Feb 1992 09:55:34 KEFFER $
- *
- ****************************************************************************
- *
- * Rogue Wave
- * P.O. Box 2328
- * Corvallis, OR 97339
- * Voice: (503) 754-3010 FAX: (503) 757-6650
- *
- * Copyright (C) 1991. This software is subject to copyright
- * protection under the laws of the United States and other countries.
- *
- ***************************************************************************
- *
- * $Log: E:/vcs/rw/model.h_v $
- *
- * Rev 1.1 18 Feb 1992 09:55:34 KEFFER
- *
- * Rev 1.0 12 Nov 1991 13:13:18 keffer
- * Initial revision.
- */
-
- #include "rw/ordcltn.h"
-
- class RWExport RWModel : public RWCollectable {
- RWOrdered dependList;
- public:
- RWModel();
- void addDependent(RWModel*);
- void removeDependent(RWModel*);
- RWOrdered* dependents();
- virtual void changed(); // Notify all dependents
- virtual void updateFrom(RWModel*) = 0;
- };
-
- pragma pop_align_members();
- #endif /* __RWMODEL_H__ */
-