OSDN Git Service

Initial Commit
[qcad/qcad.git] / qcadwin / undo / QUndoAdd.h
1 //---------------------------------------------------------------------------
2 #ifndef QUndoAddH
3 #define QUndoAddH
4 //---------------------------------------------------------------------------
5 #include "QUndoUnit.h"
6 #include "QCircuit.h"
7 //---------------------------------------------------------------------------
8 class QUndoAdd : public QUndoUnit {
9 private :
10   int cX;
11   int cY;
12
13 public :
14   QUndoAdd(QCircuit *qc) {cX = qc->GetX(); cY = qc->GetY();};
15   void Undo(QManager *qManager);
16
17 };
18 #endif