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
b8c22811
Commit
b8c22811
authored
Oct 17, 2013
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add {Get,Set}ModuleLibraryNickname to EDA_APP, reformatting
parent
37c3ef50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
24 deletions
+28
-24
appl_wxstruct.h
include/appl_wxstruct.h
+28
-24
No files found.
include/appl_wxstruct.h
View file @
b8c22811
...
@@ -91,24 +91,27 @@ protected:
...
@@ -91,24 +91,27 @@ protected:
wxLocale
*
m_Locale
;
wxLocale
*
m_Locale
;
/// The current language setting.
/// The current language setting.
int
m_LanguageId
;
int
m_LanguageId
;
/// The file name of the the program selected for browsing pdf files.
/// The file name of the the program selected for browsing pdf files.
wxString
m_PdfBrowser
;
wxString
m_PdfBrowser
;
wxPathList
m_searchPaths
;
wxPathList
m_searchPaths
;
wxFileHistory
m_fileHistory
;
wxFileHistory
m_fileHistory
;
wxString
m_HelpFileName
;
wxString
m_HelpFileName
;
wxString
m_EditorName
;
wxString
m_EditorName
;
wxString
m_CurrentOptionFile
;
wxString
m_CurrentOptionFile
;
wxString
m_CurrentOptionFileDateAndTime
;
wxString
m_CurrentOptionFileDateAndTime
;
wxPoint
m_HelpPos
;
wxPoint
m_HelpPos
;
wxSize
m_HelpSize
;
wxSize
m_HelpSize
;
wxString
m_Title
;
wxHtmlHelpController
*
m_HtmlCtrl
;
wxPathList
m_libSearchPaths
;
wxString
m_Title
;
wxFileName
m_projectFileName
;
wxPathList
m_libSearchPaths
;
wxString
m_LastVisitedLibPath
;
wxFileName
m_projectFileName
;
wxString
m_LastVisitedLibPath
;
/// last visited module library in the module editor or viewer
wxString
m_module_nickname
;
wxHtmlHelpController
*
m_HtmlCtrl
;
public
:
public
:
EDA_APP
();
EDA_APP
();
...
@@ -125,17 +128,15 @@ public:
...
@@ -125,17 +128,15 @@ public:
void
SetHtmlHelpController
(
wxHtmlHelpController
*
aController
);
void
SetHtmlHelpController
(
wxHtmlHelpController
*
aController
);
wxString
GetHelpFileName
()
const
{
return
m_HelpFileName
;
}
wxString
GetHelpFileName
()
const
{
return
m_HelpFileName
;
}
void
SetHelpFileName
(
const
wxString
&
aFileName
)
{
m_HelpFileName
=
aFileName
;
}
void
SetHelpFileName
(
const
wxString
&
aFileName
)
{
m_HelpFileName
=
aFileName
;
}
wxConfig
*
GetSettings
()
{
return
m_settings
;
}
wxConfig
*
GetSettings
()
{
return
m_settings
;
}
wxConfig
*
GetCommonSettings
()
{
return
m_commonSettings
;
}
wxConfig
*
GetCommonSettings
()
{
return
m_commonSettings
;
}
wxString
GetEditorName
()
const
{
return
m_EditorName
;
}
wxString
GetEditorName
()
const
{
return
m_EditorName
;
}
void
SetEditorName
(
const
wxString
&
aFileName
)
{
m_EditorName
=
aFileName
;
}
void
SetEditorName
(
const
wxString
&
aFileName
)
{
m_EditorName
=
aFileName
;
}
wxString
GetCurrentOptionFile
()
const
{
return
m_CurrentOptionFile
;
}
wxString
GetCurrentOptionFile
()
const
{
return
m_CurrentOptionFile
;
}
...
@@ -349,8 +350,8 @@ public:
...
@@ -349,8 +350,8 @@ public:
*/
*/
wxString
&
GetEditorName
();
wxString
&
GetEditorName
();
const
wxString
&
GetTitle
()
{
return
m_Title
;
}
const
wxString
&
GetTitle
()
{
return
m_Title
;
}
void
SetTitle
(
const
wxString
&
title
)
{
m_Title
=
t
itle
;
}
void
SetTitle
(
const
wxString
&
aTitle
)
{
m_Title
=
aT
itle
;
}
wxPathList
&
GetLibraryPathList
()
{
return
m_libSearchPaths
;
}
wxPathList
&
GetLibraryPathList
()
{
return
m_libSearchPaths
;
}
wxString
FindLibraryPath
(
const
wxString
&
fileName
);
wxString
FindLibraryPath
(
const
wxString
&
fileName
);
...
@@ -431,6 +432,9 @@ public:
...
@@ -431,6 +432,9 @@ public:
* @return false if the KISYSMOD path is not valid.
* @return false if the KISYSMOD path is not valid.
*/
*/
bool
SetFootprintLibTablePath
();
bool
SetFootprintLibTablePath
();
const
wxString
&
GetModuleLibraryNickname
()
{
return
m_module_nickname
;
}
void
SetModuleLibraryNickname
(
const
wxString
&
aNickname
)
{
m_module_nickname
=
aNickname
;
}
};
};
...
...
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