Files
MuditaOS/module-gui/gui/SwitchData.hpp
Alek-Mudita 4f9360b5f1 Egd 2252 no outgoing call number (#68)
* EGD-2252 fixed lack of number during outgoing call

* EGD-2252 one notfication type

* EGD-2252 some call switch data clean up
2019-11-07 19:25:20 +01:00

30 lines
761 B
C++

/*
* @file SwitchData.hpp
* @author Robert Borzecki (robert.borzecki@mudita.com)
* @date 15 cze 2019
* @brief
* @copyright Copyright (C) 2019 mudita.com
* @details
*/
#ifndef MODULE_APPS_SWITCHDATA_HPP_
#define MODULE_APPS_SWITCHDATA_HPP_
namespace gui {
//class template that stores information that was sent along with switch message
class SwitchData {
protected:
std::string description = "";
public:
SwitchData() {};
SwitchData( const std::string& description ) : description{description} {};
virtual ~SwitchData() {};
virtual const std::string& getDescription() const { return description; };
virtual void setDescription( const std::string desc ) { description = desc; };
};
} /* namespace gui */
#endif /* MODULE_APPS_SWITCHDATA_HPP_ */