Network: added notify settings updated method.

* And call it from the DNS client -- this is the only add-on that does
  not trigger a configuration or settings update, so we have to notify
  the changes manually.
This commit is contained in:
Axel Dörfler
2015-03-27 13:25:27 +01:00
parent 235571538b
commit 3d7aaa308c
7 changed files with 38 additions and 10 deletions
@@ -27,10 +27,6 @@ enum BNetworkSettingsType {
B_NETWORK_SETTINGS_TYPE_OTHER = 'othr'
};
enum {
kMsgSettingsItemUpdated = 'SIup'
};
class BNetworkProfile;
class BNetworkSettings;
@@ -70,6 +66,8 @@ public:
virtual void SettingsUpdated(uint32 type);
virtual void ConfigurationUpdated(const BMessage& message);
virtual void NotifySettingsUpdated();
private:
const BNetworkProfile*
fProfile;