Rozdiely pre cpdf/cpdf.c medzi verziami 1.7 a 1.8
| verzia 1.7, 2002/10/09 22:06:35 |
verzia 1.8, 2002/10/14 19:55:12 |
|
|
| #include "parse.h" |
#include "parse.h" |
| #include "cpdf.h" |
#include "cpdf.h" |
| |
|
| /* $Platon: cpdf/cpdf.c,v 1.6 2002/10/08 18:48:58 lynx Exp $ */ |
/* $Platon: cpdf/cpdf.c,v 1.7 2002/10/09 22:06:35 lynx Exp $ */ |
| static struct option lopt[] = { |
static struct option lopt[] = { |
| |
|
| {"mode", required_argument, 0, 'm'}, |
{"mode", required_argument, 0, 'm'}, |
| Riadok 76 int main(int argc, char **argv) |
|
| Riadok 76 int main(int argc, char **argv) |
|
| vga_setmode(mode); |
vga_setmode(mode); |
| gl_setcontextvga(mode);*/ |
gl_setcontextvga(mode);*/ |
| parse_pdf(); |
parse_pdf(); |
| |
/* loop();*/ |
| /* getchar(); |
/* getchar(); |
| vga_setmode(TEXT);*/ |
vga_setmode(TEXT);*/ |
| fclose(fp); |
fclose(fp); |
| exit(0); |
exit(0); |
| } |
} |
| |
/*void loop(void) |
| |
{ |
| |
while(1) { |
| |
render(); |
| |
switch(getchar()) { |
| |
case 32: |
| |
current_page++; |
| |
continue; |
| |
} |
| |
} |
| |
return; |
| |
}*/ |
Platon Group <platon@platon.sk> http://platon.sk/
|
|