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
42f710a9
Commit
42f710a9
authored
Aug 04, 2010
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XML export work
parent
86a6c4de
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
556 additions
and
309 deletions
+556
-309
class_drawsheetpath.h
eeschema/class_drawsheetpath.h
+3
-2
class_libentry.h
eeschema/class_libentry.h
+6
-6
class_library.h
eeschema/class_library.h
+14
-4
netform.cpp
eeschema/netform.cpp
+533
-297
No files found.
eeschema/class_drawsheetpath.h
View file @
42f710a9
...
...
@@ -66,11 +66,12 @@ class SCH_MARKER;
class
SCH_SHEET_PATH
{
private
:
unsigned
m_numSheets
;
unsigned
m_numSheets
;
public
:
#define DSLSZ 32 // Max number of levels for a sheet path
SCH_SHEET
*
m_sheets
[
DSLSZ
];
SCH_SHEET
*
m_sheets
[
DSLSZ
];
public
:
SCH_SHEET_PATH
();
...
...
eeschema/class_libentry.h
View file @
42f710a9
...
...
@@ -71,32 +71,32 @@ public:
virtual
void
SetName
(
const
wxString
&
aName
)
{
name
=
aName
;
}
bool
isComponent
()
{
return
type
==
ROOT
;
}
bool
isComponent
()
const
{
return
type
==
ROOT
;
}
bool
isAlias
()
{
return
type
==
ALIAS
;
}
bool
isAlias
()
const
{
return
type
==
ALIAS
;
}
int
GetType
()
{
return
type
;
}
int
GetType
()
const
{
return
type
;
}
void
SetDescription
(
const
wxString
&
aDescription
)
{
description
=
aDescription
;
}
wxString
GetDescription
()
{
return
description
;
}
wxString
GetDescription
()
const
{
return
description
;
}
void
SetKeyWords
(
const
wxString
&
aKeyWords
)
{
keyWords
=
aKeyWords
;
}
wxString
GetKeyWords
()
{
return
keyWords
;
}
wxString
GetKeyWords
()
const
{
return
keyWords
;
}
void
SetDocFileName
(
const
wxString
&
aDocFileName
)
{
docFileName
=
aDocFileName
;
}
wxString
GetDocFileName
()
{
return
docFileName
;
}
wxString
GetDocFileName
()
const
{
return
docFileName
;
}
/**
* Write the entry document information to a FILE in "*.dcm" format.
...
...
eeschema/class_library.h
View file @
42f710a9
...
...
@@ -360,11 +360,21 @@ public:
/**
* Function GetLogicalName
* returns the logical name of the library, which for now is the filename
* without path or extension.
* wxString - The logical library name.
* returns the logical name of the library.
* @return wxString - The logical name of this library.
*/
wxString
GetLogicalName
()
{
return
fileName
.
GetName
();
}
wxString
GetLogicalName
()
{
/* for now is the filename without path or extension.
Technically the library should not know its logical name!
This will eventually come out of a pair of lookup tables using a
reverse lookup using the full name or library pointer as a key.
Search will be by project lookup table and then user lookup table if
not found.
*/
return
fileName
.
GetName
();
}
/**
...
...
eeschema/netform.cpp
View file @
42f710a9
This diff is collapsed.
Click to expand it.
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