• R/O
  • HTTP
  • SSH
  • HTTPS

qcad: Commit

Source code of QCAD


Commit MetaInfo

Revision55c4b07adbc245e259cb696988621e1b6c92d5c9 (tree)
Time2015-04-17 11:17:49
AuthorH. Watanabe <kaityo@user...>
CommiterH. Watanabe

Log Message

not exporting qdt file

Change Summary

Incremental Difference

--- a/calcunits/QCalcUnit.h
+++ b/calcunits/QCalcUnit.h
@@ -32,6 +32,7 @@ protected :
3232 public:
3333 virtual void Calc(QBits *qBits) = 0;
3434 virtual std::string GetName(void) const = 0;
35+ virtual ~QCalcUnit(void) = 0;
3536 static unsigned int insert0(unsigned int i0, unsigned int BitNum);
3637 static unsigned int insert1(unsigned int i0, unsigned int BitNum);
3738 static void swap(double &x,double &y) {
--- a/compiler/qcrun.cpp
+++ b/compiler/qcrun.cpp
@@ -185,8 +185,9 @@ int main(int argc, char **argv) {
185185 }
186186 }
187187
188- std::cerr << "Saving " << ofilename << std::endl;
189- qBits->SaveToFile(ofilename.c_str());
188+ //TODO: *.qdt file cannot be imported by QCAD.
189+ //std::cerr << "Saving " << ofilename << std::endl;
190+ //qBits->SaveToFile(ofilename.c_str());
190191 std::cerr << "Saving " << tfilename << std::endl;
191192 qBits->SaveAsText(tfilename.c_str());
192193 delete qBits;
Show on old repository browser