mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
convert most char[...] configuration values to std::string
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
This commit is contained in:
@@ -187,12 +187,15 @@ class CDateInput : public CExtendedInput
|
||||
|
||||
class CMACInput : public CExtendedInput
|
||||
{
|
||||
char MAC[32];
|
||||
std::string * mac;
|
||||
|
||||
protected:
|
||||
virtual void onBeforeExec();
|
||||
virtual void onAfterExec();
|
||||
|
||||
public:
|
||||
CMACInput(const neutrino_locale_t Name, char* Value, const neutrino_locale_t Hint_1, const neutrino_locale_t Hint_2, CChangeObserver* Observ = NULL);
|
||||
CMACInput(const neutrino_locale_t Name, std::string & Value, const neutrino_locale_t Hint_1, const neutrino_locale_t Hint_2, CChangeObserver* Observ = NULL);
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user