mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Formatting.
This commit is contained in:
parent
1db7ffad5e
commit
e32686a80b
@ -22,8 +22,7 @@
|
|||||||
|
|
||||||
#include <env_paths.h>
|
#include <env_paths.h>
|
||||||
|
|
||||||
static bool normalizeAbsolutePaths( const wxFileName& aPathA,
|
static bool normalizeAbsolutePaths( const wxFileName& aPathA, const wxFileName& aPathB,
|
||||||
const wxFileName& aPathB,
|
|
||||||
wxString* aResultPath )
|
wxString* aResultPath )
|
||||||
{
|
{
|
||||||
wxCHECK_MSG( aPathA.IsAbsolute(), false, aPathA.GetPath() + " is not an absolute path." );
|
wxCHECK_MSG( aPathA.IsAbsolute(), false, aPathA.GetPath() + " is not an absolute path." );
|
||||||
|
@ -48,8 +48,8 @@ wxString NormalizePath( const wxFileName& aFilePath, const ENV_VAR_MAP* aEnvVars
|
|||||||
* @return Normalized full file path (path and file name) if succeeded or empty string if the
|
* @return Normalized full file path (path and file name) if succeeded or empty string if the
|
||||||
* path could not be normalized.
|
* path could not be normalized.
|
||||||
*/
|
*/
|
||||||
wxString NormalizePath(
|
wxString NormalizePath( const wxFileName& aFilePath, const ENV_VAR_MAP* aEnvVars,
|
||||||
const wxFileName& aFilePath, const ENV_VAR_MAP* aEnvVars, const wxString& aProjectPath );
|
const wxString& aProjectPath );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Searches the default paths trying to find one with the requested file.
|
* Searches the default paths trying to find one with the requested file.
|
||||||
@ -60,8 +60,8 @@ wxString NormalizePath(
|
|||||||
* @return Full path (apth and file name) if the file was found in one of the paths, otherwise
|
* @return Full path (apth and file name) if the file was found in one of the paths, otherwise
|
||||||
* an empty string.
|
* an empty string.
|
||||||
*/
|
*/
|
||||||
wxString ResolveFile(
|
wxString ResolveFile( const wxString& aFileName, const ENV_VAR_MAP* aEnvVars,
|
||||||
const wxString& aFileName, const ENV_VAR_MAP* aEnvVars, const PROJECT* aProject );
|
const PROJECT* aProject );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if a given filename is within a given project directory (not whether it exists!)
|
* Checks if a given filename is within a given project directory (not whether it exists!)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user