mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-04 05:06:58 -04:00
* [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.
29 lines
616 B
C++
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
|