gCustomConnectEntries Class Reference

conglomerate of menus and entries for custom connect More...

Inheritance diagram for gCustomConnectEntries:

Inheritance graph
[legend]

List of all members.

Public Member Functions

void Generate (gServerFavorite &fav, uMenu *menu)
 gCustomConnectEntries ()
 gCustomConnectEntries (gServerFavorite &fav, uMenu *menu)
 ~gCustomConnectEntries ()


Detailed Description

conglomerate of menus and entries for custom connect

Definition at line 271 of file gServerFavorites.cpp.


Constructor & Destructor Documentation

gCustomConnectEntries::gCustomConnectEntries (  )  [inline]

Definition at line 283 of file gServerFavorites.cpp.

00284     {
00285     }

gCustomConnectEntries::gCustomConnectEntries ( gServerFavorite fav,
uMenu menu 
) [inline]

Definition at line 287 of file gServerFavorites.cpp.

References Generate().

00288     {
00289         Generate( fav, menu );
00290     }

Here is the call graph for this function:

gCustomConnectEntries::~gCustomConnectEntries (  )  [inline]

Definition at line 292 of file gServerFavorites.cpp.

00293     {
00294     }


Member Function Documentation

void gCustomConnectEntries::Generate ( gServerFavorite fav,
uMenu menu 
) [inline]

Definition at line 274 of file gServerFavorites.cpp.

References gServerFavorite::address_, gServerFavorite::GetIndex(), gServerBrowser::highPort, gServerFavorite::port_, sg_Connect, sg_GetBookmarkString(), sg_lowPort, and tNEW.

Referenced by gCustomConnectEntries(), and gServerFavoriteMenuEntries::gServerFavoriteMenuEntries().

00275     {
00276         // prepare output reading "Edit <server name>"
00277         // create menu items (autodeleted when the edit menu is killed)
00278         tNEW(uMenuItemFunctionInt) ( menu, sg_GetBookmarkString( "menu_edit_connect_text" ), sg_GetBookmarkString( "menu_edit_connect_help" ), sg_Connect, fav.GetIndex() );
00279         tNEW(uMenuItemInt)         ( menu,"$network_custjoin_port_text","$network_custjoin_port_help", fav.port_, sg_lowPort, gServerBrowser::highPort );
00280         tNEW(uMenuItemString)      ( menu,sg_GetBookmarkString( "menu_address" ),sg_GetBookmarkString( "menu_address_help" ),fav.address_);
00281     }

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:34:52 2008 for Armagetron Advanced by  doxygen 1.5.4