KiCad PCB EDA Suite
|
#include <wx/log.h>
#include <lib_shape.h>
#include <lib_field.h>
#include <lib_pin.h>
#include <lib_text.h>
#include <macros.h>
#include <richio.h>
#include <string_utils.h>
#include <template_fieldnames.h>
#include <trace_helpers.h>
#include <wildcards_and_files_ext.h>
#include "sch_legacy_lib_plugin_cache.h"
#include "sch_legacy_plugin_helpers.h"
Go to the source code of this file.
Macros | |
#define | LIB_VERSION_MAJOR 2 |
Legacy symbol library major version. More... | |
#define | LIB_VERSION_MINOR 4 |
Legacy symbol library minor version. More... | |
#define | LIB_VERSION(major, minor) ( major * 100 + minor ) |
#define | LIBFILE_IDENT "EESchema-LIBRARY Version" |
Legacy symbol library (.lib) file header. More... | |
#define | DOCFILE_IDENT "EESchema-DOCLIB Version 2.0" |
Legacy symbol library document (.dcm) file header. More... | |
#define | USE_OLD_DOC_FILE_FORMAT(major, minor) ( LIB_VERSION( major, minor ) <= LIB_VERSION( 2, 4 ) ) |
Library versions 2.4 and lower use the old separate library (.lib) and document (.dcm) files. More... | |
#define DOCFILE_IDENT "EESchema-DOCLIB Version 2.0" |
Legacy symbol library document (.dcm) file header.
Definition at line 46 of file sch_legacy_lib_plugin_cache.cpp.
#define LIB_VERSION | ( | major, | |
minor | |||
) | ( major * 100 + minor ) |
Definition at line 40 of file sch_legacy_lib_plugin_cache.cpp.
#define LIB_VERSION_MAJOR 2 |
Legacy symbol library major version.
Definition at line 37 of file sch_legacy_lib_plugin_cache.cpp.
#define LIB_VERSION_MINOR 4 |
Legacy symbol library minor version.
Definition at line 38 of file sch_legacy_lib_plugin_cache.cpp.
#define LIBFILE_IDENT "EESchema-LIBRARY Version" |
Legacy symbol library (.lib) file header.
Definition at line 43 of file sch_legacy_lib_plugin_cache.cpp.
#define USE_OLD_DOC_FILE_FORMAT | ( | major, | |
minor | |||
) | ( LIB_VERSION( major, minor ) <= LIB_VERSION( 2, 4 ) ) |
Library versions 2.4 and lower use the old separate library (.lib) and document (.dcm) files.
Symbol libraries after 2.4 merged the library and document files into a single library file. This macro checks if the library version supports the old format.
Definition at line 54 of file sch_legacy_lib_plugin_cache.cpp.