KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_registry.h File Reference
#include <jobs/job.h>
#include <kiway.h>

Go to the source code of this file.

Classes

struct  JOB_REGISTRY_ENTRY
 
class  JOB_REGISTRY
 

Macros

#define REGISTER_JOB(job_name, title, face, T)
 

Macro Definition Documentation

◆ REGISTER_JOB

#define REGISTER_JOB (   job_name,
  title,
  face,
 
)
Value:
bool job_name##_entry = JOB_REGISTRY::Add( #job_name, \
{ face, []() \
{ \
return new T( true ); \
}, \
title } )
static bool Add(const wxString &aName, JOB_REGISTRY_ENTRY entry)

Definition at line 64 of file job_registry.h.