Files
MuditaOS/module-services/service-cellular/api/CellularServiceAPI.hpp
kkleczkowski 9811b7a044 Egd 2404 db modem (#137)
* [EGD-2404] Handling incoming SMS.

* [EGD-2404-db-modem] WiP onf db handling.

* [EGD-2404-db-modem] service-db notification + SmsDB::Add.

* WiP handling service-db notification in service-cellular.

* WiP on cellular<->db.

* Fix in usc2, handlig incoming message.

* Code cleanup pt 1.

* Improvements in service-csllular.

* Fixed compilation error on target, small cleanup.

* Small claenup.

* Fixes after rebase.

* Fixed incoming sms date parsing on target.

* Fix after rebase.

* PR suggestions added.

* dynamic_cast + nullptr check.
2020-01-21 10:49:18 +01:00

29 lines
616 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);
};
#endif //PUREPHONE_CELLULARSERVICEAPI_HPP