1 #include <stdexcept>
2 
3 using namespace std;
4 
5 #include "xmlrpc-c/abyss.h"
6 
7 #include "xmlrpc-c/AbyssChanSwitch.hpp"
8 
9 
10 
11 namespace xmlrpc_c {
12 
13 
14 
AbyssChanSwitch()15 AbyssChanSwitch::AbyssChanSwitch() {
16 
17     this->_cChanSwitchP = NULL;
18 }
19 
20 
21 
~AbyssChanSwitch()22 AbyssChanSwitch::~AbyssChanSwitch() {
23 
24     if (this->_cChanSwitchP)
25         ChanSwitchDestroy(this->_cChanSwitchP);
26 }
27 
28 
29 
30 TChanSwitch *
cChanSwitchP() const31 AbyssChanSwitch::cChanSwitchP() const {
32 
33     return this->_cChanSwitchP;
34 }
35 
36 
37 
38 }  // namespace
39