#endif /* UCLINUX */
static char *BinDir; /* Binaries directory from .gnokiirc file - not used here yet */
-#ifdef DEBUG
+#ifndef UCLINUX
static GSM_SMSMessage SMS[4];
-#endif
+#endif /* UCLINUX */
#ifndef UCLINUX
return 0;
}
-#endif /* UCLINUX */
-
static int GSM_SaveMultiPartSMSOnConsole(GSM_MultiSMSMessage *MultiSMS, int argnum, int argc, char *argv[],
bool inter, bool unicode, bool profile, bool scale) {
return 0;
}
-#ifndef UCLINUX
-
void GSM_PlayRingtoneOnConsole(GSM_Ringtone *ringtone)
{
int i;
));
#endif /* UCLINUX */
+#ifndef UCLINUX
fprintf(stdout, _(
" gnokii --getmemory memory_type [start [end]] [-short|-v30|-v21|-v]\n"
+ ));
+#else /* UCLINUX */
+ fprintf(stdout, _(
+" gnokii --getmemory memory_type [start [end]] [-short]\n"
+ ));
+#endif /* UCLINUX */
+
+ fprintf(stdout, _(
" gnokii --writephonebook [-i]\n"
));
" gnokii --sendphonebookentry destination memory_type location\n"
" [--smsc message_center_number] [--smscno message_center_index]\n"
" [-s] [-v n] [-d]\n"
- ));
-#endif /* UCLINUX */
-
- fprintf(stdout, _(
" gnokii --savephonebookentry memory_type location\n"
" [--smsc message_center_number] [--smscno message_center_index]\n"
" [-r] [-i] [-s] [-a] [--name name]\n"
- ));
-
-#ifndef UCLINUX
- fprintf(stdout, _(
" gnokii --getvoicemailbox\n"
));
#endif /* UCLINUX */
{ "sendcalendarnote", required_argument, NULL, OPT_SENDCALENDARNOTE },
{ "savecalendarnote", required_argument, NULL, OPT_SAVECALENDARNOTE },
{ "sendphonebookentry", required_argument, NULL, OPT_SENDPHONEBOOKENTRY},
-#endif /* UCLINUX */
{ "savephonebookentry", required_argument, NULL, OPT_SAVEPHONEBOOKENTRY},
-#ifndef UCLINUX
{ "deletecalendarnote", required_argument, NULL, OPT_DELCALENDARNOTE },// Delete calendar note mode
#endif /* UCLINUX */
{ "getmemory", required_argument, NULL, OPT_GETMEMORY },// Get memory mode
case OPT_DELCALENDARNOTE: rc = deletecalendarnote(optarg);break;
case OPT_SAVECALENDARNOTE: rc = savecalendarnote(nargc, nargv);break;
case OPT_SENDCALENDARNOTE: rc = sendcalendarnote(nargc, nargv);break;
-#endif /* UCLINUX */
case OPT_SAVEPHONEBOOKENTRY: rc = savephonebookentry(nargc, nargv);break;
-#ifndef UCLINUX
case OPT_SENDPHONEBOOKENTRY: rc = sendphonebookentry(nargc, nargv);break;
case OPT_WRITECALENDARNOTE: rc = writecalendarnote(nargv); break;
#endif /* UCLINUX */
i_used++;
else if (do_all)
break;
+#ifndef UCLINUX
if (output_opt && !strcmp( output_opt,"-v30")) {
semicolon_pipe_substitution( &entry, 0 );
fprintf(stdout,_("%s"),GSM_GetVCARD(&entry,30));
fprintf(stdout,_("%s"),GSM_GetVCARD(&entry,10));
formatdone=true;
}
+#endif /* UCLINUX */
if (output_opt && !strcmp(output_opt,"-short")) {
semicolon_pipe_substitution( &entry, 0 );
fprintf(stdout, "%s;%s;%s;%d;%d;", entry.Name, entry.Number, memory_type_string, entry.Location, entry.Group);
return 0;
}
-#endif /* UCLINUX */
-
-static int savephonebookentry(int argc, char *argv[])
+int savephonebookentry(int argc, char *argv[])
{
GSM_MultiSMSMessage MultiSMS;
GSM_PhonebookEntry entry;
return 0;
}
-#ifndef UCLINUX
-
int sendphonebookentry(int argc, char *argv[])
{
GSM_MultiSMSMessage MultiSMS;