Changeset 9 in projects for puncher/backend.dummy.c


Ignore:
Timestamp:
Aug 29, 2008, 1:24:03 AM (11 years ago)
Author:
sven
Message:
  • Recreated Makefiles in visualisator/ and puncher/
  • All /visualisator/ sources now compile with -Wall compiler flag
  • The basic /puncher/ sources compile with -Wall, too.
  • Added Readme for schriften/

Current development is now focussed at /puncher/frontend.gtk.c.

-- Sven @ workstation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • puncher/backend.dummy.c

    r8 r9  
    99#include <stdio.h>
    1010#include <stdlib.h>
     11#include <unistd.h> /* usleep! Unix! Not cross platform! */
    1112#include "backend.h"
    1213
     
    2021    printf("[dummy backend] punching 0x%x\n", byte);
    2122    usleep (20*1000); // 20ms
     23    return 0;
    2224}
    2325
    2426int puncher_backend_destroy(PuncherBackend* c) {
    2527    printf("[dummy backend] finishing backend...\n");
     28    return 0;
    2629}
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License