Turn almost all Listeners into abstract interfaces

This commit is contained in:
Flössie
2018-10-09 20:32:40 +02:00
parent 2a9d3896bb
commit 2125f42116
159 changed files with 1385 additions and 939 deletions

View File

@@ -228,7 +228,6 @@ void FilePanel::on_NB_switch_page(Gtk::Widget* page, guint page_num)
bool FilePanel::fileSelected (Thumbnail* thm)
{
if (!parent) {
return false;
}
@@ -258,6 +257,16 @@ bool FilePanel::fileSelected (Thumbnail* thm)
sigc::bind(sigc::mem_fun(*this, &FilePanel::imageLoaded), thm, ld) );
return true;
}
bool FilePanel::addBatchQueueJobs(const std::vector<BatchQueueEntry*>& entries)
{
if (parent) {
parent->addBatchQueueJobs (entries);
}
return true;
}
bool FilePanel::imageLoaded( Thumbnail* thm, ProgressConnector<rtengine::InitialImage*> *pc )
{
@@ -365,16 +374,6 @@ void FilePanel::open (const Glib::ustring& d)
}
}
bool FilePanel::addBatchQueueJobs ( std::vector<BatchQueueEntry*> &entries )
{
if (parent) {
parent->addBatchQueueJobs (entries);
}
return true;
}
void FilePanel::optionsChanged ()
{