/**** * * Implementation of file.h. * * This is mostly stubbed implementation, for GUI testing purposes. The only * non-stubbed function is QuitMenuItem::Do, which throws a QuitException. * */ #include "file.h" #include "quit-exception.h" #include File::File(View* v) { printf("In File::File\n"); } File::~File() { printf("In File::~File\n"); } void File::New() { printf("In File::New\n"); } void File::Open(Name* n) { printf("In File::Open\n"); } void File::Close() { printf("In File::Close\n"); } void File::CloseAll() { printf("In File::CloseAll\n"); } void File::Save() { printf("In File::Save\n"); } void File::SaveAs(Name* n) { printf("In File::SaveAs\n"); } void File::SaveAll() { printf("In File::SaveAll\n"); } void File::Print() { printf("In File::Print\n"); } void File::Quit() { throw (new QuitException); }