KiCad PCB EDA Suite
PACKAGE_VIEW_DATA Struct Reference

< Collection of data relevant to the package display panel Callback for (un)install button More...

#include <panel_package.h>

Public Member Functions

 PACKAGE_VIEW_DATA (const PCM_PACKAGE aPackage)
 
 PACKAGE_VIEW_DATA (const PCM_INSTALLATION_ENTRY &aEntry)
 

Public Attributes

const PCM_PACKAGE package
 
wxBitmap * bitmap
 
PCM_PACKAGE_STATE state
 
wxString repository_id
 
wxString repository_name
 
wxString current_version
 

Detailed Description

< Collection of data relevant to the package display panel Callback for (un)install button

Definition at line 30 of file panel_package.h.

Constructor & Destructor Documentation

◆ PACKAGE_VIEW_DATA() [1/2]

PACKAGE_VIEW_DATA::PACKAGE_VIEW_DATA ( const PCM_PACKAGE  aPackage)
inline

Definition at line 38 of file panel_package.h.

38  :
39  package( std::move( aPackage ) ), bitmap( nullptr ), state( PPS_INSTALLED ){};
const PCM_PACKAGE package
Definition: panel_package.h:32
wxBitmap * bitmap
Definition: panel_package.h:33
PCM_PACKAGE_STATE state
Definition: panel_package.h:34

◆ PACKAGE_VIEW_DATA() [2/2]

PACKAGE_VIEW_DATA::PACKAGE_VIEW_DATA ( const PCM_INSTALLATION_ENTRY aEntry)
inline

Definition at line 40 of file panel_package.h.

40  :
41  package( std::move( aEntry.package ) ), bitmap( nullptr )
42  {
47  }
wxString repository_id
Definition: panel_package.h:35
const PCM_PACKAGE package
Definition: panel_package.h:32
wxBitmap * bitmap
Definition: panel_package.h:33
wxString repository_name
Definition: panel_package.h:36
wxString current_version
Definition: pcm_data.h:136
PCM_PACKAGE_STATE state
Definition: panel_package.h:34
wxString current_version
Definition: panel_package.h:37
wxString repository_id
Definition: pcm_data.h:137
PCM_PACKAGE package
Definition: pcm_data.h:135
wxString repository_name
Definition: pcm_data.h:138

References current_version, PCM_INSTALLATION_ENTRY::current_version, PPS_INSTALLED, repository_id, PCM_INSTALLATION_ENTRY::repository_id, repository_name, PCM_INSTALLATION_ENTRY::repository_name, and state.

Member Data Documentation

◆ bitmap

wxBitmap* PACKAGE_VIEW_DATA::bitmap

◆ current_version

wxString PACKAGE_VIEW_DATA::current_version

Definition at line 37 of file panel_package.h.

Referenced by PANEL_PACKAGE::OnButtonClicked(), and PACKAGE_VIEW_DATA().

◆ package

◆ repository_id

wxString PACKAGE_VIEW_DATA::repository_id

◆ repository_name

wxString PACKAGE_VIEW_DATA::repository_name

◆ state


The documentation for this struct was generated from the following file: