20#ifndef LIBREPCB_EDITOR_CMDPACKAGEEDIT_H
21#define LIBREPCB_EDITOR_CMDPACKAGEEDIT_H
The Package class represents a package of a component (including footprint and 3D model)
Definition: package.h:59
The CmdLibraryElementEdit class.
Definition: cmdlibraryelementedit.h:45
The CmdPackageEdit class.
Definition: cmdpackageedit.h:45
virtual void performRedo() override
Redo the command.
Definition: cmdpackageedit.cpp:71
virtual ~CmdPackageEdit() noexcept
Definition: cmdpackageedit.cpp:44
Package::AssemblyType mOldAssemblyType
Definition: cmdpackageedit.h:72
Package::AssemblyType mNewAssemblyType
Definition: cmdpackageedit.h:73
virtual void performUndo() override
Undo the command.
Definition: cmdpackageedit.cpp:66
Package & mPackage
Definition: cmdpackageedit.h:70
void setAssemblyType(Package::AssemblyType type) noexcept
Definition: cmdpackageedit.cpp:51
CmdPackageEdit(const CmdPackageEdit &other)=delete
virtual bool performExecute() override
Execute the command the first time.
Definition: cmdpackageedit.cpp:60
Definition: occmodel.cpp:77