reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
IMParticipantBase.hxx
Go to the documentation of this file.
1#if !defined(IMParticipantBase_hxx)
2#define IMParticipantBase_hxx
3
4#include <memory>
5
6namespace resip
7{
8class SipMessage;
9class Contents;
10}
11
12namespace recon
13{
14
22{
23public:
25 virtual ~IMParticipantBase() {}
26
27 virtual void sendInstantMessage(std::unique_ptr<resip::Contents> contents) = 0;
28
29 virtual void setPrependSenderInfoToIMs(bool value) { mPrependSenderInfoToIMs = value; }
31
32protected:
33
35};
36
37}
38
39#endif
40
41
42/* ====================================================================
43
44 Copyright (c) 2021, SIP Spectrum, Inc http://www.sipspectrum.com
45 All rights reserved.
46
47 Redistribution and use in source and binary forms, with or without
48 modification, are permitted provided that the following conditions are
49 met:
50
51 1. Redistributions of source code must retain the above copyright
52 notice, this list of conditions and the following disclaimer.
53
54 2. Redistributions in binary form must reproduce the above copyright
55 notice, this list of conditions and the following disclaimer in the
56 documentation and/or other materials provided with the distribution.
57
58 3. Neither the name of Plantronics nor the names of its contributors
59 may be used to endorse or promote products derived from this
60 software without specific prior written permission.
61
62 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
63 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
64 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
65 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
66 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
67 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
68 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
69 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
70 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
71 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
72 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
73
74 ==================================================================== */
This class represents base functionality for a participant that supports IMs.
virtual bool getPrependSenderInfoToIMs()
IMParticipantBase(bool prependSenderInfoToIMs)
virtual void setPrependSenderInfoToIMs(bool value)
virtual void sendInstantMessage(std::unique_ptr< resip::Contents > contents)=0
dcm! – add UnusedChecking(_enum) below;
void list()
Definition userAdmin.cxx:66