Vulkan-Samples icon indicating copy to clipboard operation
Vulkan-Samples copied to clipboard

FI: Move CLI Parsing Framework into a Separate Library

Open TomAtkinsonArm opened this issue 3 years ago • 1 comments

What is the Problem?

Not so much a problem at the moment but if the platform class is removed with #438 then the CLI Parsing should be moved to event handlers which take in reference to all resources they modify. At the moment the platform triages all.

What is the proposed Solution?

Port Plugins to the new framework paradigm

Examples

in main(){
  EventBus bus;
  
  PluginSet plugins;
  plugins.add(SomePluginWhichChangesTheWindow(window));
  plugins.add(SomePluginWhichControlsLogging());
  
  bus.import(plugins.handlers());
}

Issues

  • Plugins is in a good state to port but it would mean that handling applications on desktop would need to change

TomAtkinsonArm avatar Apr 11 '22 18:04 TomAtkinsonArm

With the mentioned #438 having been closed some time ago, do we still need/want this?

SaschaWillems avatar May 18 '24 09:05 SaschaWillems

Closing this for now. I don't think we're going to implement this.

SaschaWillems avatar Aug 26 '24 18:08 SaschaWillems