Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
fd2afec6
Commit
fd2afec6
authored
Feb 18, 2014
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some fully outdated code (#pragma, from Henner Zeller's report, and some other things)
parent
fcd17a59
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
3 additions
and
18 deletions
+3
-18
CMakeLists.txt
bitmap2component/CMakeLists.txt
+0
-1
msgpanel.cpp
common/msgpanel.cpp
+0
-5
menubar.cpp
eeschema/menubar.cpp
+0
-3
preferences.cpp
kicad/preferences.cpp
+0
-4
dialog_export_vrml.cpp
pcbnew/dialogs/dialog_export_vrml.cpp
+1
-1
export_vrml.cpp
pcbnew/exporters/export_vrml.cpp
+2
-1
python_scripting.cpp
scripting/python_scripting.cpp
+0
-3
No files found.
bitmap2component/CMakeLists.txt
View file @
fd2afec6
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
include_directories
(
BEFORE
${
INC_BEFORE
}
)
include_directories
(
BEFORE
${
INC_BEFORE
}
)
include_directories
(
include_directories
(
../potrace
../potrace
../polygon/kbool/include
../common
../common
${
INC_AFTER
}
${
INC_AFTER
}
)
)
...
...
common/msgpanel.cpp
View file @
fd2afec6
...
@@ -28,11 +28,6 @@
...
@@ -28,11 +28,6 @@
* @brief Message panel implementation file.
* @brief Message panel implementation file.
*/
*/
#ifdef __GNUG__
#pragma implementation
#endif
#include <msgpanel.h>
#include <msgpanel.h>
...
...
eeschema/menubar.cpp
View file @
fd2afec6
...
@@ -27,9 +27,6 @@
...
@@ -27,9 +27,6 @@
* @file eeschema/menubar.cpp
* @file eeschema/menubar.cpp
* @brief (Re)Create the main menubar for the schematic frame
* @brief (Re)Create the main menubar for the schematic frame
*/
*/
#ifdef __GNUG__
#pragma implementation
#endif
#include <fctsys.h>
#include <fctsys.h>
#include <appl_wxstruct.h>
#include <appl_wxstruct.h>
...
...
kicad/preferences.cpp
View file @
fd2afec6
...
@@ -27,10 +27,6 @@
...
@@ -27,10 +27,6 @@
* @file preferences.cpp
* @file preferences.cpp
*/
*/
#ifdef __GNUG__
#pragma implementation
#endif
#include <fctsys.h>
#include <fctsys.h>
#include <appl_wxstruct.h>
#include <appl_wxstruct.h>
#include <confirm.h>
#include <confirm.h>
...
...
pcbnew/dialogs/dialog_export_vrml.cpp
View file @
fd2afec6
...
@@ -134,7 +134,7 @@ void PCB_EDIT_FRAME::OnExportVRML( wxCommandEvent& event )
...
@@ -134,7 +134,7 @@ void PCB_EDIT_FRAME::OnExportVRML( wxCommandEvent& event )
wxString
fullFilename
=
dlg
.
FilePicker
()
->
GetPath
();
wxString
fullFilename
=
dlg
.
FilePicker
()
->
GetPath
();
subDirFor3Dshapes
=
dlg
.
GetSubdir
();
subDirFor3Dshapes
=
dlg
.
GetSubdir
();
if
(
!
wxDirExists
(
subDirFor3Dshapes
)
)
if
(
export3DFiles
&&
!
wxDirExists
(
subDirFor3Dshapes
)
)
wxMkdir
(
subDirFor3Dshapes
);
wxMkdir
(
subDirFor3Dshapes
);
if
(
!
ExportVRML_File
(
fullFilename
,
scale
,
export3DFiles
,
subDirFor3Dshapes
)
)
if
(
!
ExportVRML_File
(
fullFilename
,
scale
,
export3DFiles
,
subDirFor3Dshapes
)
)
...
...
pcbnew/exporters/export_vrml.cpp
View file @
fd2afec6
...
@@ -1199,8 +1199,9 @@ static void export_vrml_module( MODEL_VRML& aModel, BOARD* aPcb, MODULE* aModule
...
@@ -1199,8 +1199,9 @@ static void export_vrml_module( MODEL_VRML& aModel, BOARD* aPcb, MODULE* aModule
fname
.
Replace
(
wxT
(
"
\\
"
),
wxT
(
"/"
)
);
fname
.
Replace
(
wxT
(
"
\\
"
),
wxT
(
"/"
)
);
wxString
source_fname
=
fname
;
wxString
source_fname
=
fname
;
if
(
aExport3DFiles
)
// Change illegal characters
if
(
aExport3DFiles
)
{
{
// Change illegal characters in filenames
ChangeIllegalCharacters
(
fname
,
true
);
ChangeIllegalCharacters
(
fname
,
true
);
fname
=
a3D_Subdir
+
wxT
(
"/"
)
+
fname
;
fname
=
a3D_Subdir
+
wxT
(
"/"
)
+
fname
;
...
...
scripting/python_scripting.cpp
View file @
fd2afec6
...
@@ -30,9 +30,6 @@
...
@@ -30,9 +30,6 @@
#include <python_scripting.h>
#include <python_scripting.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include <fctsys.h>
#include <fctsys.h>
#include <wxstruct.h>
#include <wxstruct.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment