Commit 33ee94b9ad7a8050a6524a1fc2f6c462b0459140

Authored by Steve Greedy
1 parent d475f4d6

Removed obsolete files

Removed obsolete files.
GUI/SW1/SRC/EXPORT.cpp deleted
@@ -1,75 +0,0 @@ @@ -1,75 +0,0 @@
1 -#include "EXPORT.h"  
2 -  
3 -//(*InternalHeaders(EXPORT)  
4 -#include <wx/intl.h>  
5 -#include <wx/string.h>  
6 -//*)  
7 -  
8 -//(*IdInit(EXPORT)  
9 -const long EXPORT::ID_DIRPICKERCTRL1 = wxNewId();  
10 -const long EXPORT::ID_FILEPICKERCTRL1 = wxNewId();  
11 -const long EXPORT::ID_FILEPICKERCTRL2 = wxNewId();  
12 -const long EXPORT::ID_BUTTON1 = wxNewId();  
13 -const long EXPORT::ID_BUTTON2 = wxNewId();  
14 -//*)  
15 -  
16 -BEGIN_EVENT_TABLE(EXPORT,wxDialog)  
17 - //(*EventTable(EXPORT)  
18 - //*)  
19 -END_EVENT_TABLE()  
20 -  
21 -EXPORT::EXPORT(wxWindow* parent,wxWindowID id,const wxPoint& pos,const wxSize& size)  
22 -{  
23 - //(*Initialize(EXPORT)  
24 - wxBoxSizer* BoxSizer4;  
25 - wxStaticBoxSizer* StaticBoxSizer2;  
26 - wxBoxSizer* BoxSizer5;  
27 - wxBoxSizer* BoxSizer2;  
28 - wxStaticBoxSizer* StaticBoxSizer3;  
29 - wxBoxSizer* BoxSizer1;  
30 - wxStaticBoxSizer* StaticBoxSizer1;  
31 - wxFlexGridSizer* FlexGridSizer1;  
32 - wxBoxSizer* BoxSizer3;  
33 -  
34 - Create(parent, id, _("SACAMOS: Export Spice Models"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE, _T("id"));  
35 - SetClientSize(wxSize(174,215));  
36 - Move(wxDefaultPosition);  
37 - FlexGridSizer1 = new wxFlexGridSizer(2, 2, 0, 0);  
38 - BoxSizer1 = new wxBoxSizer(wxVERTICAL);  
39 - StaticBoxSizer1 = new wxStaticBoxSizer(wxHORIZONTAL, this, _("Ngspice"));  
40 - BoxSizer2 = new wxBoxSizer(wxHORIZONTAL);  
41 - DirPickerCtrl1 = new wxDirPickerCtrl(this, ID_DIRPICKERCTRL1, wxEmptyString, _("Select a directory"), wxDefaultPosition, wxDefaultSize, wxDIRP_DIR_MUST_EXIST|wxDIRP_USE_TEXTCTRL, wxDefaultValidator, _T("ID_DIRPICKERCTRL1"));  
42 - BoxSizer2->Add(DirPickerCtrl1, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
43 - StaticBoxSizer1->Add(BoxSizer2, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
44 - BoxSizer1->Add(StaticBoxSizer1, 1, wxALL|wxEXPAND, 5);  
45 - StaticBoxSizer2 = new wxStaticBoxSizer(wxHORIZONTAL, this, _("LTspice"));  
46 - BoxSizer3 = new wxBoxSizer(wxHORIZONTAL);  
47 - FilePickerCtrl1 = new wxFilePickerCtrl(this, ID_FILEPICKERCTRL1, wxEmptyString, _("Select a file"), _T("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_FILE_MUST_EXIST|wxFLP_OPEN|wxFLP_USE_TEXTCTRL, wxDefaultValidator, _T("ID_FILEPICKERCTRL1"));  
48 - BoxSizer3->Add(FilePickerCtrl1, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
49 - StaticBoxSizer2->Add(BoxSizer3, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
50 - BoxSizer1->Add(StaticBoxSizer2, 1, wxALL|wxEXPAND, 5);  
51 - StaticBoxSizer3 = new wxStaticBoxSizer(wxHORIZONTAL, this, _("PSpice"));  
52 - BoxSizer4 = new wxBoxSizer(wxHORIZONTAL);  
53 - FilePickerCtrl2 = new wxFilePickerCtrl(this, ID_FILEPICKERCTRL2, wxEmptyString, _("Select a file"), _T("*.*"), wxDefaultPosition, wxDefaultSize, wxFLP_FILE_MUST_EXIST|wxFLP_OPEN|wxFLP_USE_TEXTCTRL, wxDefaultValidator, _T("ID_FILEPICKERCTRL2"));  
54 - BoxSizer4->Add(FilePickerCtrl2, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
55 - StaticBoxSizer3->Add(BoxSizer4, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
56 - BoxSizer1->Add(StaticBoxSizer3, 1, wxALL|wxEXPAND, 5);  
57 - BoxSizer5 = new wxBoxSizer(wxHORIZONTAL);  
58 - Button1 = new wxButton(this, ID_BUTTON1, _("Export"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_BUTTON1"));  
59 - BoxSizer5->Add(Button1, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
60 - Button2 = new wxButton(this, ID_BUTTON2, _("Label"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_BUTTON2"));  
61 - BoxSizer5->Add(Button2, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
62 - BoxSizer1->Add(BoxSizer5, 1, wxALL|wxEXPAND, 5);  
63 - FlexGridSizer1->Add(BoxSizer1, 1, wxALL|wxEXPAND, 5);  
64 - SetSizer(FlexGridSizer1);  
65 - SetSizer(FlexGridSizer1);  
66 - Layout();  
67 - //*)  
68 -}  
69 -  
70 -EXPORT::~EXPORT()  
71 -{  
72 - //(*Destroy(EXPORT)  
73 - //*)  
74 -}  
75 -  
GUI/SW1/SRC/EXPORT.h deleted
@@ -1,44 +0,0 @@ @@ -1,44 +0,0 @@
1 -#ifndef EXPORT_H  
2 -#define EXPORT_H  
3 -  
4 -//(*Headers(EXPORT)  
5 -#include <wx/sizer.h>  
6 -#include <wx/filepicker.h>  
7 -#include <wx/button.h>  
8 -#include <wx/dialog.h>  
9 -//*)  
10 -  
11 -class EXPORT: public wxDialog  
12 -{  
13 - public:  
14 -  
15 - EXPORT(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);  
16 - virtual ~EXPORT();  
17 -  
18 - //(*Declarations(EXPORT)  
19 - wxDirPickerCtrl* DirPickerCtrl1;  
20 - wxFilePickerCtrl* FilePickerCtrl1;  
21 - wxButton* Button1;  
22 - wxButton* Button2;  
23 - wxFilePickerCtrl* FilePickerCtrl2;  
24 - //*)  
25 -  
26 - protected:  
27 -  
28 - //(*Identifiers(EXPORT)  
29 - static const long ID_DIRPICKERCTRL1;  
30 - static const long ID_FILEPICKERCTRL1;  
31 - static const long ID_FILEPICKERCTRL2;  
32 - static const long ID_BUTTON1;  
33 - static const long ID_BUTTON2;  
34 - //*)  
35 -  
36 - private:  
37 -  
38 - //(*Handlers(EXPORT)  
39 - //*)  
40 -  
41 - DECLARE_EVENT_TABLE()  
42 -};  
43 -  
44 -#endif  
GUI/SW1/SRC/FDPERMITTIVITY.cpp deleted
@@ -1,135 +0,0 @@ @@ -1,135 +0,0 @@
1 -#include "FDPERMITTIVITY.h"  
2 -  
3 -//(*InternalHeaders(FDPERMITTIVITY)  
4 -#include <wx/intl.h>  
5 -#include <wx/string.h>  
6 -//*)  
7 -  
8 -//(*IdInit(FDPERMITTIVITY)  
9 -const long FDPERMITTIVITY::ID_STATICTEXT1 = wxNewId();  
10 -const long FDPERMITTIVITY::ID_TEXTCTRL1 = wxNewId();  
11 -const long FDPERMITTIVITY::ID_STATICTEXT2 = wxNewId();  
12 -const long FDPERMITTIVITY::ID_TEXTCTRL2 = wxNewId();  
13 -const long FDPERMITTIVITY::ID_STATICTEXT3 = wxNewId();  
14 -const long FDPERMITTIVITY::ID_TEXTCTRL3 = wxNewId();  
15 -const long FDPERMITTIVITY::ID_STATICTEXT4 = wxNewId();  
16 -const long FDPERMITTIVITY::ID_TEXTCTRL4 = wxNewId();  
17 -const long FDPERMITTIVITY::ID_STATICTEXT5 = wxNewId();  
18 -const long FDPERMITTIVITY::ID_TEXTCTRL5 = wxNewId();  
19 -const long FDPERMITTIVITY::ID_STATICTEXT6 = wxNewId();  
20 -const long FDPERMITTIVITY::ID_TEXTCTRL6 = wxNewId();  
21 -const long FDPERMITTIVITY::ID_STATICTEXT7 = wxNewId();  
22 -const long FDPERMITTIVITY::ID_TEXTCTRL7 = wxNewId();  
23 -const long FDPERMITTIVITY::ID_STATICTEXT8 = wxNewId();  
24 -const long FDPERMITTIVITY::ID_TEXTCTRL8 = wxNewId();  
25 -const long FDPERMITTIVITY::ID_STATICTEXT9 = wxNewId();  
26 -const long FDPERMITTIVITY::ID_TEXTCTRL9 = wxNewId();  
27 -const long FDPERMITTIVITY::ID_STATICTEXT10 = wxNewId();  
28 -const long FDPERMITTIVITY::ID_TEXTCTRL10 = wxNewId();  
29 -const long FDPERMITTIVITY::ID_CHECKBOX1 = wxNewId();  
30 -const long FDPERMITTIVITY::ID_BUTTON1 = wxNewId();  
31 -const long FDPERMITTIVITY::ID_PANEL1 = wxNewId();  
32 -//*)  
33 -  
34 -BEGIN_EVENT_TABLE(FDPERMITTIVITY,wxDialog)  
35 - //(*EventTable(FDPERMITTIVITY)  
36 - //*)  
37 -END_EVENT_TABLE()  
38 -  
39 -FDPERMITTIVITY::FDPERMITTIVITY(wxWindow* parent,wxWindowID id,const wxPoint& pos,const wxSize& size)  
40 -{  
41 - //(*Initialize(FDPERMITTIVITY)  
42 - wxStaticBoxSizer* StaticBoxSizer2;  
43 - wxFlexGridSizer* FlexGridSizer4;  
44 - wxStaticBoxSizer* StaticBoxSizer4;  
45 - wxFlexGridSizer* FlexGridSizer3;  
46 - wxFlexGridSizer* FlexGridSizer2;  
47 - wxStaticBoxSizer* StaticBoxSizer3;  
48 - wxBoxSizer* BoxSizer1;  
49 - wxStaticBoxSizer* StaticBoxSizer1;  
50 - wxFlexGridSizer* FlexGridSizer1;  
51 - wxStaticBoxSizer* StaticBoxSizer5;  
52 -  
53 - Create(parent, wxID_ANY, _("Frequency Dependant Permittivity Model"), wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER, _T("wxID_ANY"));  
54 - FlexGridSizer1 = new wxFlexGridSizer(2, 2, 0, 0);  
55 - FlexGridSizer1->AddGrowableCol(0);  
56 - FlexGridSizer1->AddGrowableCol(1);  
57 - StaticBoxSizer1 = new wxStaticBoxSizer(wxHORIZONTAL, this, _("FD Permittivity Model"));  
58 - FlexGridSizer2 = new wxFlexGridSizer(0, 1, 0, 0);  
59 - StaticBoxSizer3 = new wxStaticBoxSizer(wxHORIZONTAL, this, _("Inner Dielectric"));  
60 - FlexGridSizer3 = new wxFlexGridSizer(0, 2, 0, 0);  
61 - FlexGridSizer3->AddGrowableCol(0);  
62 - FlexGridSizer3->AddGrowableCol(1);  
63 - StaticText1 = new wxStaticText(this, ID_STATICTEXT1, _("Normalisation Constant"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT1"));  
64 - FlexGridSizer3->Add(StaticText1, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
65 - TextCtrl1 = new wxTextCtrl(this, ID_TEXTCTRL1, _("Text"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL1"));  
66 - FlexGridSizer3->Add(TextCtrl1, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
67 - StaticText2 = new wxStaticText(this, ID_STATICTEXT2, _("a order"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT2"));  
68 - FlexGridSizer3->Add(StaticText2, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);  
69 - TextCtrl2 = new wxTextCtrl(this, ID_TEXTCTRL2, _("Text"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL2"));  
70 - FlexGridSizer3->Add(TextCtrl2, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
71 - StaticText3 = new wxStaticText(this, ID_STATICTEXT3, _("a coefficients"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT3"));  
72 - FlexGridSizer3->Add(StaticText3, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);  
73 - TextCtrl3 = new wxTextCtrl(this, ID_TEXTCTRL3, _("Text"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL3"));  
74 - FlexGridSizer3->Add(TextCtrl3, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
75 - StaticText4 = new wxStaticText(this, ID_STATICTEXT4, _("b order"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT4"));  
76 - FlexGridSizer3->Add(StaticText4, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);  
77 - TextCtrl4 = new wxTextCtrl(this, ID_TEXTCTRL4, _("Text"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL4"));  
78 - FlexGridSizer3->Add(TextCtrl4, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
79 - StaticText5 = new wxStaticText(this, ID_STATICTEXT5, _("b coefficicients"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT5"));  
80 - FlexGridSizer3->Add(StaticText5, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);  
81 - TextCtrl5 = new wxTextCtrl(this, ID_TEXTCTRL5, _("Text"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL5"));  
82 - FlexGridSizer3->Add(TextCtrl5, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
83 - StaticBoxSizer3->Add(FlexGridSizer3, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
84 - FlexGridSizer2->Add(StaticBoxSizer3, 1, wxALL|wxEXPAND, 5);  
85 - StaticBoxSizer4 = new wxStaticBoxSizer(wxHORIZONTAL, this, _("Outer Dielectric"));  
86 - FlexGridSizer4 = new wxFlexGridSizer(0, 2, 0, 0);  
87 - StaticText6 = new wxStaticText(this, ID_STATICTEXT6, _("Normalisation Constant"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT6"));  
88 - FlexGridSizer4->Add(StaticText6, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
89 - TextCtrl6 = new wxTextCtrl(this, ID_TEXTCTRL6, _("Text"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL6"));  
90 - FlexGridSizer4->Add(TextCtrl6, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
91 - StaticText7 = new wxStaticText(this, ID_STATICTEXT7, _("a order"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT7"));  
92 - FlexGridSizer4->Add(StaticText7, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);  
93 - TextCtrl7 = new wxTextCtrl(this, ID_TEXTCTRL7, _("Text"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL7"));  
94 - FlexGridSizer4->Add(TextCtrl7, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
95 - StaticText8 = new wxStaticText(this, ID_STATICTEXT8, _("a coefficients"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT8"));  
96 - FlexGridSizer4->Add(StaticText8, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);  
97 - TextCtrl8 = new wxTextCtrl(this, ID_TEXTCTRL8, _("Text"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL8"));  
98 - FlexGridSizer4->Add(TextCtrl8, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
99 - StaticText9 = new wxStaticText(this, ID_STATICTEXT9, _("b order"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT9"));  
100 - FlexGridSizer4->Add(StaticText9, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);  
101 - TextCtrl9 = new wxTextCtrl(this, ID_TEXTCTRL9, _("Text"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL9"));  
102 - FlexGridSizer4->Add(TextCtrl9, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
103 - StaticText10 = new wxStaticText(this, ID_STATICTEXT10, _("b coefficients"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT10"));  
104 - FlexGridSizer4->Add(StaticText10, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);  
105 - TextCtrl10 = new wxTextCtrl(this, ID_TEXTCTRL10, _("Text"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL10"));  
106 - FlexGridSizer4->Add(TextCtrl10, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
107 - StaticBoxSizer4->Add(FlexGridSizer4, 1, wxALL|wxEXPAND, 5);  
108 - FlexGridSizer2->Add(StaticBoxSizer4, 1, wxALL|wxEXPAND, 5);  
109 - StaticBoxSizer5 = new wxStaticBoxSizer(wxHORIZONTAL, this, _("Regenerate Mesh"));  
110 - BoxSizer1 = new wxBoxSizer(wxHORIZONTAL);  
111 - CheckBox1 = new wxCheckBox(this, ID_CHECKBOX1, _("YES"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_CHECKBOX1"));  
112 - CheckBox1->SetValue(false);  
113 - BoxSizer1->Add(CheckBox1, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
114 - Button1 = new wxButton(this, ID_BUTTON1, _("REMESH"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_BUTTON1"));  
115 - BoxSizer1->Add(Button1, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
116 - StaticBoxSizer5->Add(BoxSizer1, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
117 - FlexGridSizer2->Add(StaticBoxSizer5, 1, wxALL|wxEXPAND, 5);  
118 - StaticBoxSizer1->Add(FlexGridSizer2, 1, wxALL|wxEXPAND, 5);  
119 - FlexGridSizer1->Add(StaticBoxSizer1, 1, wxALL, 5);  
120 - StaticBoxSizer2 = new wxStaticBoxSizer(wxHORIZONTAL, this, _("Mesh Used by Laplace Solver"));  
121 - Panel1 = new wxPanel(this, ID_PANEL1, wxDefaultPosition, wxSize(500,-1), wxTAB_TRAVERSAL, _T("ID_PANEL1"));  
122 - StaticBoxSizer2->Add(Panel1, 1, wxALL|wxEXPAND, 5);  
123 - FlexGridSizer1->Add(StaticBoxSizer2, 1, wxALL|wxEXPAND, 5);  
124 - SetSizer(FlexGridSizer1);  
125 - FlexGridSizer1->Fit(this);  
126 - FlexGridSizer1->SetSizeHints(this);  
127 - //*)  
128 -}  
129 -  
130 -FDPERMITTIVITY::~FDPERMITTIVITY()  
131 -{  
132 - //(*Destroy(FDPERMITTIVITY)  
133 - //*)  
134 -}  
135 -  
GUI/SW1/SRC/FDPERMITTIVITY.h deleted
@@ -1,83 +0,0 @@ @@ -1,83 +0,0 @@
1 -#ifndef FDPERMITTIVITY_H  
2 -#define FDPERMITTIVITY_H  
3 -  
4 -//(*Headers(FDPERMITTIVITY)  
5 -#include <wx/sizer.h>  
6 -#include <wx/stattext.h>  
7 -#include <wx/textctrl.h>  
8 -#include <wx/checkbox.h>  
9 -#include <wx/panel.h>  
10 -#include <wx/button.h>  
11 -#include <wx/dialog.h>  
12 -//*)  
13 -  
14 -class FDPERMITTIVITY: public wxDialog  
15 -{  
16 - public:  
17 -  
18 - FDPERMITTIVITY(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);  
19 - virtual ~FDPERMITTIVITY();  
20 -  
21 - //(*Declarations(FDPERMITTIVITY)  
22 - wxStaticText* StaticText10;  
23 - wxStaticText* StaticText9;  
24 - wxTextCtrl* TextCtrl4;  
25 - wxStaticText* StaticText2;  
26 - wxButton* Button1;  
27 - wxStaticText* StaticText6;  
28 - wxTextCtrl* TextCtrl6;  
29 - wxStaticText* StaticText8;  
30 - wxPanel* Panel1;  
31 - wxStaticText* StaticText1;  
32 - wxStaticText* StaticText3;  
33 - wxCheckBox* CheckBox1;  
34 - wxStaticText* StaticText5;  
35 - wxStaticText* StaticText7;  
36 - wxTextCtrl* TextCtrl8;  
37 - wxTextCtrl* TextCtrl2;  
38 - wxTextCtrl* TextCtrl7;  
39 - wxTextCtrl* TextCtrl1;  
40 - wxTextCtrl* TextCtrl9;  
41 - wxTextCtrl* TextCtrl5;  
42 - wxStaticText* StaticText4;  
43 - wxTextCtrl* TextCtrl3;  
44 - wxTextCtrl* TextCtrl10;  
45 - //*)  
46 -  
47 - protected:  
48 -  
49 - //(*Identifiers(FDPERMITTIVITY)  
50 - static const long ID_STATICTEXT1;  
51 - static const long ID_TEXTCTRL1;  
52 - static const long ID_STATICTEXT2;  
53 - static const long ID_TEXTCTRL2;  
54 - static const long ID_STATICTEXT3;  
55 - static const long ID_TEXTCTRL3;  
56 - static const long ID_STATICTEXT4;  
57 - static const long ID_TEXTCTRL4;  
58 - static const long ID_STATICTEXT5;  
59 - static const long ID_TEXTCTRL5;  
60 - static const long ID_STATICTEXT6;  
61 - static const long ID_TEXTCTRL6;  
62 - static const long ID_STATICTEXT7;  
63 - static const long ID_TEXTCTRL7;  
64 - static const long ID_STATICTEXT8;  
65 - static const long ID_TEXTCTRL8;  
66 - static const long ID_STATICTEXT9;  
67 - static const long ID_TEXTCTRL9;  
68 - static const long ID_STATICTEXT10;  
69 - static const long ID_TEXTCTRL10;  
70 - static const long ID_CHECKBOX1;  
71 - static const long ID_BUTTON1;  
72 - static const long ID_PANEL1;  
73 - //*)  
74 -  
75 - private:  
76 -  
77 - //(*Handlers(FDPERMITTIVITY)  
78 - //*)  
79 -  
80 - DECLARE_EVENT_TABLE()  
81 -};  
82 -  
83 -#endif  
GUI/SW1/SRC/FD_ZT.cpp deleted
@@ -1,113 +0,0 @@ @@ -1,113 +0,0 @@
1 -#include "FD_ZT.h"  
2 -  
3 -//(*InternalHeaders(FD_ZT)  
4 -#include <wx/intl.h>  
5 -#include <wx/string.h>  
6 -//*)  
7 -  
8 -//(*IdInit(FD_ZT)  
9 -const long FD_ZT::ID_STATICTEXT1 = wxNewId();  
10 -const long FD_ZT::ID_TEXTCTRL1 = wxNewId();  
11 -const long FD_ZT::ID_STATICLINE1 = wxNewId();  
12 -const long FD_ZT::ID_STATICLINE2 = wxNewId();  
13 -const long FD_ZT::ID_STATICTEXT2 = wxNewId();  
14 -const long FD_ZT::ID_TEXTCTRL2 = wxNewId();  
15 -const long FD_ZT::ID_STATICTEXT3 = wxNewId();  
16 -const long FD_ZT::ID_TEXTCTRL3 = wxNewId();  
17 -const long FD_ZT::ID_STATICLINE3 = wxNewId();  
18 -const long FD_ZT::ID_STATICLINE4 = wxNewId();  
19 -const long FD_ZT::ID_STATICTEXT4 = wxNewId();  
20 -const long FD_ZT::ID_TEXTCTRL4 = wxNewId();  
21 -const long FD_ZT::ID_STATICTEXT5 = wxNewId();  
22 -const long FD_ZT::ID_TEXTCTRL5 = wxNewId();  
23 -const long FD_ZT::ID_BUTTON1 = wxNewId();  
24 -const long FD_ZT::ID_BUTTON2 = wxNewId();  
25 -//*)  
26 -  
27 -BEGIN_EVENT_TABLE(FD_ZT,wxDialog)  
28 - //(*EventTable(FD_ZT)  
29 - //*)  
30 -END_EVENT_TABLE()  
31 -  
32 -FD_ZT::FD_ZT(wxWindow* parent,wxWindowID id,const wxPoint& pos,const wxSize& size)  
33 -{  
34 - //(*Initialize(FD_ZT)  
35 - wxFlexGridSizer* FlexGridSizer2;  
36 - wxStaticBoxSizer* StaticBoxSizer1;  
37 - wxFlexGridSizer* FlexGridSizer1;  
38 -  
39 - Create(parent, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE, _T("wxID_ANY"));  
40 - FlexGridSizer1 = new wxFlexGridSizer(0, 1, 0, 0);  
41 - StaticBoxSizer1 = new wxStaticBoxSizer(wxHORIZONTAL, this, _("Frequency Dependent Transfer Impedance"));  
42 - FlexGridSizer2 = new wxFlexGridSizer(0, 2, 0, 0);  
43 - StaticText1 = new wxStaticText(this, ID_STATICTEXT1, _("Angular f normalisation"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT1"));  
44 - FlexGridSizer2->Add(StaticText1, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);  
45 - TextCtrl1 = new wxTextCtrl(this, ID_TEXTCTRL1, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL1"));  
46 - TextCtrl1->SetToolTip(_("Angular frequency normalisation"));  
47 - FlexGridSizer2->Add(TextCtrl1, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
48 - StaticLine1 = new wxStaticLine(this, ID_STATICLINE1, wxDefaultPosition, wxSize(10,-1), wxLI_HORIZONTAL, _T("ID_STATICLINE1"));  
49 - FlexGridSizer2->Add(StaticLine1, 1, wxALL|wxEXPAND, 0);  
50 - StaticLine2 = new wxStaticLine(this, ID_STATICLINE2, wxDefaultPosition, wxSize(10,-1), wxLI_HORIZONTAL, _T("ID_STATICLINE2"));  
51 - FlexGridSizer2->Add(StaticLine2, 1, wxALL|wxEXPAND, 0);  
52 - StaticText2 = new wxStaticText(this, ID_STATICTEXT2, _("Order of numerator"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT2"));  
53 - FlexGridSizer2->Add(StaticText2, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);  
54 - TextCtrl2 = new wxTextCtrl(this, ID_TEXTCTRL2, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL2"));  
55 - TextCtrl2->SetToolTip(_("Order of numerator model"));  
56 - FlexGridSizer2->Add(TextCtrl2, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
57 - StaticText3 = new wxStaticText(this, ID_STATICTEXT3, _("Numerator coefficients"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT3"));  
58 - FlexGridSizer2->Add(StaticText3, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);  
59 - TextCtrl3 = new wxTextCtrl(this, ID_TEXTCTRL3, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL3"));  
60 - TextCtrl3->SetToolTip(_("Numerator coefficient comma seperated lists"));  
61 - FlexGridSizer2->Add(TextCtrl3, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
62 - StaticLine3 = new wxStaticLine(this, ID_STATICLINE3, wxDefaultPosition, wxSize(10,-1), wxLI_HORIZONTAL, _T("ID_STATICLINE3"));  
63 - FlexGridSizer2->Add(StaticLine3, 1, wxALL|wxEXPAND, 0);  
64 - StaticLine4 = new wxStaticLine(this, ID_STATICLINE4, wxDefaultPosition, wxSize(10,-1), wxLI_HORIZONTAL, _T("ID_STATICLINE4"));  
65 - FlexGridSizer2->Add(StaticLine4, 1, wxALL|wxEXPAND, 0);  
66 - StaticText4 = new wxStaticText(this, ID_STATICTEXT4, _("Order of denominator"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT4"));  
67 - FlexGridSizer2->Add(StaticText4, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);  
68 - TextCtrl4 = new wxTextCtrl(this, ID_TEXTCTRL4, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL4"));  
69 - TextCtrl4->SetToolTip(_("Order of denominator model"));  
70 - FlexGridSizer2->Add(TextCtrl4, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
71 - StaticText5 = new wxStaticText(this, ID_STATICTEXT5, _("Denominator coefficients"), wxDefaultPosition, wxDefaultSize, 0, _T("ID_STATICTEXT5"));  
72 - FlexGridSizer2->Add(StaticText5, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);  
73 - TextCtrl5 = new wxTextCtrl(this, ID_TEXTCTRL5, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_TEXTCTRL5"));  
74 - TextCtrl5->SetToolTip(_("Denominator coefficient comma seperated lists"));  
75 - FlexGridSizer2->Add(TextCtrl5, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
76 - Button1 = new wxButton(this, ID_BUTTON1, _("OK"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_BUTTON1"));  
77 - FlexGridSizer2->Add(Button1, 1, wxALL|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL, 5);  
78 - Button2 = new wxButton(this, ID_BUTTON2, _("CLOSE"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator, _T("ID_BUTTON2"));  
79 - FlexGridSizer2->Add(Button2, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
80 - StaticBoxSizer1->Add(FlexGridSizer2, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
81 - FlexGridSizer1->Add(StaticBoxSizer1, 1, wxALL|wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL, 5);  
82 - SetSizer(FlexGridSizer1);  
83 - FlexGridSizer1->Fit(this);  
84 - FlexGridSizer1->SetSizeHints(this);  
85 -  
86 - Connect(ID_TEXTCTRL1,wxEVT_COMMAND_TEXT_UPDATED,(wxObjectEventFunction)&FD_ZT::OnTextCtrl1Text);  
87 - Connect(ID_BUTTON1,wxEVT_COMMAND_BUTTON_CLICKED,(wxObjectEventFunction)&FD_ZT::OnButton1Click);  
88 - Connect(ID_BUTTON2,wxEVT_COMMAND_BUTTON_CLICKED,(wxObjectEventFunction)&FD_ZT::OnButton2Click);  
89 - //*)  
90 -}  
91 -  
92 -FD_ZT::~FD_ZT()  
93 -{  
94 - //(*Destroy(FD_ZT)  
95 - //*)  
96 -}  
97 -  
98 -  
99 -void FD_ZT::OnButton1Click(wxCommandEvent& event)  
100 -{  
101 - SetReturnCode(wxID_OK);  
102 - EndModal(wxID_OK);  
103 -}  
104 -  
105 -void FD_ZT::OnButton2Click(wxCommandEvent& event)  
106 -{  
107 - SetReturnCode(wxID_CANCEL);  
108 - EndModal(wxID_OK);  
109 -}  
110 -  
111 -void FD_ZT::OnTextCtrl1Text(wxCommandEvent& event)  
112 -{  
113 -}  
GUI/SW1/SRC/FD_ZT.h deleted
@@ -1,71 +0,0 @@ @@ -1,71 +0,0 @@
1 -#ifndef FD_ZT_H  
2 -#define FD_ZT_H  
3 -  
4 -//(*Headers(FD_ZT)  
5 -#include <wx/sizer.h>  
6 -#include <wx/stattext.h>  
7 -#include <wx/textctrl.h>  
8 -#include <wx/statline.h>  
9 -#include <wx/button.h>  
10 -#include <wx/dialog.h>  
11 -//*)  
12 -  
13 -class FD_ZT: public wxDialog  
14 -{  
15 - public:  
16 -  
17 - FD_ZT(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);  
18 - virtual ~FD_ZT();  
19 -  
20 - //(*Declarations(FD_ZT)  
21 - wxTextCtrl* TextCtrl4;  
22 - wxStaticText* StaticText2;  
23 - wxButton* Button1;  
24 - wxStaticText* StaticText1;  
25 - wxStaticText* StaticText3;  
26 - wxButton* Button2;  
27 - wxStaticLine* StaticLine4;  
28 - wxStaticLine* StaticLine2;  
29 - wxStaticText* StaticText5;  
30 - wxStaticLine* StaticLine3;  
31 - wxStaticLine* StaticLine1;  
32 - wxTextCtrl* TextCtrl2;  
33 - wxTextCtrl* TextCtrl1;  
34 - wxTextCtrl* TextCtrl5;  
35 - wxStaticText* StaticText4;  
36 - wxTextCtrl* TextCtrl3;  
37 - //*)  
38 -  
39 - protected:  
40 -  
41 - //(*Identifiers(FD_ZT)  
42 - static const long ID_STATICTEXT1;  
43 - static const long ID_TEXTCTRL1;  
44 - static const long ID_STATICLINE1;  
45 - static const long ID_STATICLINE2;  
46 - static const long ID_STATICTEXT2;  
47 - static const long ID_TEXTCTRL2;  
48 - static const long ID_STATICTEXT3;  
49 - static const long ID_TEXTCTRL3;  
50 - static const long ID_STATICLINE3;  
51 - static const long ID_STATICLINE4;  
52 - static const long ID_STATICTEXT4;  
53 - static const long ID_TEXTCTRL4;  
54 - static const long ID_STATICTEXT5;  
55 - static const long ID_TEXTCTRL5;  
56 - static const long ID_BUTTON1;  
57 - static const long ID_BUTTON2;  
58 - //*)  
59 -  
60 - private:  
61 -  
62 - //(*Handlers(FD_ZT)  
63 - void OnButton1Click(wxCommandEvent& event);  
64 - void OnButton2Click(wxCommandEvent& event);  
65 - void OnTextCtrl1Text(wxCommandEvent& event);  
66 - //*)  
67 -  
68 - DECLARE_EVENT_TABLE()  
69 -};  
70 -  
71 -#endif  
GUI/SW1/SRC/LAPLACE.cpp deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -#include "LAPLACE.h"  
2 -  
3 -//(*InternalHeaders(LAPLACE)  
4 -#include <wx/intl.h>  
5 -#include <wx/string.h>  
6 -//*)  
7 -  
8 -//(*IdInit(LAPLACE)  
9 -//*)  
10 -  
11 -BEGIN_EVENT_TABLE(LAPLACE,wxDialog)  
12 - //(*EventTable(LAPLACE)  
13 - //*)  
14 -END_EVENT_TABLE()  
15 -  
16 -LAPLACE::LAPLACE(wxWindow* parent,wxWindowID id,const wxPoint& pos,const wxSize& size)  
17 -{  
18 - //(*Initialize(LAPLACE)  
19 - Create(parent, id, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE, _T("id"));  
20 - SetClientSize(wxDefaultSize);  
21 - Move(wxDefaultPosition);  
22 - //*)  
23 -}  
24 -  
25 -LAPLACE::~LAPLACE()  
26 -{  
27 - //(*Destroy(LAPLACE)  
28 - //*)  
29 -}  
30 -  
GUI/SW1/SRC/LAPLACE.h deleted
@@ -1,31 +0,0 @@ @@ -1,31 +0,0 @@
1 -#ifndef LAPLACE_H  
2 -#define LAPLACE_H  
3 -  
4 -//(*Headers(LAPLACE)  
5 -#include <wx/dialog.h>  
6 -//*)  
7 -  
8 -class LAPLACE: public wxDialog  
9 -{  
10 - public:  
11 -  
12 - LAPLACE(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);  
13 - virtual ~LAPLACE();  
14 -  
15 - //(*Declarations(LAPLACE)  
16 - //*)  
17 -  
18 - protected:  
19 -  
20 - //(*Identifiers(LAPLACE)  
21 - //*)  
22 -  
23 - private:  
24 -  
25 - //(*Handlers(LAPLACE)  
26 - //*)  
27 -  
28 - DECLARE_EVENT_TABLE()  
29 -};  
30 -  
31 -#endif  
GUI/SW1/SRC/NewDialog.cpp deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -#include "NewDialog.h"  
2 -  
3 -//(*InternalHeaders(NewDialog)  
4 -#include <wx/intl.h>  
5 -#include <wx/string.h>  
6 -//*)  
7 -  
8 -//(*IdInit(NewDialog)  
9 -//*)  
10 -  
11 -BEGIN_EVENT_TABLE(NewDialog,wxDialog)  
12 - //(*EventTable(NewDialog)  
13 - //*)  
14 -END_EVENT_TABLE()  
15 -  
16 -NewDialog::NewDialog(wxWindow* parent,wxWindowID id,const wxPoint& pos,const wxSize& size)  
17 -{  
18 - //(*Initialize(NewDialog)  
19 - Create(parent, id, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE, _T("id"));  
20 - SetClientSize(wxDefaultSize);  
21 - Move(wxDefaultPosition);  
22 - //*)  
23 -}  
24 -  
25 -NewDialog::~NewDialog()  
26 -{  
27 - //(*Destroy(NewDialog)  
28 - //*)  
29 -}  
30 -  
GUI/SW1/SRC/NewDialog.h deleted
@@ -1,31 +0,0 @@ @@ -1,31 +0,0 @@
1 -#ifndef NEWDIALOG_H  
2 -#define NEWDIALOG_H  
3 -  
4 -//(*Headers(NewDialog)  
5 -#include <wx/dialog.h>  
6 -//*)  
7 -  
8 -class NewDialog: public wxDialog  
9 -{  
10 - public:  
11 -  
12 - NewDialog(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);  
13 - virtual ~NewDialog();  
14 -  
15 - //(*Declarations(NewDialog)  
16 - //*)  
17 -  
18 - protected:  
19 -  
20 - //(*Identifiers(NewDialog)  
21 - //*)  
22 -  
23 - private:  
24 -  
25 - //(*Handlers(NewDialog)  
26 - //*)  
27 -  
28 - DECLARE_EVENT_TABLE()  
29 -};  
30 -  
31 -#endif  
GUI/SW1/SRC/RENDER_CABLE.cpp deleted
No preview for this file type
GUI/SW1/SRC/RENDER_CABLE.h deleted
No preview for this file type
GUI/SW1/SRC/SPEC.cpp deleted
@@ -1,62 +0,0 @@ @@ -1,62 +0,0 @@
1 -/*  
2 - * Copyright (C) 2011 Mathieu Turcotte (mathieuturcotte.ca)  
3 - *  
4 - * This program is free software: you can redistribute it and/or modify  
5 - * it under the terms of the GNU General Public License as published by  
6 - * the Free Software Foundation, either version 3 of the License, or  
7 - * (at your option) any later version.  
8 - *  
9 - * This program is distributed in the hope that it will be useful,  
10 - * but WITHOUT ANY WARRANTY; without even the implied warranty of  
11 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the  
12 - * GNU General Public License for more details.  
13 - *  
14 - * You should have received a copy of the GNU General Public License  
15 - * along with this program. If not, see http://www.gnu.org/licenses/.  
16 - */  
17 -  
18 -#include <string.h>  
19 -  
20 -#include "SPEC.h"  
21 -  
22 -int _match_spec(const char* spec, const char* text) {  
23 -  
24 - /*  
25 - * If the whole specification string was consumed and  
26 - * the input text is also exhausted: it's a match.  
27 - */  
28 - if (spec[0] == '\0' && text[0] == '\0')  
29 - return 1;  
30 -  
31 - /* A star matches 0 or more characters. */  
32 - if (spec[0] == '*') {  
33 - /*  
34 - * Skip the star and try to find a match after it  
35 - * by successively incrementing the text pointer.  
36 - */  
37 - do {  
38 - if (_match_spec(spec + 1, text))  
39 - return 1;  
40 - } while (*text++ != '\0');  
41 - }  
42 -  
43 - /*  
44 - * An interrogation mark matches any character. Other  
45 - * characters match themself. Also, if the input text  
46 - * is exhausted but the specification isn't, there is  
47 - * no match.  
48 - */  
49 - if (text[0] != '\0' && (spec[0] == '?' || spec[0] == text[0]))  
50 - return _match_spec(spec + 1, text + 1);  
51 -  
52 - return 0;  
53 -}  
54 -  
55 -int match_spec(const char* spec, const char* text) {  
56 -  
57 - /* On Windows, *.* matches everything. */  
58 - if (strcmp(spec, "*.*") == 0)  
59 - return 1;  
60 -  
61 - return _match_spec(spec, text);  
62 -}  
GUI/SW1/SRC/SPEC.h deleted
@@ -1,30 +0,0 @@ @@ -1,30 +0,0 @@
1 -/*  
2 - * Copyright (C) 2011 Mathieu Turcotte (mathieuturcotte.ca)  
3 - *  
4 - * This program is free software: you can redistribute it and/or modify  
5 - * it under the terms of the GNU General Public License as published by  
6 - * the Free Software Foundation, either version 3 of the License, or  
7 - * (at your option) any later version.  
8 - *  
9 - * This program is distributed in the hope that it will be useful,  
10 - * but WITHOUT ANY WARRANTY; without even the implied warranty of  
11 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the  
12 - * GNU General Public License for more details.  
13 - *  
14 - * You should have received a copy of the GNU General Public License  
15 - * along with this program. If not, see http://www.gnu.org/licenses/.  
16 - */  
17 -  
18 -#ifndef SPEC_H_  
19 -#define SPEC_H_  
20 -  
21 -/*  
22 - * Matches the regular language accepted by findfirst/findnext. More  
23 - * precisely, * matches zero or more characters and ? matches any  
24 - * characters, but only one. Every other characters match themself.  
25 - * To respect the Windows behavior, *.* matches everything.  
26 - */  
27 -int match_spec(const char* spec, const char* text);  
28 -  
29 -#endif /* SPEC_H_ */  
30 -