summaryrefslogtreecommitdiffstats
path: root/Source/cmDSWWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDSWWriter.h')
-rw-r--r--Source/cmDSWWriter.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/Source/cmDSWWriter.h b/Source/cmDSWWriter.h
new file mode 100644
index 0000000..e4036a1
--- /dev/null
+++ b/Source/cmDSWWriter.h
@@ -0,0 +1,42 @@
+/*=========================================================================
+
+ Program: Insight Segmentation & Registration Toolkit
+ Module: $RCSfile$
+ Language: C++
+ Date: $Date$
+ Version: $Revision$
+
+
+ Copyright (c) 2000 National Library of Medicine
+ All rights reserved.
+
+ See COPYRIGHT.txt for copyright details.
+
+=========================================================================*/
+/**
+ * cmDSWMakefile - class to write a microsoft DSW file.
+ */
+#ifndef cmDSWMakefile_h
+#define cmDSWMakefile_h
+#ifdef _MSC_VER
+#pragma warning ( disable : 4786 )
+#endif
+
+#include "cmMakefile.h"
+#include <vector>
+
+
+class cmDSWMakefile : public cmMakefile
+{
+public:
+ virtual void OutputDSWFile();
+private:
+ void WriteDSWFile(std::ostream& fout);
+ void WriteDSWHeader(std::ostream& fout);
+ std::vector<std::string> CreateDSPFile(const char* dir);
+ void WriteProject(std::ostream& fout,
+ const char* name, const char* path);
+ void WriteDSWFooter(std::ostream& fout);
+};
+
+#endif