wanpipe/util/wancfg/menu_frame_relay_basic_cfg.h

50 lines
1.8 KiB
C++

/***************************************************************************
menu_frame_relay_basic_cfg.h - description
-------------------
begin : Fri Mar 12 2004
copyright : (C) 2004 by David Rokhvarg
email : davidr@sangoma.com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef MENU_FRAME_RELAY_BASIC_CFG_H
#define MENU_FRAME_RELAY_BASIC_CFG_H
#include "menu_base.h"
#include "conf_file_reader.h"
/**Presents basic Frame Relay configuration options.
*@author David Rokhvarg
*/
class menu_frame_relay_basic_cfg : public menu_base {
char lxdialog_path[MAX_PATH_LENGTH];
list_element_chan_def* parent_list_element_logical_ch;
char* name_of_parent_layer;
wan_fr_conf_t* fr; // frame relay configuration - in 'profile' section. has to be THE SAME for all
// dlcis belonging to this frame relay device
public:
menu_frame_relay_basic_cfg(
IN char * lxdialog_path,
IN list_element_chan_def* parent_element_logical_ch);
~menu_frame_relay_basic_cfg();
int run(OUT int * selection_index);
};
#endif