Derived from: none
Declared in: be/addons/net_server/NetDevice.h
Library: libnetdev.so
The BNetConfig class's Config() function is called with a pointer to a BCallbackHandler object as one of its arguments. The BCallbackHandler class has one member function: Done().
Your implementation of the BNetConfig::Config() function should call the callback handler's Done() function when configuration is complete and the user interface has been closed. You should only call done if your Config() function returned B_OK and the autoconfig argument wasn't specified as true. See the description of Config() in the BNetConfig class for more information.
virtual void Done(status_t status) = 0
When your Config() function's user interface has been closed, you should call the Done() function in the BCallbackHandler that was passed to Config(). The status parameter specifies whether or not configuration was successful; if you don't pass B_OK, it will be assumed that configuration failed.
You should only call this function if Config() returned B_OK and autoconf was false.
The Be Book, in lovely HTML, for BeOS Release 3.
Copyright © 1998 Be, Inc. All rights reserved.
Last modified March 26, 1998.