LeviLamina
Loading...
Searching...
No Matches
DtmfSender.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/DtmfSenderInterface.h"
7#include "mc/external/webrtc/scoped_refptr.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class DtmfProviderInterface; }
12namespace webrtc { class DtmfSenderObserverInterface; }
13namespace webrtc { class TaskQueueBase; }
14// clang-format on
15
16namespace webrtc {
17
18class DtmfSender : public ::webrtc::DtmfSenderInterface {
19public:
20 // member variables
21 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 DtmfSender& operator=(DtmfSender const&);
35 DtmfSender(DtmfSender const&);
36 DtmfSender();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual void RegisterObserver(::webrtc::DtmfSenderObserverInterface* observer) /*override*/;
42
43 virtual void UnregisterObserver() /*override*/;
44
45 virtual bool CanInsertDtmf() /*override*/;
46
47 virtual bool InsertDtmf(::std::string const& tones, int duration, int inter_tone_gap, int comma_delay) /*override*/;
48
49 virtual ::std::string tones() const /*override*/;
50
51 virtual int duration() const /*override*/;
52
53 virtual int inter_tone_gap() const /*override*/;
54
55 virtual int comma_delay() const /*override*/;
56
57 virtual ~DtmfSender() /*override*/ = default;
58 // NOLINTEND
59
60public:
61 // member functions
62 // NOLINTBEGIN
63 MCNAPI void DoInsertDtmf();
64
66
67 MCNAPI void QueueInsertDtmf(uint delay_ms);
68 // NOLINTEND
69
70public:
71 // static functions
72 // NOLINTBEGIN
73 MCNAPI static ::webrtc::scoped_refptr<::webrtc::DtmfSender>
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
81
82 MCNAPI void $UnregisterObserver();
83
84 MCNAPI bool $CanInsertDtmf();
85
86 MCNAPI bool $InsertDtmf(::std::string const& tones, int duration, int inter_tone_gap, int comma_delay);
87
88 MCNAPI ::std::string $tones() const;
89
90 MCNAPI int $duration() const;
91
92 MCNAPI int $inter_tone_gap() const;
93
94 MCNAPI int $comma_delay() const;
95
96
97 // NOLINTEND
98
99public:
100 // vftables
101 // NOLINTBEGIN
102 MCNAPI static void** $vftable();
103 // NOLINTEND
104};
105
106} // namespace webrtc
Definition DtmfProviderInterface.h:7
Definition DtmfSenderInterface.h:15
Definition DtmfSenderObserverInterface.h:7
MCAPI void $RegisterObserver(::webrtc::DtmfSenderObserverInterface *observer)
MCAPI int $duration() const
static MCAPI ::webrtc::scoped_refptr<::webrtc::DtmfSender > Create(::webrtc::TaskQueueBase *signaling_thread, ::webrtc::DtmfProviderInterface *provider)
MCAPI int $comma_delay() const
MCAPI bool $CanInsertDtmf()
MCAPI bool $InsertDtmf(::std::string const &tones, int duration, int inter_tone_gap, int comma_delay)
MCAPI int $inter_tone_gap() const
MCAPI void $UnregisterObserver()
MCAPI void QueueInsertDtmf(uint delay_ms)
static MCAPI void ** $vftable()
MCAPI void DoInsertDtmf()
MCAPI::std::string $tones() const
MCAPI void OnDtmfProviderDestroyed()
Definition TaskQueueBase.h:16
Definition Alias.h:14