File: dummyprogresslistener.h

package info (click to toggle)
aoflagger 3.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,960 kB
  • sloc: cpp: 83,076; python: 10,187; sh: 260; makefile: 178
file content (16 lines) | stat: -rw-r--r-- 418 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef UTIL_PROGRESS_DUMMY_PROGRESS_LISTENER_H_
#define UTIL_PROGRESS_DUMMY_PROGRESS_LISTENER_H_

#include "progresslistener.h"

#include <exception>
#include <string>

class DummyProgressListener final : public ProgressListener {
  void OnStartTask(const std::string&) override {}
  void OnProgress(size_t, size_t) override {}
  void OnFinish() override {}
  void OnException(std::exception&) override {}
};

#endif