Dialog to allow user to add item to server list. More...
#include <soa/uiserverlist.h>

Public Types | |
| typedef fastdelegate::FastDelegate < void(const SERVERLIST::ITEM *, const SERVERLIST::ITEM *) | DELEGATE_ONITEMADDED ) |
Public Member Functions | |
| DLG_SERVERLIST_ADDITEM (SERVERLIST &ServerList, const MISTRING &listname, const MISTRING &title, const MISTRING &prompt, const SERVERLIST::ITEM &item) | |
| virtual | ~DLG_SERVERLIST_ADDITEM () |
| void | SetDelegateOnItemAdded (DELEGATE_ONITEMADDED DelegateOnItemAdded) |
Dialog to allow user to add item to server list.
| typedef fastdelegate::FastDelegate<void(const SERVERLIST::ITEM*, const SERVERLIST::ITEM*) SOA::DLG_SERVERLIST_ADDITEM::DELEGATE_ONITEMADDED) |
Delegate for handling notification of item having been added.
Item is always added to end of list. Parameters are: Pointer to parent, NULL if added to root list Pointer to item (in list) actually inserted
| SOA::DLG_SERVERLIST_ADDITEM::DLG_SERVERLIST_ADDITEM | ( | SERVERLIST & | ServerList, | |
| const MISTRING & | listname, | |||
| const MISTRING & | title, | |||
| const MISTRING & | prompt, | |||
| const SERVERLIST::ITEM & | item | |||
| ) |
Constructor.
| ServerList | Reference to server list | |
| listname | Name of list | |
| title | Dialog title | |
| prompt | Prompt | |
| item | Item to add |
| virtual SOA::DLG_SERVERLIST_ADDITEM::~DLG_SERVERLIST_ADDITEM | ( | ) | [virtual] |
| void SOA::DLG_SERVERLIST_ADDITEM::SetDelegateOnItemAdded | ( | DELEGATE_ONITEMADDED | DelegateOnItemAdded | ) | [inline] |
Set delegate to call when item actually added.
Will be called if user adds folders, as well as when OK pressed
1.6.1