KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcm.h File Reference
#include "core/wx_stl_compat.h"
#include "pcm_data.h"
#include <json_schema_validator.h>
#include "widgets/wx_progress_reporters.h"
#include <functional>
#include <iostream>
#include <map>
#include <thread>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <wx/wx.h>

Go to the source code of this file.

Classes

class  PLUGIN_CONTENT_MANAGER
 Main class of Plugin and Content Manager subsystem. More...
 

Typedefs

typedef std::vector< std::pair< wxString, wxString > > STRING_PAIR_LIST
 
typedef std::vector< std::tuple< wxString, wxString, wxString > > STRING_TUPLE_LIST
 

Enumerations

enum  PCM_PACKAGE_STATE {
  PPS_AVAILABLE = 0 , PPS_UNAVAILABLE = 1 , PPS_INSTALLED = 2 , PPS_PENDING_INSTALL = 3 ,
  PPS_PENDING_UNINSTALL = 4 , PPS_UPDATE_AVAILABLE = 5 , PPS_PENDING_UPDATE = 6
}
 Package states Package is available if it is not installed and there is a compatible version Package is unavailable if it is not installed and there are no compatible versions Pending states are intermediary when (un)installation is scheduled but not yet performed. More...
 
enum  PCM_PACKAGE_ACTION { PPA_INSTALL = 0 , PPA_UNINSTALL = 1 , PPA_UPDATE = 2 }
 Package actions. More...
 

Functions

const std::unordered_set< wxString > PCM_PACKAGE_DIRECTORIES ({ "plugins", "footprints", "3dmodels", "symbols", "resources", "colors", "templates", "scripts", "design_blocks" })
 Contains list of all valid directories that get extracted from a package archive.
 

Typedef Documentation

◆ STRING_PAIR_LIST

typedef std::vector<std::pair<wxString, wxString> > STRING_PAIR_LIST

Definition at line 79 of file pcm.h.

◆ STRING_TUPLE_LIST

typedef std::vector<std::tuple<wxString, wxString, wxString> > STRING_TUPLE_LIST

Definition at line 80 of file pcm.h.

Enumeration Type Documentation

◆ PCM_PACKAGE_ACTION

Package actions.

Enumerator
PPA_INSTALL 
PPA_UNINSTALL 
PPA_UPDATE 

Definition at line 71 of file pcm.h.

◆ PCM_PACKAGE_STATE

Package states Package is available if it is not installed and there is a compatible version Package is unavailable if it is not installed and there are no compatible versions Pending states are intermediary when (un)installation is scheduled but not yet performed.

Enumerator
PPS_AVAILABLE 
PPS_UNAVAILABLE 
PPS_INSTALLED 
PPS_PENDING_INSTALL 
PPS_PENDING_UNINSTALL 
PPS_UPDATE_AVAILABLE 
PPS_PENDING_UPDATE 

Definition at line 58 of file pcm.h.

Function Documentation

◆ PCM_PACKAGE_DIRECTORIES()

const std::unordered_set< wxString > PCM_PACKAGE_DIRECTORIES ( { "plugins", "footprints", "3dmodels", "symbols", "resources", "colors", "templates", "scripts", "design_blocks" } )

Contains list of all valid directories that get extracted from a package archive.

Referenced by PCM_TASK_MANAGER::deletePackageDirectories(), PCM_TASK_MANAGER::extract(), and PLUGIN_CONTENT_MANAGER::PLUGIN_CONTENT_MANAGER().