~ubuntu-branches/ubuntu/quantal/vice/quantal

« back to all changes in this revision

Viewing changes to src/pet/petpia1.c

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2006-07-30 19:15:59 UTC
  • mto: (9.1.1 lenny) (1.1.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20060730191559-g31ymd2mk102kzff
Tags: upstream-1.19
ImportĀ upstreamĀ versionĀ 1.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
#include "petpia.h"
44
44
#include "piacore.h"
45
45
#include "resources.h"
 
46
#ifdef HAS_TRANSLATION
 
47
#include "translate.h"
 
48
#endif
46
49
#include "types.h"
47
50
 
48
51
 
104
107
}
105
108
 
106
109
 
107
 
static const cmdline_option_t cmdline_options[] = {
108
 
    { "-diagpin", SET_RESOURCE, 0, NULL, NULL, "DiagPin", (resource_value_t)1,
109
 
      NULL, "Enable userport diagnostic pin" },
110
 
    { "+diagpin", SET_RESOURCE, 0, NULL, NULL, "DiagPin", (resource_value_t)1,
111
 
      NULL, "Disable userport diagnostic pin" },
112
 
    { NULL }
113
 
};
 
110
#ifdef HAS_TRANSLATION
 
111
static const cmdline_option_t cmdline_options[] = {
 
112
    { "-diagpin", SET_RESOURCE, 0, NULL, NULL, "DiagPin", (resource_value_t)1,
 
113
      0, IDCLS_ENABLE_USERPORT_DIAG_PIN },
 
114
    { "+diagpin", SET_RESOURCE, 0, NULL, NULL, "DiagPin", (resource_value_t)1,
 
115
      0, IDCLS_DISABLE_USERPORT_DIAG_PIN },
 
116
    { NULL }
 
117
};
 
118
#else
 
119
static const cmdline_option_t cmdline_options[] = {
 
120
    { "-diagpin", SET_RESOURCE, 0, NULL, NULL, "DiagPin", (resource_value_t)1,
 
121
      NULL, N_("Enable userport diagnostic pin") },
 
122
    { "+diagpin", SET_RESOURCE, 0, NULL, NULL, "DiagPin", (resource_value_t)1,
 
123
      NULL, N_("Disable userport diagnostic pin") },
 
124
    { NULL }
 
125
};
 
126
#endif
114
127
 
115
128
int pia1_init_cmdline_options(void)
116
129
{