mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-04 05:06:58 -04:00
* WiP on porting sms to new cmux. * [cellular-messages] WiP concatented messages. * [cellular-messages] Sending sms and concatenated sms. * [cellular-messages] WiP concatenated messages. * [cellular-messages] Fixed deserialising multiple frames. * [cellular-message] Demo app + cellular api. * [cellular-message] Added text input selection * [cellular-messages] Fixed font size. * .gitignore update * [cellular-messages] cleanup and rm source/version.hpp. * [cellular-messages] PR suggestions. * [cellular-messages] Fixed merge overwrites, rest of PR suggestions. * [cellular-messages] Pr suggestions. * [cellular-messages] PR suggestions again.
30 lines
688 B
C++
30 lines
688 B
C++
/*
|
|
* @file CellularServiceAPI.hpp
|
|
* @author Mateusz Piesta (mateusz.piesta@mudita.com)
|
|
* @date 09.07.19
|
|
* @brief
|
|
* @copyright Copyright (C) 2019 mudita.com
|
|
* @details
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PUREPHONE_CELLULARSERVICEAPI_HPP
|
|
#define PUREPHONE_CELLULARSERVICEAPI_HPP
|
|
|
|
#include "../messages/CellularMessage.hpp"
|
|
#include "utf8/UTF8.hpp"
|
|
|
|
class Service;
|
|
|
|
class CellularServiceAPI {
|
|
public:
|
|
static bool DialNumber(sys::Service* serv,const std::string& number);
|
|
static bool AnswerIncomingCall(sys::Service* serv);
|
|
static bool HangupCall(sys::Service* serv);
|
|
static bool SendSMS(sys::Service* Serv, UTF8 number, UTF8 message);
|
|
};
|
|
|
|
|
|
#endif //PUREPHONE_CELLULARSERVICEAPI_HPP
|