SOA::DLG_SERVERLIST_ADDITEM Class Reference

Dialog to allow user to add item to server list. More...

#include <soa/uiserverlist.h>

Inheritance diagram for SOA::DLG_SERVERLIST_ADDITEM:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

Dialog to allow user to add item to server list.


Member Typedef Documentation

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


Constructor & Destructor Documentation

SOA::DLG_SERVERLIST_ADDITEM::DLG_SERVERLIST_ADDITEM ( SERVERLIST ServerList,
const MISTRING listname,
const MISTRING title,
const MISTRING prompt,
const SERVERLIST::ITEM item 
)

Constructor.

Parameters:
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]

Member Function Documentation

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


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:39:20 2012 for TNTsdk 2012 by  doxygen 1.6.1