~ubuntu-branches/ubuntu/raring/vice/raring

« back to all changes in this revision

Viewing changes to src/arch/unix/uitfe.c

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2005-02-01 11:30:26 UTC
  • mto: (9.1.1 lenny) (1.1.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050201113026-6gy97mcqlg2ykg4z
Tags: upstream-1.16
ImportĀ upstreamĀ versionĀ 1.16

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * uitfe.c
 
3
 *
 
4
 * Written by
 
5
 *  Andreas Boose <viceteam@t-online.de>
 
6
 *
 
7
 * This file is part of VICE, the Versatile Commodore Emulator.
 
8
 * See README for copyright notice.
 
9
 *
 
10
 *  This program is free software; you can redistribute it and/or modify
 
11
 *  it under the terms of the GNU General Public License as published by
 
12
 *  the Free Software Foundation; either version 2 of the License, or
 
13
 *  (at your option) any later version.
 
14
 *
 
15
 *  This program is distributed in the hope that it will be useful,
 
16
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
 *  GNU General Public License for more details.
 
19
 *
 
20
 *  You should have received a copy of the GNU General Public License
 
21
 *  along with this program; if not, write to the Free Software
 
22
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 
23
 *  02111-1307  USA.
 
24
 *
 
25
 */
 
26
 
 
27
#include "vice.h"
 
28
 
 
29
#ifdef HAVE_TFE
 
30
 
 
31
#include <stdio.h>
 
32
 
 
33
#include "uilib.h"
 
34
#include "uimenu.h"
 
35
#include "uitfe.h"
 
36
 
 
37
 
 
38
UI_MENU_DEFINE_TOGGLE(ETHERNET_ACTIVE)
 
39
UI_MENU_DEFINE_TOGGLE(ETHERNET_AS_RR)
 
40
 
 
41
UI_CALLBACK(set_interface_name)
 
42
{
 
43
    uilib_select_string((char *)UI_MENU_CB_PARAM, _("Ethernet interface"),
 
44
                        _("Name:"));
 
45
}
 
46
 
 
47
ui_menu_entry_t tfe_submenu[] = {
 
48
    { N_("*Enable Ethernet"),
 
49
      (ui_callback_t)toggle_ETHERNET_ACTIVE, NULL, NULL },
 
50
    { N_("*RR-NET compatibity mode"),
 
51
      (ui_callback_t)toggle_ETHERNET_AS_RR, NULL, NULL },
 
52
    { N_("Interface..."),
 
53
      (ui_callback_t)set_interface_name,
 
54
      (ui_callback_data_t)"ETHERNET_INTERFACE", NULL },
 
55
    { NULL }
 
56
};
 
57
 
 
58
#endif
 
59