network: Add a NetObject->edit vfunc for the different devices to use
This commit is contained in:
parent
a808633484
commit
62b8a4c8bb
5 changed files with 42 additions and 14 deletions
|
@ -167,6 +167,14 @@ net_object_refresh (NetObject *object)
|
|||
klass->refresh (object);
|
||||
}
|
||||
|
||||
void
|
||||
net_object_edit (NetObject *object)
|
||||
{
|
||||
NetObjectClass *klass = NET_OBJECT_GET_CLASS (object);
|
||||
if (klass->edit != NULL)
|
||||
klass->edit (object);
|
||||
}
|
||||
|
||||
/**
|
||||
* net_object_get_property:
|
||||
**/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue