Commit 2a324a26a8c2a311507ffe8917f96df0ae391fad

Authored by bellard
1 parent aaed909a

exported display init functions to common code


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3563 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 16 additions and 16 deletions
@@ -787,6 +787,22 @@ void readline_start(const char *prompt, int is_password, @@ -787,6 +787,22 @@ void readline_start(const char *prompt, int is_password,
787 787
788 void kqemu_record_dump(void); 788 void kqemu_record_dump(void);
789 789
  790 +/* sdl.c */
  791 +void sdl_display_init(DisplayState *ds, int full_screen, int no_frame);
  792 +
  793 +/* cocoa.m */
  794 +void cocoa_display_init(DisplayState *ds, int full_screen);
  795 +
  796 +/* vnc.c */
  797 +void vnc_display_init(DisplayState *ds);
  798 +void vnc_display_close(DisplayState *ds);
  799 +int vnc_display_open(DisplayState *ds, const char *display);
  800 +int vnc_display_password(DisplayState *ds, const char *password);
  801 +void do_info_vnc(void);
  802 +
  803 +/* x_keymap.c */
  804 +extern uint8_t _translate_keycode(const int key);
  805 +
790 #ifndef QEMU_TOOL 806 #ifndef QEMU_TOOL
791 807
792 typedef void QEMUMachineInitFunc(int ram_size, int vga_ram_size, 808 typedef void QEMUMachineInitFunc(int ram_size, int vga_ram_size,
@@ -994,22 +1010,6 @@ void isa_cirrus_vga_init(DisplayState *ds, uint8_t *vga_ram_base, @@ -994,22 +1010,6 @@ void isa_cirrus_vga_init(DisplayState *ds, uint8_t *vga_ram_base,
994 void pci_vmsvga_init(PCIBus *bus, DisplayState *ds, uint8_t *vga_ram_base, 1010 void pci_vmsvga_init(PCIBus *bus, DisplayState *ds, uint8_t *vga_ram_base,
995 unsigned long vga_ram_offset, int vga_ram_size); 1011 unsigned long vga_ram_offset, int vga_ram_size);
996 1012
997 -/* sdl.c */  
998 -void sdl_display_init(DisplayState *ds, int full_screen, int no_frame);  
999 -  
1000 -/* cocoa.m */  
1001 -void cocoa_display_init(DisplayState *ds, int full_screen);  
1002 -  
1003 -/* vnc.c */  
1004 -void vnc_display_init(DisplayState *ds);  
1005 -void vnc_display_close(DisplayState *ds);  
1006 -int vnc_display_open(DisplayState *ds, const char *display);  
1007 -int vnc_display_password(DisplayState *ds, const char *password);  
1008 -void do_info_vnc(void);  
1009 -  
1010 -/* x_keymap.c */  
1011 -extern uint8_t _translate_keycode(const int key);  
1012 -  
1013 /* ide.c */ 1013 /* ide.c */
1014 #define MAX_DISKS 4 1014 #define MAX_DISKS 4
1015 1015