diff --git a/eeschema/sim/ngspice.cpp b/eeschema/sim/ngspice.cpp index 06ddc6883b..180873016a 100644 --- a/eeschema/sim/ngspice.cpp +++ b/eeschema/sim/ngspice.cpp @@ -193,12 +193,6 @@ main() #endif - -string NGSPICE::GetConsole() const { - return ""; -} - - int NGSPICE::cbSendChar( char* what, int id, void* user ) { NGSPICE* sim = reinterpret_cast( user ); diff --git a/eeschema/sim/ngspice.h b/eeschema/sim/ngspice.h index bdd12248f4..262a8a2e98 100644 --- a/eeschema/sim/ngspice.h +++ b/eeschema/sim/ngspice.h @@ -36,16 +36,11 @@ public: NGSPICE(); virtual ~NGSPICE(); - void Init(); - bool LoadNetlist( const std::string& aNetlist ); - bool Run(); - bool Command( const std::string& aCmd ); - - std::string GetConsole() const; - - const std::vector GetPlot( const std::string& aName, int aMaxLen = -1 ); - - void dump(); + void Init() override; + bool LoadNetlist( const std::string& aNetlist ) override; + bool Run() override; + bool Command( const std::string& aCmd ) override; + const std::vector GetPlot( const std::string& aName, int aMaxLen = -1 ) override; private: typedef void (*ngSpice_Init)( SendChar*, SendStat*, ControlledExit*, @@ -69,6 +64,8 @@ private: static int cbSendChar( char* what, int id, void* user ); static int cbSendStat( char* what, int id, void* user ); + + void dump(); }; #endif /* NGSPICE_H */