52 lines
1.9 KiB
C++
52 lines
1.9 KiB
C++
/***************************************************************************
|
|
menu_aft_logical_channel_cfg.h - description
|
|
-------------------
|
|
begin : Thu Apr 8 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_WAN_CHANNEL_CFG_V1_H
|
|
#define MENU_WAN_CHANNEL_CFG_V1_H
|
|
|
|
#include "menu_base.h"
|
|
#include "objects_list.h"
|
|
#include "list_element_chan_def.h"
|
|
|
|
/**
|
|
*@author David Rokhvarg
|
|
|
|
this class used for configuring LIP layer above LIP layer
|
|
as opposed to LIP layer above Hardware Layer.
|
|
*/
|
|
|
|
class menu_wan_channel_cfg_v1 : public menu_base {
|
|
|
|
char lxdialog_path[MAX_PATH_LENGTH];
|
|
|
|
list_element_chan_def* parent_list_element_logical_ch;
|
|
|
|
int display_protocol_cfg(IN list_element_chan_def* list_element_logical_ch);
|
|
int handle_protocol_change( unsigned int protocol_selected,
|
|
IN list_element_chan_def* logical_ch_cfg);
|
|
|
|
public:
|
|
menu_wan_channel_cfg_v1(IN char * lxdialog_path,
|
|
IN list_element_chan_def* logical_ch_cfg);
|
|
|
|
~menu_wan_channel_cfg_v1();
|
|
|
|
int run(IN int wanpipe_number, OUT int * selection_index, IN int number_of_timeslot_groups);
|
|
};
|
|
|
|
#endif
|