Gin
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ProcessorOptions Class Reference

Plugin metadata and configuration options for Processor. More...

#include <gin_processor.h>

Public Member Functions

 ProcessorOptions ()
 
ProcessorOptions withAdditionalCredits (juce::StringArray names) const
 
ProcessorOptions withoutUpdateChecker () const
 
ProcessorOptions withoutNewsChecker () const
 

Public Attributes

juce::String pluginName
 
juce::String devId
 
juce::String developer
 
juce::String pluginVersion
 
juce::String updatesURL
 
juce::String url
 
juce::String urlTitle
 
bool wantsMidi = false
 
bool makesMidi = false
 
bool useUpdateChecker = true
 
bool useNewsChecker = true
 
juce::StringArray programmingCredits
 

Detailed Description

Plugin metadata and configuration options for Processor.

ProcessorOptions provides configuration and metadata for a Gin-based plugin, including plugin identity (name, version, developer), capabilities (MIDI I/O), and optional features (update checker, news checker). When using a standard JUCE plugin project, the default constructor automatically fills these from JucePlugin_* preprocessor defines. For custom applications, you can manually configure all options.

Configuration Categories:

The class provides builder-style methods for common customizations:

Usage:

// Standard plugin (auto-configured from JucePlugin_* defines)
// Custom configuration
customOpts.pluginName = "My Synth";
customOpts.developer = "My Company";
customOpts.devId = "MYCO";
customOpts.pluginVersion = "1.0.0";
customOpts.wantsMidi = true;
customOpts.makesMidi = false;
// Builder pattern
.withAdditionalCredits({"Jane Smith", "Additional DSP"})
// Pass to Processor
MyProcessor processor(opts);
A lightweight 2D point class for projects that don't use juce_graphics.
Definition gin_point.h:25
Plugin metadata and configuration options for Processor.
Definition gin_processor.h:120
ProcessorOptions withoutNewsChecker() const
Definition gin_processor.h:162
ProcessorOptions withoutUpdateChecker() const
Definition gin_processor.h:152
See also
Processor

Constructor & Destructor Documentation

◆ ProcessorOptions()

ProcessorOptions::ProcessorOptions ( )

Member Function Documentation

◆ withAdditionalCredits()

ProcessorOptions ProcessorOptions::withAdditionalCredits ( juce::StringArray  names) const

◆ withoutUpdateChecker()

ProcessorOptions ProcessorOptions::withoutUpdateChecker ( ) const

◆ withoutNewsChecker()

ProcessorOptions ProcessorOptions::withoutNewsChecker ( ) const

Member Data Documentation

◆ pluginName

juce::String ProcessorOptions::pluginName

◆ devId

juce::String ProcessorOptions::devId

◆ developer

juce::String ProcessorOptions::developer

◆ pluginVersion

juce::String ProcessorOptions::pluginVersion

◆ updatesURL

juce::String ProcessorOptions::updatesURL

◆ url

juce::String ProcessorOptions::url

◆ urlTitle

juce::String ProcessorOptions::urlTitle

◆ wantsMidi

bool ProcessorOptions::wantsMidi = false

◆ makesMidi

bool ProcessorOptions::makesMidi = false

◆ useUpdateChecker

bool ProcessorOptions::useUpdateChecker = true

◆ useNewsChecker

bool ProcessorOptions::useNewsChecker = true

◆ programmingCredits

juce::StringArray ProcessorOptions::programmingCredits
Initial value:
=
{
"Roland Rabien",
"RAW Material Software JUCE Framework"
}

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