home *** CD-ROM | disk | FTP | other *** search
- // Copyright (c) 1994, University of Kansas, All Rights Reserved
- //
- // Class: TForm
- // Include File: tform.h
- // Purpose: Form container
- // Remarks/Portability/Dependencies/Restrictions:
- // Revision History:
- // 07-18-94 Created.
- #include "tform.h"
- #include "trace.h"
-
- TForm::~TForm() {
- // Purpose: Destructor for a form.
- // Arguments: none
- // Return Value: none
- // Remarks/Portability/Dependencies/Restrictions:
- // Should release all parts of a form.
- // Revision History:
- // 07-18-94 created
-
- #ifndef RELEASE
- trace("Freeing off form " << cp_action);
- #endif // RELEASE
-
- // First, free off all members.
- if(cp_action != NULL) {
- delete(cp_action);
- }
- if(cp_enctype != NULL) {
- delete(cp_enctype);
- }
- if(cp_method != NULL) {
- delete(cp_method);
- }
- }
-