home *** CD-ROM | disk | FTP | other *** search
- #include <istatnry.hpp>
-
-
- // Constructor
- template < class AModel, class AView >
- IComponentStationeryFor< AModel, AView >::IComponentStationeryFor()
- : IComponentStationery()
- {
-
- }
-
- // Destructor
- template < class AModel, class AView >
- IComponentStationeryFor< AModel, AView >::~IComponentStationeryFor()
- {
-
- }
-
- // createModel
- // creates a model and returns a pointer
- template < class AModel, class AView >
- IModel*
- IComponentStationeryFor< AModel, AView >::createModel() const
- {
- return new AModel();
- }
-
- template < class AModel, class AView >
- IView*
- IComponentStationeryFor< AModel, AView >::createView() const
- {
- return new AView( bundle() );
- }
-
-
-