mirror of
https://github.com/ra3xdh/qucs_s
synced 2025-03-28 21:13:26 +00:00

* paintings/rectangle.cpp, paintings/portsymbol.cpp, paintings/id_text.cpp, paintings/graphictext.cpp, paintings/graphicline.cpp, paintings/ellipsearc.cpp, paintings/ellipse.cpp, paintings/arrow.cpp (saveCpp): Added support functions for saving drawing as C++ code snippet. * dialogs/vasettingsdialog.cpp (VASettingsDialog): Added new property dialog for Verilog-A files. * textdoc.cpp (getModuleName): Added function to obtain module/entity name of a text file (e.g. Verilog or VHDL). (saveSettings): Saving additional settings for Verilog-A text files. * schematic_file.cpp (saveSymbolCpp): Added code to save C++ symbol drawing code into the dataset of a schematic. (saveDocument): Usin above function to save C++ code of a symbol drawing document associated with a Verilog-A file. * schematic.cpp (adjustPortNumbers): Creating/updating Verilog-A text file's default symbol when switching to symbol page. 2009-10-27 Stefan Jahn <stefan@lkcc.org> * vafile.cpp (VerilogA_File_Info): Added new class parsing ports and module name of a Verilog-A file. git-svn-id: https://qucs.svn.sourceforge.net/svnroot/qucs/trunk@1755 b5b04e8c-4942-46c9-ab4f-83783d557d1c
34 lines
1.2 KiB
C++
34 lines
1.2 KiB
C++
/***************************************************************************
|
|
vafile.h
|
|
----------
|
|
begin : Sun Oct 26 2009
|
|
copyright : (C) 2009 by Stefan Jahn
|
|
email : stefa@lkcc.org
|
|
***************************************************************************/
|
|
|
|
/***************************************************************************
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
* (at your option) any later version. *
|
|
* *
|
|
***************************************************************************/
|
|
|
|
#ifndef VAFILE_H
|
|
#define VAFILE_H
|
|
|
|
class VerilogA_File_Info {
|
|
public:
|
|
VerilogA_File_Info ();
|
|
VerilogA_File_Info (QString, bool isfile = false);
|
|
~VerilogA_File_Info () {};
|
|
QString parsePorts (QString, int);
|
|
|
|
public:
|
|
QString ModuleName;
|
|
QString PortNames;
|
|
};
|
|
|
|
#endif
|