mac_adjustmenus();
}
+void notify_remote_exit(void *fe) { /* XXX anything needed here? */ }
+
/*
* Local Variables:
* c-file-style: "simon"
-/* $Id: macmisc.c,v 1.3 2003/03/29 23:07:55 ben Exp $ */
+/* $Id$ */
/*
* Copyright (c) 1999, 2003 Ben Harris
* All rights reserved.
return ret;
}
+struct tm ltime(void)
+{
+ struct tm tm;
+ DateTimeRec d;
+ GetTime(&d);
+
+ tm.tm_sec=d.second;
+ tm.tm_min=d.minute;
+ tm.tm_hour=d.hour;
+ tm.tm_mday=d.day;
+ tm.tm_mon=d.month;
+ tm.tm_year=d.year;
+ tm.tm_wday=d.dayOfWeek;
+ tm.tm_yday=1; /* GetTime doesn't tell us */
+ tm.tm_isdst=0; /* Have to do DST ourselves */
+
+ /* XXX find out DST adjustment and add it */
+
+ return tm;
+}
+
+const char platform_x11_best_transport[] = "localhost";
+
+char *platform_get_x_display(void) {
+ return NULL;
+}
+
/*
* Local Variables:
* c-file-style: "simon"
return 0;
}
+SockAddr platform_get_x11_unix_address(int displaynum, char **canonicalname)
+{
+ return NULL;
+}
/*
* Local Variables:
}
/*
+ * This function is called on a timer, and grabs as much changeable
+ * system data as it can quickly get its hands on.
+ */
+void noise_regular(void)
+{
+ /* XXX */
+}
+
+/*
* This function is called on every keypress or mouse move, and
* will add the current time to the noise pool. It gets the scan
* code or mouse position passed in, and adds that too.