OSDN Git Service

Initial Commit
[qcad/qcad.git] / circuits / QNot.h
1 //---------------------------------------------------------------------------\r
2 #ifndef QNotH\r
3 #define QNotH\r
4 \r
5 #include "QCircuit.h"\r
6 //---------------------------------------------------------------------------\r
7 class QNot : public QCircuit {\r
8 private:\r
9 \r
10 public:\r
11   QNot(int x,int y);\r
12 \r
13 \r
14   virtual int        GetType(void)    { return QC_NOT; }\r
15   virtual string GetTypeStr(void) { return "QNOT"; }\r
16 \r
17   void Draw(QDraw *Draw);\r
18   string GetCalcText(void);\r
19   void DrawPS(QPSDraw *psDraw);\r
20   void Reverse(int y);\r
21   TRect GetOccupiedRect();\r
22   QCircuit *Clone();\r
23 };\r
24 //---------------------------------------------------------------------------\r
25 #endif\r