2016-01-06 20:02:06 +00:00
|
|
|
#pragma once
|
2015-11-18 19:59:03 +00:00
|
|
|
|
|
|
|
#include <map>
|
|
|
|
#include <memory>
|
2016-01-19 21:05:06 +00:00
|
|
|
#include <functional>
|
2015-12-29 15:26:01 +00:00
|
|
|
#include "audioInput/AudioStream.h"
|
2015-11-18 19:59:03 +00:00
|
|
|
#include "Phone.h"
|
|
|
|
#include "centiseconds.h"
|
2016-01-28 18:13:40 +00:00
|
|
|
#include "progressBar.h"
|
2016-02-09 21:08:11 +00:00
|
|
|
#include <boost/optional/optional.hpp>
|
2015-11-18 19:59:03 +00:00
|
|
|
|
2016-02-09 21:08:11 +00:00
|
|
|
std::map<centiseconds, Phone> detectPhones(
|
|
|
|
std::function<std::unique_ptr<AudioStream>(void)> createAudioStream,
|
|
|
|
boost::optional<std::string> dialog,
|
|
|
|
ProgressSink& progressSink);
|