#include "ToggleArtistVisibilityCommand.h" #include "ViewController.h" void ToggleArtistVisibilityCommand::set(bool visible) { ViewController & controller = this->get_controller(); controller.set_artists_visible(visible); } void ToggleArtistVisibilityCommand::toggle() { ViewController & controller = this->get_controller(); controller.set_artists_visible(!controller.get_artists_visible()); }