Qucs-GUI
0.0.19
|
00001 /*************************************************************************** 00002 mosfet_sub.h 00003 -------------- 00004 begin : Fri Jun 4 2004 00005 copyright : (C) 2003 by Michael Margraf 00006 email : michael.margraf@alumni.tu-berlin.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef MOSFET_SUB_H 00019 #define MOSFET_SUB_H 00020 00021 #include "component.h" 00022 00023 00024 class Basic_MOSFET : public MultiViewComponent { 00025 public: 00026 Basic_MOSFET(); 00027 ~Basic_MOSFET() {}; 00028 }; 00029 00030 class MOSFET_sub : public Basic_MOSFET { 00031 public: 00032 MOSFET_sub(); 00033 ~MOSFET_sub() {}; 00034 Component* newOne(); 00035 static Element* info(QString&, char* &, bool getNewOne=false); 00036 static Element* info_p(QString&, char* &, bool getNewOne=false); 00037 static Element* info_depl(QString&, char* &, bool getNewOne=false); 00038 00039 protected: 00040 void createSymbol(); 00041 }; 00042 00043 #endif