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
69f6b27e
Commit
69f6b27e
authored
Dec 29, 2008
by
jerryjacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed comment for doxygen doc generation
parent
f26f2c13
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
51 deletions
+50
-51
Doxyfile
Doxyfile
+1
-0
edaappl.cpp
common/edaappl.cpp
+49
-51
No files found.
Doxyfile
View file @
69f6b27e
...
@@ -27,6 +27,7 @@ SEPARATE_MEMBER_PAGES = NO
...
@@ -27,6 +27,7 @@ SEPARATE_MEMBER_PAGES = NO
TAB_SIZE = 4
TAB_SIZE = 4
ALIASES =
ALIASES =
OPTIMIZE_OUTPUT_FOR_C = NO
OPTIMIZE_OUTPUT_FOR_C = NO
OPTIMIZE_OUTPUT_FOR_CPP = YES
OPTIMIZE_OUTPUT_JAVA = NO
OPTIMIZE_OUTPUT_JAVA = NO
BUILTIN_STL_SUPPORT = NO
BUILTIN_STL_SUPPORT = NO
CPP_CLI_SUPPORT = NO
CPP_CLI_SUPPORT = NO
...
...
common/edaappl.cpp
View file @
69f6b27e
...
@@ -40,8 +40,8 @@
...
@@ -40,8 +40,8 @@
#define FONT_DEFAULT_SIZE 10
/* Default font size. */
#define FONT_DEFAULT_SIZE 10
/* Default font size. */
/**
*
/**
*
@brief
The real font size will be computed at run time
* The real font size will be computed at run time
* A small class to handle the list od existing translations.
* A small class to handle the list od existing translations.
* the locale translation is automatic.
* the locale translation is automatic.
* the selection of languages is mainly for mainteners's convenience (tests...)\n
* the selection of languages is mainly for mainteners's convenience (tests...)\n
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
* create a new icon (flag of the country) (see Lang_Fr.xpm as an exemple)
* create a new icon (flag of the country) (see Lang_Fr.xpm as an exemple)
* add a new item to s_Language_List[LANGUAGE_DESCR_COUNT]
* add a new item to s_Language_List[LANGUAGE_DESCR_COUNT]
* and set LANGUAGE_DESCR_COUNT to the new value
* and set LANGUAGE_DESCR_COUNT to the new value
*
**
/
*/
struct
struct
LANGUAGE_DESCR
LANGUAGE_DESCR
{
{
...
@@ -66,9 +66,9 @@ LANGUAGE_DESCR
...
@@ -66,9 +66,9 @@ LANGUAGE_DESCR
};
};
/**
*
/**
*
@brief
Language list struct
* Language list struct
*
**
/
*/
static
struct
static
struct
LANGUAGE_DESCR
s_Language_List
[]
=
LANGUAGE_DESCR
s_Language_List
[]
=
{
{
...
@@ -203,11 +203,9 @@ LANGUAGE_DESCR s_Language_List[] =
...
@@ -203,11 +203,9 @@ LANGUAGE_DESCR s_Language_List[] =
};
};
/***
/**
* @brief WinEDA_App Constructor
* WinEDA_App Constructor
* @details TODO
*/
* @return none
***/
WinEDA_App
::
WinEDA_App
()
WinEDA_App
::
WinEDA_App
()
{
{
m_Checker
=
NULL
;
m_Checker
=
NULL
;
...
@@ -223,9 +221,9 @@ WinEDA_App::WinEDA_App()
...
@@ -223,9 +221,9 @@ WinEDA_App::WinEDA_App()
}
}
/**
*
/**
*
@brief
WinEDA_App Destructor
* WinEDA_App Destructor
*
**
/
*/
WinEDA_App
::~
WinEDA_App
()
WinEDA_App
::~
WinEDA_App
()
{
{
SaveSettings
();
SaveSettings
();
...
@@ -246,11 +244,9 @@ WinEDA_App::~WinEDA_App()
...
@@ -246,11 +244,9 @@ WinEDA_App::~WinEDA_App()
/***
/**
* @brief TODO
* TODO brief
* @param name TODO
*/
* @return none
***/
void
void
WinEDA_App
::
InitEDA_Appl
(
const
wxString
&
name
)
WinEDA_App
::
InitEDA_Appl
(
const
wxString
&
name
)
{
{
...
@@ -353,10 +349,10 @@ WinEDA_App::InitEDA_Appl( const wxString& name )
...
@@ -353,10 +349,10 @@ WinEDA_App::InitEDA_Appl( const wxString& name )
/**
*
/**
*
@brief
Init online help
* Init online help
* @return none
* @return none
*
**
/
*/
/*****************************************/
/*****************************************/
void
void
WinEDA_App
::
InitOnLineHelp
()
WinEDA_App
::
InitOnLineHelp
()
...
@@ -387,10 +383,10 @@ WinEDA_App::InitOnLineHelp()
...
@@ -387,10 +383,10 @@ WinEDA_App::InitOnLineHelp()
}
}
/**
*
/**
*
@brief
Find the path to the executable and store it in WinEDA_App::m_BinDir
* Find the path to the executable and store it in WinEDA_App::m_BinDir
* @return TODO
* @return TODO
*
**
/
*/
/*******************************/
/*******************************/
bool
bool
WinEDA_App
::
SetBinDir
()
WinEDA_App
::
SetBinDir
()
...
@@ -462,10 +458,10 @@ WinEDA_App::SetBinDir()
...
@@ -462,10 +458,10 @@ WinEDA_App::SetBinDir()
}
}
/**
*
/**
*
@brief
Get application settings
* Get application settings
* @return none
* @return none
*
**
/
*/
/*********************************/
/*********************************/
void
void
WinEDA_App
::
GetSettings
()
WinEDA_App
::
GetSettings
()
...
@@ -562,10 +558,10 @@ WinEDA_App::GetSettings()
...
@@ -562,10 +558,10 @@ WinEDA_App::GetSettings()
}
}
/**
*
/**
*
@brief
Save application settings
* Save application settings
* @return none
* @return none
*
**
/
*/
/**********************************/
/**********************************/
void
void
WinEDA_App
::
SaveSettings
()
WinEDA_App
::
SaveSettings
()
...
@@ -631,21 +627,23 @@ WinEDA_App::SaveSettings()
...
@@ -631,21 +627,23 @@ WinEDA_App::SaveSettings()
}
}
/**
*
/**
*
@brief
Set the dictionary file name for internationalization
* Set the dictionary file name for internationalization
* the files are in kicad/internat/xx or kicad/internat/xx_XX
* the files are in kicad/internat/xx or kicad/internat/xx_XX
* and are named kicad.mo
* and are named kicad.mo
*
*
* @param first_time TODO
* @param first_time TODO
* @return TODO
* @return TODO
*
**
/
*/
/*********************************************/
/*********************************************/
bool
bool
WinEDA_App
::
SetLanguage
(
bool
first_time
)
WinEDA_App
::
SetLanguage
(
bool
first_time
)
/*********************************************/
/*********************************************/
{
{
wxString
DictionaryName
(
wxT
(
"kicad"
)
);
// dictionary file name without extend (full name is kicad.mo)
// dictionary file name without extend (full name is kicad.mo)
wxString
BaseDictionaryPath
(
wxT
(
"internat"
)
);
// Real path is kicad/internat/xx_XX or kicad/internat/xx
wxString
DictionaryName
(
wxT
(
"kicad"
)
);
// Real path is kicad/internat/xx_XX or kicad/internat/xx
wxString
BaseDictionaryPath
(
wxT
(
"internat"
)
);
wxString
dic_path
;
wxString
dic_path
;
if
(
m_Locale
!=
NULL
)
if
(
m_Locale
!=
NULL
)
...
@@ -674,12 +672,12 @@ WinEDA_App::SetLanguage( bool first_time )
...
@@ -674,12 +672,12 @@ WinEDA_App::SetLanguage( bool first_time )
/**
*
/**
*
@brief
Return in m_LanguageId the wxWidgets language identifier Id
* Return in m_LanguageId the wxWidgets language identifier Id
* from the kicad menu id (internal menu identifier)
* from the kicad menu id (internal menu identifier)
* @param menu_id TODO
* @param menu_id TODO
* @return none
* @return none
*
**
/
*/
/**************************************************/
/**************************************************/
void
void
WinEDA_App
::
SetLanguageIdentifier
(
int
menu_id
)
WinEDA_App
::
SetLanguageIdentifier
(
int
menu_id
)
...
@@ -703,11 +701,11 @@ WinEDA_App::SetLanguageIdentifier( int menu_id )
...
@@ -703,11 +701,11 @@ WinEDA_App::SetLanguageIdentifier( int menu_id )
/**
*
/**
*
@brief
Create menu list for language choice.
* Create menu list for language choice.
* @param MasterMenu TODO
* @param MasterMenu TODO
* @return TODO
* @return TODO
*
**
/
*/
/*********************************************************/
/*********************************************************/
wxMenu
*
wxMenu
*
WinEDA_App
::
SetLanguageList
(
wxMenu
*
MasterMenu
)
WinEDA_App
::
SetLanguageList
(
wxMenu
*
MasterMenu
)
...
@@ -754,10 +752,10 @@ WinEDA_App::SetLanguageList( wxMenu* MasterMenu )
...
@@ -754,10 +752,10 @@ WinEDA_App::SetLanguageList( wxMenu* MasterMenu )
}
}
/**
*
/**
*
@brief
Run init scripts
* Run init scripts
* @return TODO
* @return TODO
*
**
/
*/
/**********************/
/**********************/
int
int
WinEDA_App
::
OnRun
()
WinEDA_App
::
OnRun
()
...
...
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