+
+// ProjectionFileDocument
+
+IMPLEMENT_DYNAMIC_CLASS(ProjectionFileDocument, BackgroundProcessingDocument)
+
+bool
+ProjectionFileDocument::OnSaveDocument(const wxString& filename)
+{
+ if (! m_pProjectionFile->write (filename.mb_str(wxConvUTF8))) {
+ *theApp->getLog() << _T("Unable to write projection file ") << filename << _T("\n");
+ return false;
+ }
+ if (theApp->getVerboseLogging())
+ *theApp->getLog() << _T("Wrote projection file ") << filename << _T("\n");
+ Modify(false);
+ return true;
+}
+
+ProjectionFileDocument::~ProjectionFileDocument()
+{
+ cancelRunningTasks();
+
+ delete m_pProjectionFile;
+}
+
+bool