Files
openbts/Control/L3SupServ.h
2014-07-16 23:57:22 +02:00

38 lines
1.0 KiB
C++

/*
* Copyright 2013, 2014 Range Networks, Inc.
*
* This software is distributed under multiple licenses;
* see the COPYING file in the main directory for licensing
* information for this specific distribution.
*
* This use of this software may be subject to additional restrictions.
* See the LEGAL file in the main directory for details.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef _L3SUPSERV_H_
#define _L3SUPSERV_H_ 1
#include "ControlCommon.h"
#include "L3StateMachine.h"
#include <GSML3MMMessages.h>
namespace Control {
// The base class for SS [Supplementary Services]
class SSDBase : public MachineBase {
protected:
MachineStatus handleSSMessage(const GSM::L3Message*ssmsg);
SSDBase(TranEntry *wTran) : MachineBase(wTran) {}
};
void startMOSSD(const GSM::L3CMServiceRequest*cmsrq, MMContext *mmchan);
string ssMap2Ussd(const unsigned char *mapcmd,unsigned maplen);
};
#endif