diff --git a/src/include/86box/acpi.h b/src/include/86box/acpi.h index 5a3eb39ec..2287b3d56 100644 --- a/src/include/86box/acpi.h +++ b/src/include/86box/acpi.h @@ -8,8 +8,6 @@ * * Definitions for the ACPI emulation. * - * - * * Authors: Miran Grca, * * Copyright 2020 Miran Grca. diff --git a/src/include/86box/agpgart.h b/src/include/86box/agpgart.h index d3ed35c88..abb0a0e07 100644 --- a/src/include/86box/agpgart.h +++ b/src/include/86box/agpgart.h @@ -8,13 +8,10 @@ * * AGP Graphics Address Remapping Table remapping emulation. * - * - * * Authors: RichardG, * * Copyright 2021 RichardG. */ - #ifndef EMU_AGPGART_H #define EMU_AGPGART_H diff --git a/src/include/86box/apm.h b/src/include/86box/apm.h index 2d5f0f117..cff17fa57 100644 --- a/src/include/86box/apm.h +++ b/src/include/86box/apm.h @@ -8,8 +8,6 @@ * * Definitions for the Advanced Power Management emulation. * - * - * * Authors: Miran Grca, * * Copyright 2019 Miran Grca. diff --git a/src/include/86box/bswap.h b/src/include/86box/bswap.h index 0c32a7887..a2802d920 100644 --- a/src/include/86box/bswap.h +++ b/src/include/86box/bswap.h @@ -8,8 +8,6 @@ * * Various definitions for portable byte-swapping. * - * - * * Authors: Fred N. van Kempen, * neozeed, * @@ -34,7 +32,6 @@ * Boston, MA 02111-1307 * USA. */ - #ifndef BSWAP_H #define BSWAP_H diff --git a/src/include/86box/bugger.h b/src/include/86box/bugger.h index 57dabd172..99f73ac3f 100644 --- a/src/include/86box/bugger.h +++ b/src/include/86box/bugger.h @@ -15,8 +15,6 @@ * * Definitions for the BUGGER card. * - * - * * Authors: Fred N. van Kempen, * * Copyright 1989-2018 Fred N. van Kempen. diff --git a/src/include/86box/cartridge.h b/src/include/86box/cartridge.h index 2b0662703..3afe1c3fc 100644 --- a/src/include/86box/cartridge.h +++ b/src/include/86box/cartridge.h @@ -8,8 +8,6 @@ * * Definitions for the PCjr cartridge emulation. * - * - * * Authors: Miran Grca, * * Copyright 2021 Miran Grca. diff --git a/src/include/86box/cdrom_interface.h b/src/include/86box/cdrom_interface.h index ba4d0581b..2d68346ca 100644 --- a/src/include/86box/cdrom_interface.h +++ b/src/include/86box/cdrom_interface.h @@ -8,8 +8,6 @@ * * Definitions for the common CD-ROM interface controller handler. * - * - * * Authors: TheCollector1995 * * Copyright 2022 TheCollector1995. diff --git a/src/include/86box/cdrom_mke.h b/src/include/86box/cdrom_mke.h index 659e084e3..e47fc651a 100644 --- a/src/include/86box/cdrom_mke.h +++ b/src/include/86box/cdrom_mke.h @@ -14,7 +14,6 @@ * Copyright 2022-2025 Miran Grca. * Copyright 2025 Cacodemon345. */ - #ifndef CDROM_MKE_H #define CDROM_MKE_H diff --git a/src/include/86box/chipset.h b/src/include/86box/chipset.h index 66ae082ef..64b5bd88f 100644 --- a/src/include/86box/chipset.h +++ b/src/include/86box/chipset.h @@ -8,8 +8,6 @@ * * Handling of the emulated chipsets. * - * - * * Authors: Miran Grca, * * Copyright 2019-2020 Miran Grca. diff --git a/src/include/86box/clock.h b/src/include/86box/clock.h index 10155eabc..e0d2d9c09 100644 --- a/src/include/86box/clock.h +++ b/src/include/86box/clock.h @@ -8,8 +8,6 @@ * * Definitions for clock generator chips. * - * - * * Authors: RichardG, * * Copyright 2020 RichardG. diff --git a/src/include/86box/ddma.h b/src/include/86box/ddma.h index 01c2e980d..c7c44bb17 100644 --- a/src/include/86box/ddma.h +++ b/src/include/86box/ddma.h @@ -8,8 +8,6 @@ * * Definitions for the Distributed DMA emulation. * - * - * * Authors: Miran Grca, * * Copyright 2020 Miran Grca. diff --git a/src/include/86box/device.h b/src/include/86box/device.h index 76f12a0c5..c3892d27c 100644 --- a/src/include/86box/device.h +++ b/src/include/86box/device.h @@ -8,8 +8,6 @@ * * Definitions for the device handler. * - * - * * Authors: Fred N. van Kempen, * Miran Grca, * Sarah Walker, diff --git a/src/include/86box/discord.h b/src/include/86box/discord.h index 358c95c9b..6f698470b 100644 --- a/src/include/86box/discord.h +++ b/src/include/86box/discord.h @@ -8,8 +8,6 @@ * * Definitions for the Discord integration module. * - * - * * Authors: David Hrdlička, * * Copyright 2019 David Hrdlička. diff --git a/src/include/86box/disksizes.h b/src/include/86box/disksizes.h index b5cd1bc30..642d099fc 100644 --- a/src/include/86box/disksizes.h +++ b/src/include/86box/disksizes.h @@ -8,13 +8,10 @@ * * Header of the emulation of the PC speaker. * - * - * * Authors: Jasmine Iwanek * - * Copyright 2022 Jasmine Iwanek + * Copyright 2022-2025 Jasmine Iwanek */ - #ifndef DISK_SIZES_H #define DISK_SIZES_H diff --git a/src/include/86box/dma.h b/src/include/86box/dma.h index 23ce04898..96530cf01 100644 --- a/src/include/86box/dma.h +++ b/src/include/86box/dma.h @@ -8,8 +8,6 @@ * * Definitions for the Intel DMA controller. * - * - * * Authors: Fred N. van Kempen, * Miran Grca, * Sarah Walker, diff --git a/src/include/86box/fdc.h b/src/include/86box/fdc.h index 06ccafa39..ff56aa0ef 100644 --- a/src/include/86box/fdc.h +++ b/src/include/86box/fdc.h @@ -9,8 +9,6 @@ * Implementation of the NEC uPD-765 and compatible floppy disk * controller. * - * - * * Authors: Sarah Walker, * Miran Grca, * Fred N. van Kempen, diff --git a/src/include/86box/fdc_ext.h b/src/include/86box/fdc_ext.h index e6348139b..099271629 100644 --- a/src/include/86box/fdc_ext.h +++ b/src/include/86box/fdc_ext.h @@ -9,8 +9,6 @@ * Implementation of the NEC uPD-765 and compatible floppy disk * controller. * - * - * * Authors: Sarah Walker, * Miran Grca, * Fred N. van Kempen, diff --git a/src/include/86box/fdd_common.h b/src/include/86box/fdd_common.h index 7673d9684..9fa870f87 100644 --- a/src/include/86box/fdd_common.h +++ b/src/include/86box/fdd_common.h @@ -8,8 +8,6 @@ * * Shared code for all the floppy modules. * - * - * * Authors: Fred N. van Kempen, * * Copyright 2017-2018 Fred N. van Kempen. diff --git a/src/include/86box/fdd_fdi.h b/src/include/86box/fdd_fdi.h index 6b9461bad..5e24f17a2 100644 --- a/src/include/86box/fdd_fdi.h +++ b/src/include/86box/fdd_fdi.h @@ -9,8 +9,6 @@ * Implementation of the FDI floppy stream image format * interface to the FDI2RAW module. * - * - * * Authors: Sarah Walker, * Miran Grca, * Fred N. van Kempen, diff --git a/src/include/86box/fdd_imd.h b/src/include/86box/fdd_imd.h index f50ad865e..d129ac642 100644 --- a/src/include/86box/fdd_imd.h +++ b/src/include/86box/fdd_imd.h @@ -8,8 +8,6 @@ * * Definitions for the IMD floppy image format. * - * - * * Authors: Miran Grca, * Fred N. van Kempen, * diff --git a/src/include/86box/fdd_img.h b/src/include/86box/fdd_img.h index f0a639d88..83084c079 100644 --- a/src/include/86box/fdd_img.h +++ b/src/include/86box/fdd_img.h @@ -9,8 +9,6 @@ * Implementation of the raw sector-based floppy image format, * as well as the Japanese FDI, CopyQM, and FDF formats. * - * - * * Authors: Sarah Walker, * Miran Grca, * Fred N. van Kempen, diff --git a/src/include/86box/fdd_mfm.h b/src/include/86box/fdd_mfm.h index 3a8494a26..455a1e3d4 100644 --- a/src/include/86box/fdd_mfm.h +++ b/src/include/86box/fdd_mfm.h @@ -8,8 +8,6 @@ * * Implementation of the HxC MFM image format. * - * - * * Authors: Miran Grca, * * Copyright 2018 Miran Grca. diff --git a/src/include/86box/fdd_pcjs.h b/src/include/86box/fdd_pcjs.h index 30e8d28a3..4bfe4aca9 100644 --- a/src/include/86box/fdd_pcjs.h +++ b/src/include/86box/fdd_pcjs.h @@ -15,7 +15,6 @@ * More info: https://www.pcjs.org/tools/diskimage/ * pcjs disk module v2: https://github.com/jeffpar/pcjs/blob/master/machines/pcx86/modules/v2/disk.js */ - #ifndef EMU_FLOPPY_PCJS_H #define EMU_FLOPPY_PCJS_H diff --git a/src/include/86box/fdd_td0.h b/src/include/86box/fdd_td0.h index add6a07dd..cebc86c21 100644 --- a/src/include/86box/fdd_td0.h +++ b/src/include/86box/fdd_td0.h @@ -8,8 +8,6 @@ * * Definitions for the Teledisk floppy image format. * - * - * * Authors: Miran Grca, * Fred N. van Kempen, * diff --git a/src/include/86box/flash.h b/src/include/86box/flash.h index bd9b7e505..606831a45 100644 --- a/src/include/86box/flash.h +++ b/src/include/86box/flash.h @@ -8,15 +8,12 @@ * * Handling of the emulated flash devices. * - * - * * Authors: Miran Grca, * Jasmine Iwanek, * * Copyright 2020 Miran Grca. * Copyright 2022-2023 Jasmine Iwanek. */ - #ifndef EMU_FLASH_H #define EMU_FLASH_H diff --git a/src/include/86box/gdbstub.h b/src/include/86box/gdbstub.h index c58a58bf5..695eb90f0 100644 --- a/src/include/86box/gdbstub.h +++ b/src/include/86box/gdbstub.h @@ -8,8 +8,6 @@ * * Definitions for the GDB stub server. * - * - * * Authors: RichardG, * * Copyright 2022 RichardG. diff --git a/src/include/86box/hdc.h b/src/include/86box/hdc.h index 91a4c68cd..70d71958b 100644 --- a/src/include/86box/hdc.h +++ b/src/include/86box/hdc.h @@ -8,8 +8,6 @@ * * Definitions for the common disk controller handler. * - * - * * Authors: Miran Grca, * Fred N. van Kempen, * diff --git a/src/include/86box/hdc_ide.h b/src/include/86box/hdc_ide.h index 3fd589f9c..99d97efd9 100644 --- a/src/include/86box/hdc_ide.h +++ b/src/include/86box/hdc_ide.h @@ -9,8 +9,6 @@ * Implementation of the IDE emulation for hard disks and ATAPI * CD-ROM devices. * - * - * * Authors: Sarah Walker, * Miran Grca, * Copyright 2008-2019 Sarah Walker. diff --git a/src/include/86box/hdc_ide_sff8038i.h b/src/include/86box/hdc_ide_sff8038i.h index 901cdb325..2cf4e1f9d 100644 --- a/src/include/86box/hdc_ide_sff8038i.h +++ b/src/include/86box/hdc_ide_sff8038i.h @@ -8,20 +8,16 @@ * * Emulation of the SFF-8038i IDE Bus Master. * - * - * * Authors: Sarah Walker, * Miran Grca, * * Copyright 2008-2020 Sarah Walker. * Copyright 2016-2020 Miran Grca. */ - #ifndef EMU_HDC_IDE_SFF8038I_H #define EMU_HDC_IDE_SFF8038I_H -enum -{ +enum { IRQ_MODE_LEGACY = 0, IRQ_MODE_PCI_IRQ_PIN, IRQ_MODE_PCI_IRQ_LINE, @@ -33,8 +29,7 @@ enum IRQ_MODE_SIS_551X }; -typedef struct sff8038i_t -{ +typedef struct sff8038i_t { uint8_t command; uint8_t status; uint8_t ptr0; diff --git a/src/include/86box/hdd.h b/src/include/86box/hdd.h index 597059e4f..1457efcae 100644 --- a/src/include/86box/hdd.h +++ b/src/include/86box/hdd.h @@ -8,8 +8,6 @@ * * Definitions for the hard disk image handler. * - * - * * Authors: Miran Grca, * Fred N. van Kempen, * diff --git a/src/include/86box/hwm.h b/src/include/86box/hwm.h index 4ad5e6917..8dee89d74 100644 --- a/src/include/86box/hwm.h +++ b/src/include/86box/hwm.h @@ -8,8 +8,6 @@ * * Definitions for hardware monitoring chips. * - * - * * Authors: RichardG, * * Copyright 2020 RichardG. diff --git a/src/include/86box/i2c.h b/src/include/86box/i2c.h index 20e2f8b30..215e3bf52 100644 --- a/src/include/86box/i2c.h +++ b/src/include/86box/i2c.h @@ -8,8 +8,6 @@ * * Definitions for the I2C handler. * - * - * * Authors: RichardG, * * Copyright 2020 RichardG. diff --git a/src/include/86box/ibm_5161.h b/src/include/86box/ibm_5161.h index e189826a8..581f05e8b 100644 --- a/src/include/86box/ibm_5161.h +++ b/src/include/86box/ibm_5161.h @@ -8,13 +8,10 @@ * * Emulation of the IBM Expansion Unit (5161). * - * - * * Authors: Miran Grca, * * Copyright 2016-2018 Miran Grca. */ - #ifndef EMU_IBM_5161_H #define EMU_IBM_5161_H diff --git a/src/include/86box/ini.h b/src/include/86box/ini.h index c73faaa61..8b1549e6f 100644 --- a/src/include/86box/ini.h +++ b/src/include/86box/ini.h @@ -8,8 +8,6 @@ * * Configuration file handler header. * - * - * * Authors: Sarah Walker, * Miran Grca, * Fred N. van Kempen, diff --git a/src/include/86box/io.h b/src/include/86box/io.h index b80b37a39..9b46e4db4 100644 --- a/src/include/86box/io.h +++ b/src/include/86box/io.h @@ -8,8 +8,6 @@ * * Definitions for the I/O handler. * - * - * * Authors: Sarah Walker, * Miran Grca, * Fred N. van Kempen, diff --git a/src/include/86box/isamem.h b/src/include/86box/isamem.h index 93f417e3e..bc3507d89 100644 --- a/src/include/86box/isamem.h +++ b/src/include/86box/isamem.h @@ -6,8 +6,6 @@ * * Definitions for the ISAMEM cards. * - * - * * Authors: Fred N. van Kempen, * * Copyright 2018 Fred N. van Kempen. diff --git a/src/include/86box/isapnp.h b/src/include/86box/isapnp.h index 9fedd656c..ce8d4864b 100644 --- a/src/include/86box/isapnp.h +++ b/src/include/86box/isapnp.h @@ -8,13 +8,10 @@ * * Definitions for ISA Plug and Play. * - * - * * Authors: RichardG, * * Copyright 2021 RichardG. */ - #ifndef EMU_ISAPNP_H #define EMU_ISAPNP_H #include diff --git a/src/include/86box/isartc.h b/src/include/86box/isartc.h index 815daa5d6..ef2d7a921 100644 --- a/src/include/86box/isartc.h +++ b/src/include/86box/isartc.h @@ -6,8 +6,6 @@ * * Definitions for the ISARTC cards. * - * - * * Authors: Fred N. van Kempen, * * Copyright 2018 Fred N. van Kempen. diff --git a/src/include/86box/keyboard.h b/src/include/86box/keyboard.h index 231da4dd5..78714986c 100644 --- a/src/include/86box/keyboard.h +++ b/src/include/86box/keyboard.h @@ -8,8 +8,6 @@ * * Definitions for the keyboard interface. * - * - * * Authors: Sarah Walker, * Miran Grca, * Fred N. van Kempen, @@ -18,7 +16,6 @@ * Copyright 2016-2025 Miran Grca. * Copyright 2017-2019 Fred N. van Kempen. */ - #ifndef EMU_KEYBOARD_H #define EMU_KEYBOARD_H diff --git a/src/include/86box/log.h b/src/include/86box/log.h index e9fb70dc1..1dcc57b34 100644 --- a/src/include/86box/log.h +++ b/src/include/86box/log.h @@ -16,7 +16,6 @@ * Copyright 2021-25 Fred N. van Kempen. * Copyright 2025 Connor Hyde. */ - #ifndef EMU_LOG_H #define EMU_LOG_H diff --git a/src/include/86box/m_amstrad.h b/src/include/86box/m_amstrad.h index ef4e8b9ea..f8567fa4a 100644 --- a/src/include/86box/m_amstrad.h +++ b/src/include/86box/m_amstrad.h @@ -10,13 +10,10 @@ * PC1512, PC1640 and PC200, including their keyboard, mouse and * video devices, as well as the PC2086 and PC3086 systems. * - * - * * Authors: Sarah Walker, * * Copyright 2008-2019 Sarah Walker. */ - #ifndef MACHINE_AMSTRAD_H #define MACHINE_AMSTRAD_H diff --git a/src/include/86box/m_at_t3100e.h b/src/include/86box/m_at_t3100e.h index b9c2e24df..a2fc42761 100644 --- a/src/include/86box/m_at_t3100e.h +++ b/src/include/86box/m_at_t3100e.h @@ -8,8 +8,6 @@ * * Definitions for the Toshiba T3100e system. * - * - * * Authors: Fred N. van Kempen, * Miran Grca, * John Elliott, @@ -36,7 +34,6 @@ * Boston, MA 02111-1307 * USA. */ - #ifndef MACHINE_T3100E_H #define MACHINE_T3100E_H diff --git a/src/include/86box/m_pcjr.h b/src/include/86box/m_pcjr.h index 7bbcde3ed..6fb0ee2ed 100644 --- a/src/include/86box/m_pcjr.h +++ b/src/include/86box/m_pcjr.h @@ -8,13 +8,10 @@ * * Header files for the PCjr keyboard and video subsystems. * - * - * * Authors: Connor Hyde, * * Copyright 2025 starfrost */ - #pragma once #define PCJR_RGB 0 @@ -27,8 +24,7 @@ #define DOUBLE_INTERPOLATE_SRGB 2 #define DOUBLE_INTERPOLATE_LINEAR 3 -typedef struct pcjr_s -{ +typedef struct pcjr_s { /* Video Controller stuff. */ mem_mapping_t mapping; uint8_t crtc[32]; @@ -46,7 +42,7 @@ typedef struct pcjr_s int scanline; int vc; int dispon; - int cursorvisible; // Is the cursor visible on the current scanline? + int cursorvisible; // Is the cursor visible on the current scanline? int cursoron; int blink; int vsynctime; @@ -63,7 +59,7 @@ typedef struct pcjr_s int apply_hd; int double_type; - /* Keyboard Controller stuff. */ + /* Keyboard Controller stuff. */ int latched; int data; int serial_data[44]; @@ -77,4 +73,4 @@ typedef struct pcjr_s void pcjr_recalc_timings(pcjr_t *pcjr); // Note: This is a temporary solution until the pcjr video is made its own gfx card -void pcjr_vid_init(pcjr_t *pcjr); \ No newline at end of file +void pcjr_vid_init(pcjr_t *pcjr); diff --git a/src/include/86box/m_tandy.h b/src/include/86box/m_tandy.h index 5ef509830..15fab6cc0 100644 --- a/src/include/86box/m_tandy.h +++ b/src/include/86box/m_tandy.h @@ -8,13 +8,10 @@ * * Header files for the Tandy keyboard and video subsystems. * - * - * * Authors: Connor Hyde, * * Copyright 2025 starfrost */ - typedef struct t1kvid_t { mem_mapping_t mapping; mem_mapping_t vram_mapping; diff --git a/src/include/86box/m_xt_t1000.h b/src/include/86box/m_xt_t1000.h index 90916444c..725f8e8b1 100644 --- a/src/include/86box/m_xt_t1000.h +++ b/src/include/86box/m_xt_t1000.h @@ -8,8 +8,6 @@ * * Definitions for the Toshiba T1000/T1200 machines. * - * - * * Authors: Fred N. van Kempen, * Miran Grca, * John Elliott, @@ -36,7 +34,6 @@ * Boston, MA 02111-1307 * USA. */ - #ifndef MACHINE_T1000_H #define MACHINE_T1000_H diff --git a/src/include/86box/machine.h b/src/include/86box/machine.h index 3daba325f..7c4f9f653 100644 --- a/src/include/86box/machine.h +++ b/src/include/86box/machine.h @@ -18,7 +18,6 @@ * Copyright 2017-2020 Fred N. van Kempen. * Copyright 2025 Jasmine Iwanek. */ - #ifndef EMU_MACHINE_H #define EMU_MACHINE_H diff --git a/src/include/86box/machine_status.h b/src/include/86box/machine_status.h index c5640ac08..a3d3bdcd7 100644 --- a/src/include/86box/machine_status.h +++ b/src/include/86box/machine_status.h @@ -32,4 +32,4 @@ extern machine_status_t machine_status; extern void machine_status_init(void); -#endif /*EMU_MACHINE_STATUS_H*/ \ No newline at end of file +#endif /*EMU_MACHINE_STATUS_H*/ diff --git a/src/include/86box/mem.h b/src/include/86box/mem.h index f75f1175e..9051189a6 100644 --- a/src/include/86box/mem.h +++ b/src/include/86box/mem.h @@ -8,8 +8,6 @@ * * Definitions for the memory interface. * - * - * * Authors: Sarah Walker, * Fred N. van Kempen, * Miran Grca, @@ -18,7 +16,6 @@ * Copyright 2017-2020 Fred N. van Kempen. * Copyright 2016-2020 Miran Grca. */ - #ifndef EMU_MEM_H #define EMU_MEM_H diff --git a/src/include/86box/mo.h b/src/include/86box/mo.h index 76e7cbdbe..5d48579eb 100644 --- a/src/include/86box/mo.h +++ b/src/include/86box/mo.h @@ -17,7 +17,6 @@ * Copyright 2020-2025 Miran Grca. * Copyright 2020-2025 Fred N. van Kempen */ - #ifndef EMU_MO_H #define EMU_MO_H diff --git a/src/include/86box/mouse.h b/src/include/86box/mouse.h index 9745de444..86d2d259c 100644 --- a/src/include/86box/mouse.h +++ b/src/include/86box/mouse.h @@ -8,15 +8,12 @@ * * Definitions for the mouse driver. * - * - * * Authors: Miran Grca, * Fred N. van Kempen, * * Copyright 2016-2019 Miran Grca. * Copyright 2017-2019 Fred N. van Kempen. */ - #ifndef EMU_MOUSE_H #define EMU_MOUSE_H diff --git a/src/include/86box/net_dp8390.h b/src/include/86box/net_dp8390.h index 0b1cc45f5..352302f37 100644 --- a/src/include/86box/net_dp8390.h +++ b/src/include/86box/net_dp8390.h @@ -8,15 +8,12 @@ * Controller used by the WD family, NE1000/NE2000 family, and * 3Com 3C503 NIC's. * - * - * * Authors: Miran Grca, * Bochs project, * * Copyright 2016-2018 Miran Grca. * Copyright 2008-2018 Bochs project. */ - #ifndef NET_DP8390_H #define NET_DP8390_H diff --git a/src/include/86box/net_event.h b/src/include/86box/net_event.h index 48580a359..eb787fe56 100644 --- a/src/include/86box/net_event.h +++ b/src/include/86box/net_event.h @@ -6,7 +6,7 @@ typedef struct net_evt_t { HANDLE handle; #else int fds[2]; -#endif +#endif /* _WIN32 */ } net_evt_t; extern void net_event_init(net_evt_t *event); @@ -17,6 +17,6 @@ extern void net_event_close(net_evt_t *event); extern HANDLE net_event_get_handle(net_evt_t *event); #else extern int net_event_get_fd(net_evt_t *event); -#endif +#endif /* _WIN32 */ -#endif \ No newline at end of file +#endif /* EMU_NET_EVENT_H */ diff --git a/src/include/86box/net_ne2000.h b/src/include/86box/net_ne2000.h index ecf2612b5..bb33223ad 100644 --- a/src/include/86box/net_ne2000.h +++ b/src/include/86box/net_ne2000.h @@ -8,8 +8,6 @@ * * Definitions for the NE2000 ethernet controller. * - * - * * Authors: Fred N. van Kempen, * * Copyright 2017-2018 Fred N. van Kempen. diff --git a/src/include/86box/net_pcnet.h b/src/include/86box/net_pcnet.h index 994d88c75..a616c5827 100644 --- a/src/include/86box/net_pcnet.h +++ b/src/include/86box/net_pcnet.h @@ -7,8 +7,6 @@ * Emulation of the AMD PCnet LANCE NIC controller for both the ISA * and PCI buses. * - * - * * Authors: Miran Grca, * TheCollector1995, * Antony T Curtis @@ -16,7 +14,6 @@ * Copyright 2004-2019 Antony T Curtis * Copyright 2016-2019 Miran Grca. */ - #ifndef NET_PCNET_H #define NET_PCNET_H diff --git a/src/include/86box/net_wd8003.h b/src/include/86box/net_wd8003.h index 6797c7d88..21bff90ea 100644 --- a/src/include/86box/net_wd8003.h +++ b/src/include/86box/net_wd8003.h @@ -11,8 +11,6 @@ * - SMC/WD 8013EBT (ISA 16-bit); * - SMC/WD 8013EP/A (MCA). * - * - * * Authors: Fred N. van Kempen, * TheCollector1995, * Miran Grca, @@ -40,7 +38,6 @@ * Boston, MA 02111-1307 * USA. */ - #ifndef NET_WD8003_H #define NET_WD8003_H diff --git a/src/include/86box/network.h b/src/include/86box/network.h index 5a6651b5b..9c906ef1a 100644 --- a/src/include/86box/network.h +++ b/src/include/86box/network.h @@ -6,8 +6,6 @@ * * Definitions for the network module. * - * - * * Authors: Fred N. van Kempen, * * Copyright 2017-2019 Fred N. van Kempen. @@ -42,7 +40,6 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - #ifndef EMU_NETWORK_H #define EMU_NETWORK_H #include diff --git a/src/include/86box/nmc93cxx.h b/src/include/86box/nmc93cxx.h index 7573a6116..dd02b2d06 100644 --- a/src/include/86box/nmc93cxx.h +++ b/src/include/86box/nmc93cxx.h @@ -2,9 +2,9 @@ typedef struct nmc93cxx_eeprom_t { ati_eeprom_t dev; - uint8_t addrbits; - uint16_t size; - char filename[1024]; + uint8_t addrbits; + uint16_t size; + char filename[1024]; } nmc93cxx_eeprom_t; typedef struct nmc93cxx_eeprom_params_t { diff --git a/src/include/86box/nmi.h b/src/include/86box/nmi.h index 79aa68346..a2ca14083 100644 --- a/src/include/86box/nmi.h +++ b/src/include/86box/nmi.h @@ -1,7 +1,6 @@ /* Copyright holders: Sarah Walker see COPYING for more details */ - #ifndef EMU_NMI_H #define EMU_NMI_H diff --git a/src/include/86box/novell_cardkey.h b/src/include/86box/novell_cardkey.h index 8ad3eabab..7c7daa891 100644 --- a/src/include/86box/novell_cardkey.h +++ b/src/include/86box/novell_cardkey.h @@ -9,7 +9,6 @@ * Implementation of the Novell NetWare 2.x Key Card, which * was used for anti-piracy protection. * - * * Authors: Cacodemon345 * * Copyright 2024 Cacodemon345. @@ -34,4 +33,4 @@ extern const device_t novell_keycard_device; } #endif -#endif /*BUGGER_H*/ \ No newline at end of file +#endif /* NOVELL_KEYCARD_H */ diff --git a/src/include/86box/nvr.h b/src/include/86box/nvr.h index 273fc0a37..9485c7dcb 100644 --- a/src/include/86box/nvr.h +++ b/src/include/86box/nvr.h @@ -6,8 +6,6 @@ * * Definitions for the generic NVRAM/CMOS driver. * - * - * * Authors: Fred N. van Kempen, , * David Hrdlička, * @@ -44,7 +42,6 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - #ifndef EMU_NVR_H #define EMU_NVR_H diff --git a/src/include/86box/nvr_ps2.h b/src/include/86box/nvr_ps2.h index 478d1be44..2b892a4f4 100644 --- a/src/include/86box/nvr_ps2.h +++ b/src/include/86box/nvr_ps2.h @@ -8,8 +8,6 @@ * * Definitions for the PS/2 cmos/nvr device. * - * - * * Authors: Fred N. van Kempen, * Sarah Walker, * @@ -34,7 +32,6 @@ * Boston, MA 02111-1307 * USA. */ - #ifndef EMU_NVRPS2_H #define EMU_NVRPS2_H diff --git a/src/include/86box/opl4_defines.h b/src/include/86box/opl4_defines.h index 248b1f729..5280abaad 100644 --- a/src/include/86box/opl4_defines.h +++ b/src/include/86box/opl4_defines.h @@ -5,7 +5,6 @@ * opl4_defines.h * */ - #ifndef __OPL4_DEFINES_H #define __OPL4_DEFINES_H diff --git a/src/include/86box/pci.h b/src/include/86box/pci.h index 8887f89f4..a721db005 100644 --- a/src/include/86box/pci.h +++ b/src/include/86box/pci.h @@ -8,8 +8,6 @@ * * Definitions for the PCI handler module. * - * - * * Authors: Miran Grca, * * Copyright 2023 Miran Grca. diff --git a/src/include/86box/pic.h b/src/include/86box/pic.h index f6dc9af64..e485fd424 100644 --- a/src/include/86box/pic.h +++ b/src/include/86box/pic.h @@ -15,15 +15,14 @@ * Copyright 2015-2020 Andrew Jenner. * Copyright 2016-2020 Miran Grca. */ - #ifndef EMU_PIC_H #define EMU_PIC_H typedef struct pic_latch { - uint8_t d; - uint8_t e; - uint8_t q; - uint8_t nq; + uint8_t d; + uint8_t e; + uint8_t q; + uint8_t nq; } pic_latch_t; typedef struct pic { diff --git a/src/include/86box/pit.h b/src/include/86box/pit.h index 3c5a9cb52..991be4424 100644 --- a/src/include/86box/pit.h +++ b/src/include/86box/pit.h @@ -9,13 +9,10 @@ * Header of the implementation of the Intel 8253/8254 * Programmable Interval Timer. * - * - * * Authors: Miran Grca, * * Copyright 2019-2020 Miran Grca. */ - #ifndef EMU_PIT_H #define EMU_PIT_H diff --git a/src/include/86box/pit_fast.h b/src/include/86box/pit_fast.h index f824bad68..3e192315e 100644 --- a/src/include/86box/pit_fast.h +++ b/src/include/86box/pit_fast.h @@ -9,13 +9,10 @@ * Header of the implementation of the Intel 8253/8254 * Programmable Interval Timer. * - * - * * Authors: Miran Grca, * * Copyright 2019-2020 Miran Grca. */ - #ifndef EMU_PIT_FAST_H #define EMU_PIT_FAST_H @@ -55,9 +52,9 @@ typedef struct ctrf_t { }; }; - uint32_t l; + uint32_t l; - uint64_t pit_const; + uint64_t pit_const; pc_timer_t timer; diff --git a/src/include/86box/plat.h b/src/include/86box/plat.h index b76728047..e18aa707b 100644 --- a/src/include/86box/plat.h +++ b/src/include/86box/plat.h @@ -8,8 +8,6 @@ * * Define the various platform support functions. * - * - * * Authors: Miran Grca, * Fred N. van Kempen, * @@ -17,7 +15,6 @@ * Copyright 2017-2019 Fred N. van Kempen. * Copyright 2021 Laci bá' */ - #ifndef EMU_PLAT_H #define EMU_PLAT_H diff --git a/src/include/86box/plat_cdrom_ioctl.h b/src/include/86box/plat_cdrom_ioctl.h index 471222134..a4b481b02 100644 --- a/src/include/86box/plat_cdrom_ioctl.h +++ b/src/include/86box/plat_cdrom_ioctl.h @@ -8,14 +8,12 @@ * * Definitions for platform specific serial to host passthrough. * - * * Authors: Andreas J. Reichel , * Jasmine Iwanek * * Copyright 2021 Andreas J. Reichel. * Copyright 2021-2022 Jasmine Iwanek. */ - #ifndef PLAT_CDROM_IOCTL_H #define PLAT_CDROM_IOCTL_H @@ -31,4 +29,4 @@ extern void * ioctl_open(cdrom_t *dev, const char *drv); } #endif -#endif +#endif /* PLAT_CDROM_IOCTL_H */ diff --git a/src/include/86box/plat_dir.h b/src/include/86box/plat_dir.h index 965483d26..605cf25cd 100644 --- a/src/include/86box/plat_dir.h +++ b/src/include/86box/plat_dir.h @@ -8,13 +8,10 @@ * * Definitions for the platform OpenDir module. * - * - * * Authors: Fred N. van Kempen, * * Copyright 2017 Fred N. van Kempen. */ - #ifndef PLAT_DIR_H #define PLAT_DIR_H diff --git a/src/include/86box/plat_dynld.h b/src/include/86box/plat_dynld.h index 44891d4ac..a6469da9b 100644 --- a/src/include/86box/plat_dynld.h +++ b/src/include/86box/plat_dynld.h @@ -8,13 +8,10 @@ * * Define the Dynamic Module Loader interface. * - * - * * Authors: Fred N. van Kempen, * * Copyright 2017 Fred N. van Kempen */ - #ifndef PLAT_DYNLD_H #define PLAT_DYNLD_H diff --git a/src/include/86box/plat_fallthrough.h b/src/include/86box/plat_fallthrough.h index 6165b266c..2ba000848 100644 --- a/src/include/86box/plat_fallthrough.h +++ b/src/include/86box/plat_fallthrough.h @@ -8,13 +8,10 @@ * * Define the various platform support functions. * - * - * * Authors: Jasmine Iwanek, * * Copyright 2023 Jasmine Iwanek */ - #ifndef EMU_PLAT_FALLTHROUGH_H #define EMU_PLAT_FALLTHROUGH_H diff --git a/src/include/86box/plat_serial_passthrough.h b/src/include/86box/plat_serial_passthrough.h index ec9a96545..6cc7180b3 100644 --- a/src/include/86box/plat_serial_passthrough.h +++ b/src/include/86box/plat_serial_passthrough.h @@ -13,9 +13,8 @@ * Jasmine Iwanek * * Copyright 2021 Andreas J. Reichel. - * Copyright 2021-2022 Jasmine Iwanek. + * Copyright 2021-2025 Jasmine Iwanek. */ - #ifndef PLAT_SERIAL_PASSTHROUGH_H #define PLAT_SERIAL_PASSTHROUGH_H @@ -36,4 +35,4 @@ extern void plat_serpt_set_line_state(void *priv); } #endif -#endif +#endif /* PLAT_SERIAL_PASSTHROUGH_H */ diff --git a/src/include/86box/plat_unused.h b/src/include/86box/plat_unused.h index 226cf677d..4688a615b 100644 --- a/src/include/86box/plat_unused.h +++ b/src/include/86box/plat_unused.h @@ -8,8 +8,6 @@ * * Define the various platform support functions. * - * - * * Authors: Miran Grca, * Fred N. van Kempen, * @@ -17,7 +15,6 @@ * Copyright 2017-2019 Fred N. van Kempen. * Copyright 2021 Laci bá' */ - #ifndef EMU_PLAT_UNUSED_H #define EMU_PLAT_UNUSED_H diff --git a/src/include/86box/png_struct.h b/src/include/86box/png_struct.h index cbbcc5be8..46a0b2313 100644 --- a/src/include/86box/png_struct.h +++ b/src/include/86box/png_struct.h @@ -6,8 +6,6 @@ * * Definitions for the centralized PNG image handler. * - * - * * Authors: Fred N. van Kempen, * * Copyright 2018 Fred N. van Kempen. @@ -42,7 +40,6 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - #ifndef EMU_PNG_STRUCT_H #define EMU_PNG_STRUCT_H diff --git a/src/include/86box/port_6x.h b/src/include/86box/port_6x.h index e0c4b0508..a3ac6ac5c 100644 --- a/src/include/86box/port_6x.h +++ b/src/include/86box/port_6x.h @@ -9,13 +9,10 @@ * Header for the implementation of Port 6x used by various * machines. * - * - * * Authors: Miran Grca, * * Copyright 2021 Miran Grca. */ - #ifndef EMU_PORT_6X_H #define EMU_PORT_6X_H diff --git a/src/include/86box/port_92.h b/src/include/86box/port_92.h index 838b7ca28..3d05a5bf4 100644 --- a/src/include/86box/port_92.h +++ b/src/include/86box/port_92.h @@ -9,13 +9,10 @@ * Header for the implementation of Port 92 used by PS/2 * machines and 386+ clones. * - * - * * Authors: Miran Grca, * * Copyright 2019 Miran Grca. */ - #ifndef EMU_PORT_92_H #define EMU_PORT_92_H diff --git a/src/include/86box/postcard.h b/src/include/86box/postcard.h index 5ceb64ae3..7c8f26dfd 100644 --- a/src/include/86box/postcard.h +++ b/src/include/86box/postcard.h @@ -8,13 +8,10 @@ * * Implementation of a port 80h POST diagnostic card. * - * - * * Authors: RichardG, * * Copyright 2020 RichardG. */ - #ifndef POSTCARD_H #define POSTCARD_H diff --git a/src/include/86box/printer.h b/src/include/86box/printer.h index b576fbf27..52212374e 100644 --- a/src/include/86box/printer.h +++ b/src/include/86box/printer.h @@ -6,8 +6,6 @@ * * Definitions for the printers module. * - * - * * Authors: Fred N. van Kempen, * * Copyright 2018 Fred N. van Kempen. @@ -42,7 +40,6 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - #ifndef PRINTER_H #define PRINTER_H diff --git a/src/include/86box/random.h b/src/include/86box/random.h index 021969a54..8b2399c77 100644 --- a/src/include/86box/random.h +++ b/src/include/86box/random.h @@ -9,13 +9,10 @@ * A better random number generation, used for floppy weak bits * and network MAC address generation. * - * - * * Authors: Miran Grca, * * Copyright 2016-2017 Miran Grca. */ - #ifndef EMU_RANDOM_H #define EMU_RANDOM_H diff --git a/src/include/86box/rdisk.h b/src/include/86box/rdisk.h index c226a2c9d..6f0255847 100644 --- a/src/include/86box/rdisk.h +++ b/src/include/86box/rdisk.h @@ -9,13 +9,10 @@ * Implementation of the Iomega ZIP drive with SCSI(-like) * commands, for both ATAPI and SCSI usage. * - * - * * Authors: Miran Grca, * * Copyright 2018-2025 Miran Grca. */ - #ifndef EMU_RDISK_H #define EMU_RDISK_H diff --git a/src/include/86box/rom.h b/src/include/86box/rom.h index 807649956..6865277c6 100644 --- a/src/include/86box/rom.h +++ b/src/include/86box/rom.h @@ -8,13 +8,10 @@ * * Definitions for the ROM image handler. * - * - * * Authors: Fred N. van Kempen, * * Copyright 2018-2019 Fred N. van Kempen. */ - #ifndef EMU_ROM_H #define EMU_ROM_H diff --git a/src/include/86box/row.h b/src/include/86box/row.h index a70c94274..baaa5833a 100644 --- a/src/include/86box/row.h +++ b/src/include/86box/row.h @@ -8,13 +8,10 @@ * * Definitions for the SMRAM interface. * - * - * * Authors: Miran Grca, * * Copyright 2016-2020 Miran Grca. */ - #ifndef EMU_ROW_H # define EMU_ROW_H diff --git a/src/include/86box/scsi.h b/src/include/86box/scsi.h index 84a4a608e..088248d71 100644 --- a/src/include/86box/scsi.h +++ b/src/include/86box/scsi.h @@ -8,8 +8,6 @@ * * SCSI controller handler header. * - * - * * Authors: TheCollector1995, * Miran Grca, * Fred N. van Kempen, diff --git a/src/include/86box/scsi_buslogic.h b/src/include/86box/scsi_buslogic.h index 6de69e700..559e42d91 100644 --- a/src/include/86box/scsi_buslogic.h +++ b/src/include/86box/scsi_buslogic.h @@ -7,8 +7,6 @@ * Emulation of BusLogic BT-542B ISA and BT-958D PCI SCSI * controllers. * - * - * * Authors: TheCollector1995, * Miran Grca, * Fred N. van Kempen, @@ -16,7 +14,6 @@ * Copyright 2016-2018 Miran Grca. * Copyright 2017-2018 Fred N. van Kempen. */ - #ifndef SCSI_BUSLOGIC_H #define SCSI_BUSLOGIC_H diff --git a/src/include/86box/scsi_cdrom.h b/src/include/86box/scsi_cdrom.h index 005223e27..b331ba62c 100644 --- a/src/include/86box/scsi_cdrom.h +++ b/src/include/86box/scsi_cdrom.h @@ -9,13 +9,10 @@ * Implementation of the CD-ROM drive with SCSI(-like) * commands, for both ATAPI and SCSI usage. * - * - * * Authors: Miran Grca, * * Copyright 2018-2019 Miran Grca. */ - #ifndef EMU_SCSI_CDROM_H #define EMU_SCSI_CDROM_H diff --git a/src/include/86box/scsi_device.h b/src/include/86box/scsi_device.h index d5d620670..f4c37e56c 100644 --- a/src/include/86box/scsi_device.h +++ b/src/include/86box/scsi_device.h @@ -8,15 +8,12 @@ * * Definitions for the generic SCSI device command handler. * - * - * * Authors: Miran Grca, * Fred N. van Kempen, * * Copyright 2016-2019 Miran Grca. * Copyright 2017-2019 Fred N. van Kempen. */ - #ifndef SCSI_DEVICE_H #define SCSI_DEVICE_H diff --git a/src/include/86box/scsi_disk.h b/src/include/86box/scsi_disk.h index 2d2371172..66bf24a36 100644 --- a/src/include/86box/scsi_disk.h +++ b/src/include/86box/scsi_disk.h @@ -6,29 +6,26 @@ * * Emulation of SCSI fixed and removable disks. * - * - * * Authors: Miran Grca, * * Copyright 2017-2018 Miran Grca. */ - #ifndef SCSI_DISK_H #define SCSI_DISK_H typedef struct scsi_disk_t { mode_sense_pages_t ms_pages_saved; - hard_disk_t * drv; + hard_disk_t *drv; #ifdef EMU_IDE_H - ide_tf_t * tf; + ide_tf_t *tf; #else - void * tf; + void *tf; #endif - void * log; + void *log; - uint8_t * temp_buffer; + uint8_t *temp_buffer; size_t temp_buffer_sz; uint8_t atapi_cdb[16]; uint8_t current_cdb[16]; diff --git a/src/include/86box/scsi_ncr5380.h b/src/include/86box/scsi_ncr5380.h index 5a43ba76a..6453340ae 100644 --- a/src/include/86box/scsi_ncr5380.h +++ b/src/include/86box/scsi_ncr5380.h @@ -9,8 +9,6 @@ * Implementation of the NCR 5380 chip made by NCR * and used in various controllers. * - * - * * Authors: Sarah Walker, * TheCollector1995, * Fred N. van Kempen, @@ -19,7 +17,6 @@ * Copyright 2017-2018 Fred N. van Kempen. * Copyright 2017-2024 TheCollector1995. */ - #ifndef SCSI_NCR5380_H #define SCSI_NCR5380_H diff --git a/src/include/86box/scsi_ncr53c8xx.h b/src/include/86box/scsi_ncr53c8xx.h index 5149c2203..de2d8d2a1 100644 --- a/src/include/86box/scsi_ncr53c8xx.h +++ b/src/include/86box/scsi_ncr53c8xx.h @@ -10,8 +10,6 @@ * Adapters made by NCR and later Symbios and LSI. These * controllers were designed for the PCI bus. * - * - * * Authors: TheCollector1995, * Miran Grca, * Paul Brook (QEMU), @@ -21,7 +19,6 @@ * Copyright 2009-2018 Artyom Tarasenko. * Copyright 2017-2018 Miran Grca. */ - #ifndef SCSI_NCR53C8XX_H #define SCSI_NCR53C8XX_H diff --git a/src/include/86box/scsi_pcscsi.h b/src/include/86box/scsi_pcscsi.h index c4dbedeff..74a2cb937 100644 --- a/src/include/86box/scsi_pcscsi.h +++ b/src/include/86box/scsi_pcscsi.h @@ -9,9 +9,6 @@ * Implementation of the AMD PCscsi and Tekram DC-390 SCSI * controllers using the NCR 53c9x series of chips. * - * - * - * * Authors: Fabrice Bellard (QEMU) * Herve Poussineau (QEMU) * TheCollector1995, @@ -21,7 +18,6 @@ * Copyright 2012-2018 Herve Poussineau. * Copyright 2017-2018 Miran Grca. */ - #ifndef SCSI_PCSCSI_H #define SCSI_PCSCSI_H @@ -30,4 +26,4 @@ extern const device_t am53c974a_pci_device; extern const device_t dc390_pci_device; extern const device_t ncr53c90a_mca_device; -#endif /*SCSI_BUSLOGIC_H*/ +#endif /*SCSI_SCSI_PCSCSI_H*/ diff --git a/src/include/86box/scsi_spock.h b/src/include/86box/scsi_spock.h index 057271772..8777f5336 100644 --- a/src/include/86box/scsi_spock.h +++ b/src/include/86box/scsi_spock.h @@ -9,15 +9,12 @@ * Implementation of the IBM PS/2 SCSI controller with * cache for MCA only. * - * - * * Authors: Sarah Walker, * TheCollector1995, * * Copyright 2020 Sarah Walker. * Copyright 2020 TheCollector1995. */ - #ifndef SCSI_SPOCK_H #define SCSI_SPOCK_H diff --git a/src/include/86box/scsi_t128.h b/src/include/86box/scsi_t128.h index a3bc79335..0433703fb 100644 --- a/src/include/86box/scsi_t128.h +++ b/src/include/86box/scsi_t128.h @@ -17,29 +17,29 @@ * Copyright 2017-2018 Fred N. van Kempen. * Copyright 2017-2024 TheCollector1995. */ - #ifndef SCSI_T128_H #define SCSI_T128_H typedef struct t128_t { - ncr_t ncr; - rom_t bios_rom; + ncr_t ncr; + rom_t bios_rom; mem_mapping_t mapping; - uint8_t ctrl; - uint8_t status; - uint8_t buffer[512]; - uint8_t ext_ram[0x80]; + uint8_t ctrl; + uint8_t status; + uint8_t buffer[512]; + uint8_t ext_ram[0x80]; uint32_t block_count; int block_loaded; - int pos, host_pos; + int pos; + int host_pos; uint32_t rom_addr; - int bios_enabled; + int bios_enabled; uint8_t pos_regs[8]; - int type; + int type; pc_timer_t timer; } t128_t; diff --git a/src/include/86box/scsi_x54x.h b/src/include/86box/scsi_x54x.h index 8d5964de5..2c1561b18 100644 --- a/src/include/86box/scsi_x54x.h +++ b/src/include/86box/scsi_x54x.h @@ -11,8 +11,6 @@ * of SCSI Host Adapters made by Mylex. * These controllers were designed for various buses. * - * - * * Authors: TheCollector1995, * Miran Grca, * Fred N. van Kempen, @@ -20,7 +18,6 @@ * Copyright 2016-2018 Miran Grca. * Copyright 2017-2018 Fred N. van Kempen. */ - #ifndef SCSI_X54X_H #define SCSI_X54X_H @@ -536,4 +533,4 @@ extern void *x54x_init(const device_t *info); extern void x54x_close(void *priv); extern void x54x_device_reset(void *priv); -#endif +#endif /*SCSI_X54X_H*/ diff --git a/src/include/86box/serial.h b/src/include/86box/serial.h index c6389a262..5231c491a 100644 --- a/src/include/86box/serial.h +++ b/src/include/86box/serial.h @@ -9,8 +9,6 @@ * Definitions for the NS8250/16450/16550/16650/16750/16850/16950 * UART emulation. * - * - * * Authors: Sarah Walker, * Miran Grca, * Fred N. van Kempen, @@ -19,7 +17,6 @@ * Copyright 2016-2025 Miran Grca. * Copyright 2017-2020 Fred N. van Kempen. */ - #ifndef EMU_SERIAL_H #define EMU_SERIAL_H diff --git a/src/include/86box/serial_passthrough.h b/src/include/86box/serial_passthrough.h index a5fa0013a..3b0afad4b 100644 --- a/src/include/86box/serial_passthrough.h +++ b/src/include/86box/serial_passthrough.h @@ -8,14 +8,12 @@ * * Definition of Serial passthrough device. * - * * Authors: Andreas J. Reichel , * Jasmine Iwanek * * Copyright 2021 Andreas J. Reichel. * Copyright 2021-2025 Jasmine Iwanek. */ - #ifndef SERIAL_PASSTHROUGH_H #define SERIAL_PASSTHROUGH_H @@ -65,4 +63,4 @@ extern const device_t serial_passthrough_device; extern void serial_passthrough_init(void); -#endif +#endif /*SERIAL_PASSTHROUGH_H*/ diff --git a/src/include/86box/sio.h b/src/include/86box/sio.h index 2bae49ae1..9a6f3ac79 100644 --- a/src/include/86box/sio.h +++ b/src/include/86box/sio.h @@ -12,7 +12,6 @@ * * Copyright 2017-2020 Fred N. van Kempen. */ - #ifndef EMU_SIO_H #define EMU_SIO_H diff --git a/src/include/86box/smbus.h b/src/include/86box/smbus.h index 2c06c3d4e..58556b5e8 100644 --- a/src/include/86box/smbus.h +++ b/src/include/86box/smbus.h @@ -8,13 +8,10 @@ * * Definitions for the SMBus host controllers. * - * - * * Authors: RichardG, * * Copyright 2020 RichardG. */ - #ifndef EMU_SMBUS_H #define EMU_SMBUS_H diff --git a/src/include/86box/smram.h b/src/include/86box/smram.h index 707c967f5..3bcdf1ff0 100644 --- a/src/include/86box/smram.h +++ b/src/include/86box/smram.h @@ -8,13 +8,10 @@ * * Definitions for the SMRAM interface. * - * - * * Authors: Miran Grca, * * Copyright 2016-2020 Miran Grca. */ - #ifndef EMU_SMRAM_H #define EMU_SMRAM_H diff --git a/src/include/86box/snd_ac97.h b/src/include/86box/snd_ac97.h index a365f5afa..3af68d2c8 100644 --- a/src/include/86box/snd_ac97.h +++ b/src/include/86box/snd_ac97.h @@ -8,8 +8,6 @@ * * Definitions for AC'97 audio emulation. * - * - * * Authors: RichardG, * * Copyright 2021 RichardG. diff --git a/src/include/86box/snd_ad1848.h b/src/include/86box/snd_ad1848.h index 435b2aac4..99525807c 100644 --- a/src/include/86box/snd_ad1848.h +++ b/src/include/86box/snd_ad1848.h @@ -8,8 +8,6 @@ * * Definitions for AD1848 / CS4248 / CS4231 (Windows Sound System) codec emulation. * - * - * * Authors: Sarah Walker, * TheCollector1995, * RichardG, @@ -18,7 +16,6 @@ * Copyright 2018-2020 TheCollector1995. * Copyright 2021-2025 RichardG. */ - #ifndef SOUND_AD1848_H #define SOUND_AD1848_H diff --git a/src/include/86box/snd_akm4531.h b/src/include/86box/snd_akm4531.h index 96f87b396..a2b980b84 100644 --- a/src/include/86box/snd_akm4531.h +++ b/src/include/86box/snd_akm4531.h @@ -19,4 +19,4 @@ struct akm4531_t typedef struct akm4531_t akm4531_t; -double akm4531_apply_master_vol(unsigned short sample); \ No newline at end of file +double akm4531_apply_master_vol(unsigned short sample); diff --git a/src/include/86box/snd_mpu401.h b/src/include/86box/snd_mpu401.h index 6dd99379e..44fb6b479 100644 --- a/src/include/86box/snd_mpu401.h +++ b/src/include/86box/snd_mpu401.h @@ -8,8 +8,6 @@ * * Roland MPU-401 emulation. * - * - * * Authors: Sarah Walker, * DOSBox Team, * Miran Grca, @@ -20,7 +18,6 @@ * Copyright 2016-2020 Miran Grca. * Copyright 2016-2020 TheCollector1995. */ - #ifndef SOUND_MPU401_H #define SOUND_MPU401_H diff --git a/src/include/86box/snd_opl_nuked.h b/src/include/86box/snd_opl_nuked.h index 9fdbe16c4..48819e6f7 100644 --- a/src/include/86box/snd_opl_nuked.h +++ b/src/include/86box/snd_opl_nuked.h @@ -16,7 +16,6 @@ * Copyright 2017-2020 Fred N. van Kempen. * Copyright 2016-2019 Miran Grca. */ - #ifndef SOUND_OPL_NUKED_H #define SOUND_OPL_NUKED_H diff --git a/src/include/86box/snd_sb.h b/src/include/86box/snd_sb.h index 06fbbfa3b..51822f210 100644 --- a/src/include/86box/snd_sb.h +++ b/src/include/86box/snd_sb.h @@ -17,7 +17,6 @@ * Copyright 2016-2018 Miran Grca. * Copyright 2024-2025 Jasmine Iwanek. */ - #ifndef SOUND_SND_SB_H #define SOUND_SND_SB_H diff --git a/src/include/86box/snd_speaker.h b/src/include/86box/snd_speaker.h index fa1a6fe19..087faec32 100644 --- a/src/include/86box/snd_speaker.h +++ b/src/include/86box/snd_speaker.h @@ -8,15 +8,12 @@ * * Header of the emulation of the PC speaker. * - * - * * Authors: Sarah Walker, * Miran Grca, * * Copyright 2008-2019 Sarah Walker. * Copyright 2016-2019 Miran Grca. */ - #ifndef SOUND_SPEAKER_H #define SOUND_SPEAKER_H diff --git a/src/include/86box/sound.h b/src/include/86box/sound.h index 5815d3f66..2280824e4 100644 --- a/src/include/86box/sound.h +++ b/src/include/86box/sound.h @@ -8,8 +8,6 @@ * * Sound emulation core. * - * - * * Authors: Sarah Walker, * Miran Grca, * Jasmine Iwanek, @@ -18,7 +16,6 @@ * Copyright 2016-2025 Miran Grca. * Copyright 2024-2025 Jasmine Iwanek. */ - #ifndef EMU_SOUND_H #define EMU_SOUND_H diff --git a/src/include/86box/spd.h b/src/include/86box/spd.h index 98eb4e178..887e7f3c7 100644 --- a/src/include/86box/spd.h +++ b/src/include/86box/spd.h @@ -8,13 +8,10 @@ * * Emulation of SPD (Serial Presence Detect) devices. * - * - * * Authors: RichardG, * * Copyright 2020 RichardG. */ - #ifndef EMU_SPD_H #define EMU_SPD_H diff --git a/src/include/86box/thread.h b/src/include/86box/thread.h index a71d03913..874425f6b 100644 --- a/src/include/86box/thread.h +++ b/src/include/86box/thread.h @@ -8,8 +8,6 @@ * * Thread API header. * - * - * * Authors: Sarah Walker, * Miran Grca, * diff --git a/src/include/86box/ui.h b/src/include/86box/ui.h index 63243a666..9bfae4330 100644 --- a/src/include/86box/ui.h +++ b/src/include/86box/ui.h @@ -8,8 +8,6 @@ * * Define the various UI functions. * - * - * * Authors: Miran Grca, * Fred N. van Kempen, * diff --git a/src/include/86box/unittester.h b/src/include/86box/unittester.h index 00abed3ff..a68f9d7c9 100644 --- a/src/include/86box/unittester.h +++ b/src/include/86box/unittester.h @@ -11,13 +11,10 @@ * If modifying the protocol, you MUST modify the specification * and increment the version number. * - * - * * Authors: GreaseMonkey, * * Copyright 2024 GreaseMonkey. */ - #ifndef UNITTESTER_H #define UNITTESTER_H diff --git a/src/include/86box/usb.h b/src/include/86box/usb.h index 623746829..635b42c4e 100644 --- a/src/include/86box/usb.h +++ b/src/include/86box/usb.h @@ -1,18 +1,16 @@ /* - * 86Box A hypervisor and IBM PC system emulator that specializes in - * running old operating systems and software designed for IBM - * PC systems and compatibles from 1981 through fairly recent - * system designs based on the PCI bus. + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. * - * This file is part of the 86Box distribution. + * This file is part of the 86Box distribution. * - * Definitions for the Distributed DMA emulation. + * Definitions for the Distributed DMA emulation. * + * Authors: Miran Grca, * - * - * Authors: Miran Grca, - * - * Copyright 2020 Miran Grca. + * Copyright 2020 Miran Grca. */ #ifndef USB_H diff --git a/src/include/86box/version.h.in b/src/include/86box/version.h.in index 17c5b3068..096bb6516 100644 --- a/src/include/86box/version.h.in +++ b/src/include/86box/version.h.in @@ -8,8 +8,6 @@ * * Definitions for project version, branding, and external links. * - * - * * Authors: Miran Grca, * * Copyright 2020 Miran Grca. diff --git a/src/include/86box/vfio.h b/src/include/86box/vfio.h index 2166070a0..c01dc8ad4 100644 --- a/src/include/86box/vfio.h +++ b/src/include/86box/vfio.h @@ -17,4 +17,4 @@ extern void vfio_init(void); -#endif +#endif /*EMU_VFIO_H*/ diff --git a/src/include/86box/vid_8514a.h b/src/include/86box/vid_8514a.h index 6e8528325..dddb216f6 100644 --- a/src/include/86box/vid_8514a.h +++ b/src/include/86box/vid_8514a.h @@ -9,8 +9,6 @@ * Emulation of the 8514/A card from IBM for the MCA bus and * generic ISA bus clones without vendor extensions. * - * - * * Authors: TheCollector1995 * * Copyright 2022 TheCollector1995. diff --git a/src/include/86box/vid_8514a_device.h b/src/include/86box/vid_8514a_device.h index b4102b17a..cb2a3fd14 100644 --- a/src/include/86box/vid_8514a_device.h +++ b/src/include/86box/vid_8514a_device.h @@ -9,8 +9,6 @@ * Emulation of the 8514/A card from IBM for the MCA bus and * generic ISA bus clones without vendor extensions. * - * - * * Authors: TheCollector1995 * * Copyright 2024 TheCollector1995. diff --git a/src/include/86box/vid_ati_mach8.h b/src/include/86box/vid_ati_mach8.h index e6fd124de..a281dfafa 100644 --- a/src/include/86box/vid_ati_mach8.h +++ b/src/include/86box/vid_ati_mach8.h @@ -9,8 +9,6 @@ * Emulation of the 8514/A-compatible Mach8 and Mach32 graphics * chips from ATI for the ISA/VLB/MCA/PCI buses. * - * - * * Authors: TheCollector1995. * * Copyright 2022-2024 TheCollector1995. diff --git a/src/include/86box/vid_cga.h b/src/include/86box/vid_cga.h index 439ee36fc..8d20d2f22 100644 --- a/src/include/86box/vid_cga.h +++ b/src/include/86box/vid_cga.h @@ -16,7 +16,6 @@ * Copyright 2016-2018 Miran Grca. * Copyright 2025 starfrost (refactoring). */ - #ifndef VIDEO_CGA_H #define VIDEO_CGA_H diff --git a/src/include/86box/vid_cga_comp.h b/src/include/86box/vid_cga_comp.h index 94051b5e5..bd6e83ee2 100644 --- a/src/include/86box/vid_cga_comp.h +++ b/src/include/86box/vid_cga_comp.h @@ -9,8 +9,6 @@ * IBM CGA composite filter, borrowed from reenigne's DOSBox * patch and ported to C. * - * - * * Authors: reenigne, * Miran Grca, * @@ -25,9 +23,9 @@ #define Bitu unsigned int -void update_cga16_color(uint8_t cgamode); -void cga_comp_init(int revision); -void cga_comp_reload(int new_brightness, int new_saturation, int new_sharpness, int new_hue, int new_contrast); +void update_cga16_color(uint8_t cgamode); +void cga_comp_init(int revision); +void cga_comp_reload(int new_brightness, int new_saturation, int new_sharpness, int new_hue, int new_contrast); uint32_t *Composite_Process(uint8_t cgamode, uint8_t border, uint32_t blocks /*, bool doublewidth*/, uint32_t *TempLine); #endif /*VIDEO_CGA_COMP_H*/ diff --git a/src/include/86box/vid_clockgen_icd2061.h b/src/include/86box/vid_clockgen_icd2061.h index 78734a347..4f96e51dc 100644 --- a/src/include/86box/vid_clockgen_icd2061.h +++ b/src/include/86box/vid_clockgen_icd2061.h @@ -14,8 +14,6 @@ * Used by ET4000w32/p (Diamond Stealth 32) and the S3 * Vision964 family. * - * - * * Authors: Miran Grca, * * Copyright 2016-2018 Miran Grca. @@ -35,4 +33,4 @@ typedef struct icd2061_t { uint32_t ctrl; } icd2061_t; -#endif // VIDEO_CLOCKGEN_ICD2061_H +#endif /*VIDEO_CLOCKGEN_ICD2061_H*/ diff --git a/src/include/86box/vid_colorplus.h b/src/include/86box/vid_colorplus.h index 8716f72fb..7e9acf269 100644 --- a/src/include/86box/vid_colorplus.h +++ b/src/include/86box/vid_colorplus.h @@ -5,7 +5,7 @@ typedef struct colorplus_t { cga_t cga; uint8_t control; - lpt_t * lpt; + lpt_t *lpt; } colorplus_t; void colorplus_init(colorplus_t *colorplus); diff --git a/src/include/86box/vid_ddc.h b/src/include/86box/vid_ddc.h index 32c8e88c5..8c1eb8787 100644 --- a/src/include/86box/vid_ddc.h +++ b/src/include/86box/vid_ddc.h @@ -8,15 +8,12 @@ * * DDC monitor emulation definitions. * - * - * * Authors: Sarah Walker, * RichardG, * * Copyright 2008-2020 Sarah Walker. * Copyright 2020 RichardG. */ - #ifndef EMU_VID_DDC_H #define EMU_VID_DDC_H diff --git a/src/include/86box/vid_ega.h b/src/include/86box/vid_ega.h index beef6f98d..e6705400c 100644 --- a/src/include/86box/vid_ega.h +++ b/src/include/86box/vid_ega.h @@ -9,15 +9,12 @@ * Emulation of the EGA and Chips & Technologies SuperEGA * graphics cards. * - * - * * Authors: Sarah Walker, * Miran Grca, * * Copyright 2008-2020 Sarah Walker. * Copyright 2016-2020 Miran Grca. */ - #ifndef VIDEO_EGA_H #define VIDEO_EGA_H diff --git a/src/include/86box/vid_hercules.h b/src/include/86box/vid_hercules.h index 05f2673a5..7c406d64c 100644 --- a/src/include/86box/vid_hercules.h +++ b/src/include/86box/vid_hercules.h @@ -8,8 +8,6 @@ * * Emulation of the Hercules graphics cards. * - * - * * Authors: Sarah Walker, * Miran Grca, * Jasmine Iwanek, @@ -20,7 +18,6 @@ * Copyright 2021 Jasmine Iwanek. * Copyright 2025 starfrost */ - #ifndef VIDEO_HERCULES_H #define VIDEO_HERCULES_H diff --git a/src/include/86box/vid_mda.h b/src/include/86box/vid_mda.h index 2443e0ccc..17c028343 100644 --- a/src/include/86box/vid_mda.h +++ b/src/include/86box/vid_mda.h @@ -13,7 +13,6 @@ * Copyright 2007-2024 Sarah Walker * Copyright 2025 Connor Hyde / starfrost, */ - #ifndef VIDEO_MDA_H #define VIDEO_MDA_H @@ -22,8 +21,7 @@ // Enums & structures -typedef enum mda_registers_e -{ +typedef enum mda_registers_e { MDA_REGISTER_START = 0x3B0, MDA_REGISTER_CRTC_INDEX = 0x3B4, @@ -38,8 +36,7 @@ typedef enum mda_registers_e } mda_registers; // Motorola MC6845 CRTC registers (without light pen for some reason) -typedef enum mda_crtc_registers_e -{ +typedef enum mda_crtc_registers_e { MDA_CRTC_HTOTAL = 0x0, // Horizontal total (total number of characters incl. hsync) MDA_CRTC_HDISP = 0x1, // Horizontal display MDA_CRTC_HSYNC_POS = 0x2, // Horizontal position of horizontal ysnc @@ -58,16 +55,14 @@ typedef enum mda_crtc_registers_e MDA_CRTC_CURSOR_ADDR_LOW = 0xF, // Cursor address low 8 bits } mda_crtc_registers; -typedef enum mda_mode_flags_e -{ +typedef enum mda_mode_flags_e { MDA_MODE_HIGHRES = 1 << 0, // MUST be enabled for sane operation MDA_MODE_BW = 1 << 1, // UNUSED in most cases. Not present on Hercules MDA_MODE_VIDEO_ENABLE = 1 << 3, MDA_MODE_BLINK = 1 << 5, } mda_mode_flags; -typedef enum mda_colors_e -{ +typedef enum mda_colors_e { MDA_COLOR_BLACK = 0, MDA_COLOR_BLUE = 1, MDA_COLOR_GREEN = 2, diff --git a/src/include/86box/vid_nga.h b/src/include/86box/vid_nga.h index bbb5b3c95..bad34ed31 100644 --- a/src/include/86box/vid_nga.h +++ b/src/include/86box/vid_nga.h @@ -9,15 +9,12 @@ * Emulation of the Olivetti OGC 8-bit ISA (GO708) and * M21/M24/M28 16-bit bus (GO317/318/380/709) video cards. * - * - * * Authors: Miran Grca, * EngiNerd, * * Copyright 2016-2019 Miran Grca. * Copyright 2020 EngiNerd. */ - #ifndef VIDEO_NGA_H #define VIDEO_NGA_H diff --git a/src/include/86box/vid_ogc.h b/src/include/86box/vid_ogc.h index efafb180e..65d79c5a0 100644 --- a/src/include/86box/vid_ogc.h +++ b/src/include/86box/vid_ogc.h @@ -9,15 +9,12 @@ * Emulation of the Olivetti OGC 8-bit ISA (GO708) and * M21/M24/M28 16-bit bus (GO317/318/380/709) video cards. * - * - * * Authors: Miran Grca, * EngiNerd, * * Copyright 2016-2019 Miran Grca. * Copyright 2020 EngiNerd. */ - #ifndef VIDEO_OGC_H #define VIDEO_OGC_H diff --git a/src/include/86box/vid_pgc.h b/src/include/86box/vid_pgc.h index dd6a45b98..daeb2c259 100644 --- a/src/include/86box/vid_pgc.h +++ b/src/include/86box/vid_pgc.h @@ -8,8 +8,6 @@ * * Definitions for the PGC driver. * - * - * * Authors: Fred N. van Kempen, * John Elliott, * diff --git a/src/include/86box/vid_pgc_palette.h b/src/include/86box/vid_pgc_palette.h index a242e0cbd..c251663e8 100644 --- a/src/include/86box/vid_pgc_palette.h +++ b/src/include/86box/vid_pgc_palette.h @@ -8,15 +8,12 @@ * * Palette definitions for the PGC core. * - * - * * Authors: Fred N. van Kempen, * John Elliott, * * Copyright 2019 Fred N. van Kempen. * Copyright 2019 John Elliott. */ - #ifndef VID_PGC_PALETTE_H #define VID_PGC_PALETTE_H diff --git a/src/include/86box/vid_ps55da2.h b/src/include/86box/vid_ps55da2.h index f029b5751..f6e481b3d 100644 --- a/src/include/86box/vid_ps55da2.h +++ b/src/include/86box/vid_ps55da2.h @@ -8,13 +8,10 @@ * * IBM PS/55 Display Adapter II emulation. * - * - * * Authors: Akamaki. * * Copyright 2024 Akamaki. */ - #ifndef VIDEO_DA2_DEVICE_H #define VIDEO_DA2_DEVICE_H diff --git a/src/include/86box/vid_quadcolor.h b/src/include/86box/vid_quadcolor.h index 41b39dfb0..4e0b9f334 100644 --- a/src/include/86box/vid_quadcolor.h +++ b/src/include/86box/vid_quadcolor.h @@ -8,13 +8,12 @@ * * Quadram Quadcolor I / I+II emulation * - * Authors: Benedikt Freisen, - * Jasmine Iwanek, + * Authors: Benedikt Freisen, + * Jasmine Iwanek, * * Copyright 2024 Benedikt Freisen. - Copyright 2025 Jasmine Iwanek. + * Copyright 2025 Jasmine Iwanek. */ - #ifndef _VID_QUADCOLOR_H_ #define _VID_QUADCOLOR_H_ diff --git a/src/include/86box/vid_svga.h b/src/include/86box/vid_svga.h index 66ed2affe..61a5697d5 100644 --- a/src/include/86box/vid_svga.h +++ b/src/include/86box/vid_svga.h @@ -8,8 +8,6 @@ * * Generic SVGA handling. * - * - * * Authors: Sarah Walker, * Miran Grca, * diff --git a/src/include/86box/vid_svga_render.h b/src/include/86box/vid_svga_render.h index 7ead95838..9efcafc2d 100644 --- a/src/include/86box/vid_svga_render.h +++ b/src/include/86box/vid_svga_render.h @@ -8,15 +8,12 @@ * * SVGA renderers. * - * - * * Authors: Sarah Walker, * Miran Grca, * * Copyright 2008-2018 Sarah Walker. * Copyright 2016-2018 Miran Grca. */ - #ifndef VIDEO_SVGA_RENDER_H #define VIDEO_SVGA_RENDER_H diff --git a/src/include/86box/vid_v6355.h b/src/include/86box/vid_v6355.h index f8fd11519..c93d04060 100644 --- a/src/include/86box/vid_v6355.h +++ b/src/include/86box/vid_v6355.h @@ -16,7 +16,6 @@ * Copyright 2016-2018 Miran Grca. * Copyright 2025 starfrost (refactoring). */ - #ifndef VIDEO_V6355_H #define VIDEO_V6355_H diff --git a/src/include/86box/vid_vga.h b/src/include/86box/vid_vga.h index 54a1d0690..9de586b13 100644 --- a/src/include/86box/vid_vga.h +++ b/src/include/86box/vid_vga.h @@ -8,8 +8,6 @@ * * Emulation of the IBM MDA + VGA graphics cards. * - * - * * Authors: Sarah Walker, * Miran Grca, * Jasmine Iwanek, @@ -18,7 +16,6 @@ * Copyright 2016-2018 Miran Grca. * Copyright 2021 Jasmine Iwanek. */ - #ifndef VIDEO_VGA_H #define VIDEO_VGA_H diff --git a/src/include/86box/vid_voodoo_banshee.h b/src/include/86box/vid_voodoo_banshee.h index 257a549dd..571c36cda 100644 --- a/src/include/86box/vid_voodoo_banshee.h +++ b/src/include/86box/vid_voodoo_banshee.h @@ -8,13 +8,10 @@ * * Voodoo Banshee and 3 specific emulation. * - * - * * Authors: Sarah Walker, * * Copyright 2008-2020 Sarah Walker. */ - #ifndef VIDEO_VOODOO_BANSHEE_H #define VIDEO_VOODOO_BANSHEE_H diff --git a/src/include/86box/vid_voodoo_banshee_blitter.h b/src/include/86box/vid_voodoo_banshee_blitter.h index 2d36f1566..313f92a3e 100644 --- a/src/include/86box/vid_voodoo_banshee_blitter.h +++ b/src/include/86box/vid_voodoo_banshee_blitter.h @@ -8,13 +8,10 @@ * * Voodoo Banshee and 3 specific emulation. * - * - * * Authors: Sarah Walker, * * Copyright 2008-2020 Sarah Walker. */ - #ifndef VIDEO_VOODOO_BANSHEE_BLITTER_H #define VIDEO_VOODOO_BANSHEE_BLITTER_H diff --git a/src/include/86box/vid_voodoo_blitter.h b/src/include/86box/vid_voodoo_blitter.h index 261352157..e7f0f0b21 100644 --- a/src/include/86box/vid_voodoo_blitter.h +++ b/src/include/86box/vid_voodoo_blitter.h @@ -8,13 +8,10 @@ * * 3DFX Voodoo emulation. * - * - * * Authors: Sarah Walker, * * Copyright 2008-2020 Sarah Walker. */ - #ifndef VIDEO_VOODOO_BLITTER_H #define VIDEO_VOODOO_BLITTER_H diff --git a/src/include/86box/vid_voodoo_common.h b/src/include/86box/vid_voodoo_common.h index 4201562c2..26dcd5a1e 100644 --- a/src/include/86box/vid_voodoo_common.h +++ b/src/include/86box/vid_voodoo_common.h @@ -8,14 +8,11 @@ * * Voodoo Graphics, 2, Banshee, 3 emulation. * - * - * * Authors: Sarah Walker, * leilei * * Copyright 2008-2020 Sarah Walker. */ - #ifndef VIDEO_VOODOO_COMMON_H #define VIDEO_VOODOO_COMMON_H diff --git a/src/include/86box/vid_voodoo_display.h b/src/include/86box/vid_voodoo_display.h index f046263bf..35df4152e 100644 --- a/src/include/86box/vid_voodoo_display.h +++ b/src/include/86box/vid_voodoo_display.h @@ -8,14 +8,11 @@ * * Voodoo Graphics, 2, Banshee, 3 emulation. * - * - * * Authors: Sarah Walker, * leilei * * Copyright 2008-2020 Sarah Walker. */ - #ifndef VIDEO_VOODOO_DISPLAY_H #define VIDEO_VOODOO_DISPLAY_H diff --git a/src/include/86box/vid_voodoo_dither.h b/src/include/86box/vid_voodoo_dither.h index 51ec91f2e..3a7e3b320 100644 --- a/src/include/86box/vid_voodoo_dither.h +++ b/src/include/86box/vid_voodoo_dither.h @@ -8,14 +8,11 @@ * * Voodoo Graphics and 2 specific emulation. * - * - * * Authors: Sarah Walker, * leilei * * Copyright 2008-2020 Sarah Walker. */ - #ifndef VIDEO_VOODOO_DITHER_H #define VIDEO_VOODOO_DITHER_H diff --git a/src/include/86box/vid_voodoo_fb.h b/src/include/86box/vid_voodoo_fb.h index 8a59b30ef..1e55c33fe 100644 --- a/src/include/86box/vid_voodoo_fb.h +++ b/src/include/86box/vid_voodoo_fb.h @@ -8,14 +8,11 @@ * * Voodoo Graphics, 2, Banshee, 3 emulation. * - * - * * Authors: Sarah Walker, * leilei * * Copyright 2008-2020 Sarah Walker. */ - #ifndef VIDEO_VOODOO_FB_H #define VIDEO_VOODOO_FB_H diff --git a/src/include/86box/vid_voodoo_fifo.h b/src/include/86box/vid_voodoo_fifo.h index e78d0dd6b..91bb096ec 100644 --- a/src/include/86box/vid_voodoo_fifo.h +++ b/src/include/86box/vid_voodoo_fifo.h @@ -8,14 +8,11 @@ * * Voodoo Graphics, 2, Banshee, 3 emulation. * - * - * * Authors: Sarah Walker, * leilei * * Copyright 2008-2020 Sarah Walker. */ - #ifndef VIDEO_VOODOO_FIFO_H #define VIDEO_VOODOO_FIFO_H diff --git a/src/include/86box/vid_voodoo_reg.h b/src/include/86box/vid_voodoo_reg.h index 3dff4498c..04a6b7165 100644 --- a/src/include/86box/vid_voodoo_reg.h +++ b/src/include/86box/vid_voodoo_reg.h @@ -8,14 +8,11 @@ * * Voodoo Graphics, 2, Banshee, 3 emulation. * - * - * * Authors: Sarah Walker, * leilei * * Copyright 2008-2020 Sarah Walker. */ - #ifndef VIDEO_VOODOO_REG_H #define VIDEO_VOODOO_REG_H diff --git a/src/include/86box/vid_voodoo_setup.h b/src/include/86box/vid_voodoo_setup.h index d8820a7cb..f349c5f2c 100644 --- a/src/include/86box/vid_voodoo_setup.h +++ b/src/include/86box/vid_voodoo_setup.h @@ -8,14 +8,11 @@ * * Voodoo Graphics, 2, Banshee, 3 emulation. * - * - * * Authors: Sarah Walker, * leilei * * Copyright 2008-2020 Sarah Walker. */ - #ifndef VIDEO_VOODOO_SETUP_H #define VIDEO_VOODOO_SETUP_H diff --git a/src/include/86box/vid_voodoo_texture.h b/src/include/86box/vid_voodoo_texture.h index 6f325426a..639001ac2 100644 --- a/src/include/86box/vid_voodoo_texture.h +++ b/src/include/86box/vid_voodoo_texture.h @@ -8,14 +8,11 @@ * * Voodoo Graphics, 2, Banshee, 3 emulation. * - * - * * Authors: Sarah Walker, * leilei * * Copyright 2008-2020 Sarah Walker. */ - #ifndef VIDEO_VOODOO_TEXTURE_H #define VIDEO_VOODOO_TEXTURE_H diff --git a/src/include/86box/vid_xga.h b/src/include/86box/vid_xga.h index 9aac43b9f..b3a768e7b 100644 --- a/src/include/86box/vid_xga.h +++ b/src/include/86box/vid_xga.h @@ -8,8 +8,6 @@ * * IBM XGA emulation. * - * - * * Authors: TheCollector1995. * * Copyright 2022 TheCollector1995. diff --git a/src/include/86box/vid_xga_device.h b/src/include/86box/vid_xga_device.h index 7a72e76f5..07ddf7f21 100644 --- a/src/include/86box/vid_xga_device.h +++ b/src/include/86box/vid_xga_device.h @@ -8,13 +8,10 @@ * * IBM XGA emulation. * - * - * * Authors: TheCollector1995. * * Copyright 2022 TheCollector1995. */ - #ifndef VIDEO_XGA_DEVICE_H #define VIDEO_XGA_DEVICE_H diff --git a/src/include/86box/video.h b/src/include/86box/video.h index 81424dbcb..5ce3188f0 100644 --- a/src/include/86box/video.h +++ b/src/include/86box/video.h @@ -8,8 +8,6 @@ * * Definitions for the video controller module. * - * - * * Authors: Sarah Walker, * Miran Grca, * Fred N. van Kempen, @@ -18,7 +16,6 @@ * Copyright 2016-2019 Miran Grca. * Copyright 2017-2019 Fred N. van Kempen. */ - #ifndef EMU_VIDEO_H #define EMU_VIDEO_H diff --git a/src/include/86box/vnc.h b/src/include/86box/vnc.h index a63c53403..846f53f9a 100644 --- a/src/include/86box/vnc.h +++ b/src/include/86box/vnc.h @@ -8,13 +8,10 @@ * * Definitions for the VNC renderer. * - * - * * Authors: Fred N. van Kempen, * * Copyright 2017 Fred N. van Kempen. */ - #ifndef EMU_VNC_H #define EMU_VNC_H diff --git a/src/include/86box/win.h b/src/include/86box/win.h index 5cead7cb0..183c76b59 100644 --- a/src/include/86box/win.h +++ b/src/include/86box/win.h @@ -8,8 +8,6 @@ * * Platform support defintions for Win32. * - * - * * Authors: Sarah Walker, * Miran Grca, * Fred N. van Kempen, @@ -19,7 +17,6 @@ * Copyright 2017-2019 Fred N. van Kempen. * Copyright 2021 Laci bá' */ - #ifndef PLAT_WIN_H #define PLAT_WIN_H diff --git a/src/qt/86Box-qt.rc b/src/qt/86Box-qt.rc index 3a92439d8..6ddbffff2 100644 --- a/src/qt/86Box-qt.rc +++ b/src/qt/86Box-qt.rc @@ -8,8 +8,6 @@ * * Application resource script for Windows. * - * - * * Authors: Miran Grca, * Fred N. van Kempen, * David Hrdlička, diff --git a/src/qt/dummy_cdrom_ioctl.c b/src/qt/dummy_cdrom_ioctl.c index 8dffc6758..af8679ecc 100644 --- a/src/qt/dummy_cdrom_ioctl.c +++ b/src/qt/dummy_cdrom_ioctl.c @@ -8,8 +8,6 @@ * * Win32 CD-ROM support via IOCTL. * - * - * * Authors: TheCollector1995, , * Miran Grca, * diff --git a/src/qt/evdev_keyboard.cpp b/src/qt/evdev_keyboard.cpp index 9bc2ebdb2..0f54775ba 100644 --- a/src/qt/evdev_keyboard.cpp +++ b/src/qt/evdev_keyboard.cpp @@ -8,8 +8,6 @@ * * evdev keyboard input module. * - * - * * Authors: RichardG, * * Copyright 2023 RichardG. diff --git a/src/qt/evdev_keyboard.hpp b/src/qt/evdev_keyboard.hpp index 5efe5958d..2943390df 100644 --- a/src/qt/evdev_keyboard.hpp +++ b/src/qt/evdev_keyboard.hpp @@ -8,8 +8,6 @@ * * Definitions for evdev keyboard input module. * - * - * * Authors: RichardG, * * Copyright 2023 RichardG. diff --git a/src/qt/evdev_mouse.cpp b/src/qt/evdev_mouse.cpp index b5f68a286..d882e2883 100644 --- a/src/qt/evdev_mouse.cpp +++ b/src/qt/evdev_mouse.cpp @@ -8,8 +8,6 @@ * * Linux/FreeBSD libevdev mouse input module. * - * - * * Authors: Cacodemon345 * * Copyright 2021-2022 Cacodemon345 diff --git a/src/qt/qt.c b/src/qt/qt.c index e19cf1aac..4da6a7c57 100644 --- a/src/qt/qt.c +++ b/src/qt/qt.c @@ -6,8 +6,6 @@ * * This file is part of the 86Box distribution. * - * - * * Authors: Joakim L. Gilje * * Copyright 2021 Joakim L. Gilje diff --git a/src/qt/qt_about.cpp b/src/qt/qt_about.cpp index 6c34c2add..a85ab54d5 100644 --- a/src/qt/qt_about.cpp +++ b/src/qt/qt_about.cpp @@ -8,8 +8,6 @@ * * About dialog module. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * Teemu Korhonen diff --git a/src/qt/qt_deviceconfig.cpp b/src/qt/qt_deviceconfig.cpp index 33572c99c..880539fe4 100644 --- a/src/qt/qt_deviceconfig.cpp +++ b/src/qt/qt_deviceconfig.cpp @@ -8,8 +8,6 @@ * * Device configuration UI code. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * diff --git a/src/qt/qt_downloader.cpp b/src/qt/qt_downloader.cpp index 49f8a2e55..d88eca57a 100644 --- a/src/qt/qt_downloader.cpp +++ b/src/qt/qt_downloader.cpp @@ -8,13 +8,10 @@ * * Downloader module * - * - * * Authors: cold-brewed * * Copyright 2024 cold-brewed */ - #include #include #include diff --git a/src/qt/qt_downloader.hpp b/src/qt/qt_downloader.hpp index 2164ba59c..942da3c49 100644 --- a/src/qt/qt_downloader.hpp +++ b/src/qt/qt_downloader.hpp @@ -8,13 +8,10 @@ * * Header for the downloader module * - * - * * Authors: cold-brewed * * Copyright 2024 cold-brewed */ - #ifndef QT_DOWNLOADER_HPP #define QT_DOWNLOADER_HPP diff --git a/src/qt/qt_filefield.cpp b/src/qt/qt_filefield.cpp index 9272e31a1..aeda899aa 100644 --- a/src/qt/qt_filefield.cpp +++ b/src/qt/qt_filefield.cpp @@ -8,8 +8,6 @@ * * File field widget. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * diff --git a/src/qt/qt_harddiskdialog.cpp b/src/qt/qt_harddiskdialog.cpp index ae1c60971..66ab3e59b 100644 --- a/src/qt/qt_harddiskdialog.cpp +++ b/src/qt/qt_harddiskdialog.cpp @@ -8,8 +8,6 @@ * * Hard disk dialog code. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * diff --git a/src/qt/qt_harddrive_common.cpp b/src/qt/qt_harddrive_common.cpp index b0c8e0ea9..9e48a627e 100644 --- a/src/qt/qt_harddrive_common.cpp +++ b/src/qt/qt_harddrive_common.cpp @@ -8,8 +8,6 @@ * * Common storage devices module. * - * - * * Authors: Joakim L. Gilje * * Copyright 2021 Joakim L. Gilje diff --git a/src/qt/qt_joystickconfiguration.cpp b/src/qt/qt_joystickconfiguration.cpp index 2d8910f4a..7011a2882 100644 --- a/src/qt/qt_joystickconfiguration.cpp +++ b/src/qt/qt_joystickconfiguration.cpp @@ -8,8 +8,6 @@ * * Joystick configuration UI module. * - * - * * Authors: Joakim L. Gilje * * Copyright 2021 Joakim L. Gilje diff --git a/src/qt/qt_keybind.cpp b/src/qt/qt_keybind.cpp index e6e87a5e2..1862f4aa8 100644 --- a/src/qt/qt_keybind.cpp +++ b/src/qt/qt_keybind.cpp @@ -8,8 +8,6 @@ * * Keybind dialog * - * - * * Authors: Cathode Ray Dude * Cacodemon345 * diff --git a/src/qt/qt_machinestatus.cpp b/src/qt/qt_machinestatus.cpp index 6ff25d60f..b9d4c4385 100644 --- a/src/qt/qt_machinestatus.cpp +++ b/src/qt/qt_machinestatus.cpp @@ -8,8 +8,6 @@ * * Joystick configuration UI module. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * diff --git a/src/qt/qt_main.cpp b/src/qt/qt_main.cpp index 5f9101d47..38c77c516 100644 --- a/src/qt/qt_main.cpp +++ b/src/qt/qt_main.cpp @@ -8,7 +8,6 @@ * * Main entry point module * - * * Authors: Joakim L. Gilje * Cacodemon345 * Teemu Korhonen diff --git a/src/qt/qt_mainwindow.cpp b/src/qt/qt_mainwindow.cpp index e9e32bae0..80bbd1d0a 100644 --- a/src/qt/qt_mainwindow.cpp +++ b/src/qt/qt_mainwindow.cpp @@ -8,8 +8,6 @@ * * Main window module. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * Teemu Korhonen diff --git a/src/qt/qt_mediahistorymanager.cpp b/src/qt/qt_mediahistorymanager.cpp index ff9f1cf1c..a7892af31 100644 --- a/src/qt/qt_mediahistorymanager.cpp +++ b/src/qt/qt_mediahistorymanager.cpp @@ -8,13 +8,10 @@ * * Media history management module * - * - * * Authors: cold-brewed * * Copyright 2022 The 86Box development team */ - #include #include #include diff --git a/src/qt/qt_mediahistorymanager.hpp b/src/qt/qt_mediahistorymanager.hpp index 92b5939d3..fcde55fa8 100644 --- a/src/qt/qt_mediahistorymanager.hpp +++ b/src/qt/qt_mediahistorymanager.hpp @@ -8,13 +8,10 @@ * * Header for the media history management module * - * - * * Authors: cold-brewed * * Copyright 2022 The 86Box development team */ - #ifndef QT_MEDIAHISTORYMANAGER_HPP #define QT_MEDIAHISTORYMANAGER_HPP diff --git a/src/qt/qt_mediamenu.cpp b/src/qt/qt_mediamenu.cpp index b42812ad6..e63327fd8 100644 --- a/src/qt/qt_mediamenu.cpp +++ b/src/qt/qt_mediamenu.cpp @@ -8,8 +8,6 @@ * * Media menu UI module. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * Teemu Korhonen diff --git a/src/qt/qt_midi.cpp b/src/qt/qt_midi.cpp index 2ea8ad3b1..40fbfb460 100644 --- a/src/qt/qt_midi.cpp +++ b/src/qt/qt_midi.cpp @@ -5,21 +5,25 @@ extern "C" { void plat_midi_play_msg(uint8_t *msg) { + // } void plat_midi_play_sysex(uint8_t *sysex, unsigned int len) { + // } void plat_midi_input_init(void) { + // } void plat_midi_input_close(void) { + // } int @@ -31,11 +35,13 @@ plat_midi_write(uint8_t val) void plat_midi_init() { + // } void plat_midi_close() { + // } int @@ -63,4 +69,5 @@ plat_midi_in_get_dev_name(int num, char *s) s[0] = ' '; s[1] = 0; } + } diff --git a/src/qt/qt_models_common.cpp b/src/qt/qt_models_common.cpp index ed6aeaa7d..0f1ce81c9 100644 --- a/src/qt/qt_models_common.cpp +++ b/src/qt/qt_models_common.cpp @@ -8,8 +8,6 @@ * * Common storage devices module. * - * - * * Authors: Joakim L. Gilje * * Copyright 2021 Joakim L. Gilje diff --git a/src/qt/qt_models_common.hpp b/src/qt/qt_models_common.hpp index 98674a68f..7e116523f 100644 --- a/src/qt/qt_models_common.hpp +++ b/src/qt/qt_models_common.hpp @@ -3,5 +3,5 @@ class QString; class QAbstractItemModel; namespace Models { -int AddEntry(QAbstractItemModel *model, const QString &displayRole, int userRole); + int AddEntry(QAbstractItemModel *model, const QString &displayRole, int userRole); }; diff --git a/src/qt/qt_newfloppydialog.cpp b/src/qt/qt_newfloppydialog.cpp index d9ae09d0c..6712b22f3 100644 --- a/src/qt/qt_newfloppydialog.cpp +++ b/src/qt/qt_newfloppydialog.cpp @@ -8,8 +8,6 @@ * * Common storage devices module. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * Teemu Korhonen diff --git a/src/qt/qt_openglrenderer.cpp b/src/qt/qt_openglrenderer.cpp index 492acb630..d572bd563 100644 --- a/src/qt/qt_openglrenderer.cpp +++ b/src/qt/qt_openglrenderer.cpp @@ -8,8 +8,6 @@ * * OpenGL renderer for Qt, mostly ported over from PCem. * - * - * * Authors: Teemu Korhonen * Cacodemon345 * bit @@ -20,7 +18,6 @@ * Copyright 2017 Bit * Copyright 2017-2020 Sarah Walker */ - #include "qt_renderercommon.hpp" #include "qt_mainwindow.hpp" diff --git a/src/qt/qt_openglrenderer.hpp b/src/qt/qt_openglrenderer.hpp index 776a2f53e..c2dc32917 100644 --- a/src/qt/qt_openglrenderer.hpp +++ b/src/qt/qt_openglrenderer.hpp @@ -8,15 +8,12 @@ * * Header file for OpenGL renderer * - * - * * Authors: Teemu Korhonen * Cacodemon345 * * Copyright 2022 Teemu Korhonen * Copyright 2025 Cacodemon345 */ - #ifndef QT_OpenGLRenderer_HPP #define QT_OpenGLRenderer_HPP diff --git a/src/qt/qt_openglshaderconfig.cpp b/src/qt/qt_openglshaderconfig.cpp index 25f9d38a8..1e8c2d54f 100644 --- a/src/qt/qt_openglshaderconfig.cpp +++ b/src/qt/qt_openglshaderconfig.cpp @@ -82,4 +82,3 @@ void OpenGLShaderConfig::on_OpenGLShaderConfig_accepted() endblit(); main_window->reloadAllRenderers(); } - diff --git a/src/qt/qt_openglshadermanagerdialog.cpp b/src/qt/qt_openglshadermanagerdialog.cpp index 90f38f40f..ac252c092 100644 --- a/src/qt/qt_openglshadermanagerdialog.cpp +++ b/src/qt/qt_openglshadermanagerdialog.cpp @@ -263,4 +263,3 @@ void OpenGLShaderManagerDialog::on_targetFrameRate_valueChanged(int arg1) if (ui->horizontalSliderFramerate->value() != ui->targetFrameRate->value()) ui->horizontalSliderFramerate->setValue(ui->targetFrameRate->value()); } - diff --git a/src/qt/qt_platform.cpp b/src/qt/qt_platform.cpp index 6b60adffa..d276dc8bd 100644 --- a/src/qt/qt_platform.cpp +++ b/src/qt/qt_platform.cpp @@ -8,8 +8,6 @@ * * Common platform functions. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * Teemu Korhonen @@ -18,7 +16,6 @@ * Copyright 2021-2022 Cacodemon345 * Copyright 2021-2022 Teemu Korhonen */ - #ifdef __HAIKU__ #include #endif diff --git a/src/qt/qt_progsettings.cpp b/src/qt/qt_progsettings.cpp index 7efeba377..e979a22b6 100644 --- a/src/qt/qt_progsettings.cpp +++ b/src/qt/qt_progsettings.cpp @@ -8,8 +8,6 @@ * * Program settings UI module. * - * - * * Authors: Cacodemon345 * * Copyright 2021-2022 Cacodemon345 diff --git a/src/qt/qt_renderercommon.cpp b/src/qt/qt_renderercommon.cpp index b802f5124..d34cad15b 100644 --- a/src/qt/qt_renderercommon.cpp +++ b/src/qt/qt_renderercommon.cpp @@ -8,13 +8,10 @@ * * Program settings UI module. * - * - * * Authors: Joakim L. Gilje * * Copyright 2021 Joakim L. Gilje */ - #include "qt_renderercommon.hpp" #include "qt_mainwindow.hpp" diff --git a/src/qt/qt_rendererstack.cpp b/src/qt/qt_rendererstack.cpp index cefd00901..bcd850020 100644 --- a/src/qt/qt_rendererstack.cpp +++ b/src/qt/qt_rendererstack.cpp @@ -8,8 +8,6 @@ * * Program settings UI module. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * Teemu Korhonen @@ -75,9 +73,9 @@ extern "C" { } struct mouseinputdata { - atomic_bool mouse_tablet_in_proximity; + atomic_bool mouse_tablet_in_proximity; - char *mouse_type; + char *mouse_type; }; static mouseinputdata mousedata; diff --git a/src/qt/qt_settings.cpp b/src/qt/qt_settings.cpp index e15015403..d892053f8 100644 --- a/src/qt/qt_settings.cpp +++ b/src/qt/qt_settings.cpp @@ -8,8 +8,6 @@ * * Program settings UI module. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * diff --git a/src/qt/qt_settings_bus_tracking.cpp b/src/qt/qt_settings_bus_tracking.cpp index c811cc7c0..9cfe6c8ac 100644 --- a/src/qt/qt_settings_bus_tracking.cpp +++ b/src/qt/qt_settings_bus_tracking.cpp @@ -8,8 +8,6 @@ * * Program settings UI module. * - * - * * Authors: Miran Grca * Cacodemon345 * diff --git a/src/qt/qt_settingsdisplay.cpp b/src/qt/qt_settingsdisplay.cpp index ed9ba220c..8e3a72589 100644 --- a/src/qt/qt_settingsdisplay.cpp +++ b/src/qt/qt_settingsdisplay.cpp @@ -8,8 +8,6 @@ * * Display settings UI module. * - * - * * Authors: Joakim L. Gilje * * Copyright 2021 Joakim L. Gilje diff --git a/src/qt/qt_settingsfloppycdrom.cpp b/src/qt/qt_settingsfloppycdrom.cpp index 8ba860e0f..b1b099b62 100644 --- a/src/qt/qt_settingsfloppycdrom.cpp +++ b/src/qt/qt_settingsfloppycdrom.cpp @@ -8,8 +8,6 @@ * * Floppy/CD-ROM devices configuration UI module. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * diff --git a/src/qt/qt_settingsharddisks.cpp b/src/qt/qt_settingsharddisks.cpp index 40142f4d2..3f0447dff 100644 --- a/src/qt/qt_settingsharddisks.cpp +++ b/src/qt/qt_settingsharddisks.cpp @@ -8,8 +8,6 @@ * * Hard disk configuration UI module. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * diff --git a/src/qt/qt_settingsmachine.cpp b/src/qt/qt_settingsmachine.cpp index a0e37259c..ae03f4d38 100644 --- a/src/qt/qt_settingsmachine.cpp +++ b/src/qt/qt_settingsmachine.cpp @@ -8,8 +8,6 @@ * * Machine selection and configuration UI module. * - * - * * Authors: Joakim L. Gilje * * Copyright 2021 Joakim L. Gilje @@ -413,4 +411,3 @@ void SettingsMachine::on_radioButtonLargerFrames_clicked() { ui->radioButtonSmallerFrames->setChecked(false); } - diff --git a/src/qt/qt_settingsnetwork.cpp b/src/qt/qt_settingsnetwork.cpp index cf07234e5..16a885411 100644 --- a/src/qt/qt_settingsnetwork.cpp +++ b/src/qt/qt_settingsnetwork.cpp @@ -8,8 +8,6 @@ * * Network devices configuration UI module. * - * - * * Authors: Joakim L. Gilje * * Copyright 2021 Joakim L. Gilje diff --git a/src/qt/qt_settingsotherperipherals.cpp b/src/qt/qt_settingsotherperipherals.cpp index 0ecdc30d3..89254b8ee 100644 --- a/src/qt/qt_settingsotherperipherals.cpp +++ b/src/qt/qt_settingsotherperipherals.cpp @@ -8,8 +8,6 @@ * * Other peripherals configuration UI module. * - * - * * Authors: Joakim L. Gilje * Jasmine Iwanek * diff --git a/src/qt/qt_settingsotherremovable.cpp b/src/qt/qt_settingsotherremovable.cpp index f2fa3c675..dde8e9bb6 100644 --- a/src/qt/qt_settingsotherremovable.cpp +++ b/src/qt/qt_settingsotherremovable.cpp @@ -8,8 +8,6 @@ * * Other removable devices configuration UI module. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * diff --git a/src/qt/qt_settingsports.cpp b/src/qt/qt_settingsports.cpp index 001193357..eec896839 100644 --- a/src/qt/qt_settingsports.cpp +++ b/src/qt/qt_settingsports.cpp @@ -8,8 +8,6 @@ * * Serial/Parallel ports configuration UI module. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * diff --git a/src/qt/qt_settingssound.cpp b/src/qt/qt_settingssound.cpp index 57e278515..38038f97f 100644 --- a/src/qt/qt_settingssound.cpp +++ b/src/qt/qt_settingssound.cpp @@ -8,8 +8,6 @@ * * Sound/MIDI devices configuration UI module. * - * - * * Authors: Joakim L. Gilje * Jasmine Iwanek * diff --git a/src/qt/qt_settingsstoragecontrollers.cpp b/src/qt/qt_settingsstoragecontrollers.cpp index 8614852eb..254aadc86 100644 --- a/src/qt/qt_settingsstoragecontrollers.cpp +++ b/src/qt/qt_settingsstoragecontrollers.cpp @@ -8,8 +8,6 @@ * * Storage devices configuration UI module. * - * - * * Authors: Joakim L. Gilje * * Copyright 2021 Joakim L. Gilje diff --git a/src/qt/qt_softwarerenderer.cpp b/src/qt/qt_softwarerenderer.cpp index dcc0799dd..16e331378 100644 --- a/src/qt/qt_softwarerenderer.cpp +++ b/src/qt/qt_softwarerenderer.cpp @@ -8,8 +8,6 @@ * * Software renderer module. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * Teemu Korhonen diff --git a/src/qt/qt_soundgain.cpp b/src/qt/qt_soundgain.cpp index 725a5b115..53cb83aa4 100644 --- a/src/qt/qt_soundgain.cpp +++ b/src/qt/qt_soundgain.cpp @@ -8,8 +8,6 @@ * * Sound gain dialog UI module. * - * - * * Authors: Cacodemon345 * * Copyright 2021-2022 Cacodemon345 diff --git a/src/qt/qt_specifydimensions.cpp b/src/qt/qt_specifydimensions.cpp index 0b88e9b57..7f2da09e7 100644 --- a/src/qt/qt_specifydimensions.cpp +++ b/src/qt/qt_specifydimensions.cpp @@ -8,8 +8,6 @@ * * Specify dimensions UI module. * - * - * * Authors: Cacodemon345 * * Copyright 2021-2022 Cacodemon345 diff --git a/src/qt/qt_styleoverride.cpp b/src/qt/qt_styleoverride.cpp index 681114c4b..33480d7c3 100644 --- a/src/qt/qt_styleoverride.cpp +++ b/src/qt/qt_styleoverride.cpp @@ -8,8 +8,6 @@ * * Style override class. * - * - * * Authors: Teemu Korhonen * * Copyright 2022 Teemu Korhonen diff --git a/src/qt/qt_ui.cpp b/src/qt/qt_ui.cpp index e93ed9786..cebc5a216 100644 --- a/src/qt/qt_ui.cpp +++ b/src/qt/qt_ui.cpp @@ -8,8 +8,6 @@ * * Common UI functions. * - * - * * Authors: Joakim L. Gilje * Cacodemon345 * diff --git a/src/qt/qt_unixmanagerfilter.cpp b/src/qt/qt_unixmanagerfilter.cpp index 5d94584e6..9e46d2c09 100644 --- a/src/qt/qt_unixmanagerfilter.cpp +++ b/src/qt/qt_unixmanagerfilter.cpp @@ -8,8 +8,6 @@ * * Source file for Unix VM-managers (client-side) * - * - * * Authors: Teemu Korhonen * Cacodemon345 * diff --git a/src/qt/qt_unixmanagerfilter.hpp b/src/qt/qt_unixmanagerfilter.hpp index 0587e06ee..6129b1dad 100644 --- a/src/qt/qt_unixmanagerfilter.hpp +++ b/src/qt/qt_unixmanagerfilter.hpp @@ -6,9 +6,7 @@ * * This file is part of the 86Box distribution. * - * Header file for Unix VM-managers (client-side) - * - * + * Header file for Unix VM-managers (client-side) * * Authors: Teemu Korhonen * Cacodemon345 @@ -16,7 +14,6 @@ * Copyright 2022 Teemu Korhonen * Copyright 2022 Cacodemon345 */ - #ifndef QT_UNIXMANAGERFILTER_HPP #define QT_UNIXMANAGERFILTER_HPP diff --git a/src/qt/qt_updatecheck.cpp b/src/qt/qt_updatecheck.cpp index 83e2b34d9..4b9d1e4c5 100644 --- a/src/qt/qt_updatecheck.cpp +++ b/src/qt/qt_updatecheck.cpp @@ -8,13 +8,10 @@ * * Update check module * - * - * * Authors: cold-brewed * * Copyright 2024 cold-brewed */ - #include #include #include diff --git a/src/qt/qt_updatecheck.hpp b/src/qt/qt_updatecheck.hpp index 2c04993fc..32732a9be 100644 --- a/src/qt/qt_updatecheck.hpp +++ b/src/qt/qt_updatecheck.hpp @@ -8,13 +8,10 @@ * * Header for the update check module * - * - * * Authors: cold-brewed * * Copyright 2024 cold-brewed */ - #ifndef QT_UPDATECHECK_HPP #define QT_UPDATECHECK_HPP diff --git a/src/qt/qt_updatecheckdialog.cpp b/src/qt/qt_updatecheckdialog.cpp index 017d93822..7400f40ae 100644 --- a/src/qt/qt_updatecheckdialog.cpp +++ b/src/qt/qt_updatecheckdialog.cpp @@ -8,13 +8,10 @@ * * Update check dialog module * - * - * * Authors: cold-brewed * * Copyright 2024 cold-brewed */ - #include #include diff --git a/src/qt/qt_updatecheckdialog.hpp b/src/qt/qt_updatecheckdialog.hpp index 0f1c0dfa8..f3c39d5da 100644 --- a/src/qt/qt_updatecheckdialog.hpp +++ b/src/qt/qt_updatecheckdialog.hpp @@ -8,13 +8,10 @@ * * Header for the update check dialog module * - * - * * Authors: cold-brewed * * Copyright 2024 cold-brewed */ - #ifndef QT_UPDATECHECKDIALOG_HPP #define QT_UPDATECHECKDIALOG_HPP diff --git a/src/qt/qt_updatedetails.cpp b/src/qt/qt_updatedetails.cpp index aea55a30a..386e33fae 100644 --- a/src/qt/qt_updatedetails.cpp +++ b/src/qt/qt_updatedetails.cpp @@ -8,13 +8,10 @@ * * Update details module * - * - * * Authors: cold-brewed * * Copyright 2024 cold-brewed */ - #include "qt_updatedetails.hpp" #include "ui_qt_updatedetails.h" diff --git a/src/qt/qt_updatedetails.hpp b/src/qt/qt_updatedetails.hpp index 8c3528e11..c11dd8f43 100644 --- a/src/qt/qt_updatedetails.hpp +++ b/src/qt/qt_updatedetails.hpp @@ -8,13 +8,10 @@ * * Header for the update details module * - * - * * Authors: cold-brewed * * Copyright 2024 cold-brewed */ - #ifndef QT_UPDATEDETAILS_HPP #define QT_UPDATEDETAILS_HPP diff --git a/src/qt/qt_util.cpp b/src/qt/qt_util.cpp index a95226247..02d33af9b 100644 --- a/src/qt/qt_util.cpp +++ b/src/qt/qt_util.cpp @@ -8,8 +8,6 @@ * * Utility functions. * - * - * * Authors: Teemu Korhonen * * Copyright 2022 Teemu Korhonen diff --git a/src/qt/qt_vmmanager_addmachine.cpp b/src/qt/qt_vmmanager_addmachine.cpp index b621d4733..81bb47110 100644 --- a/src/qt/qt_vmmanager_addmachine.cpp +++ b/src/qt/qt_vmmanager_addmachine.cpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* 86Box VM manager add machine wizard -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * 86Box VM manager add machine wizard + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #include #include #include diff --git a/src/qt/qt_vmmanager_addmachine.hpp b/src/qt/qt_vmmanager_addmachine.hpp index b73b5a609..7a640a70d 100644 --- a/src/qt/qt_vmmanager_addmachine.hpp +++ b/src/qt/qt_vmmanager_addmachine.hpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* Header for 86Box VM manager add machine wizard -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * Header for 86Box VM manager add machine wizard + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #ifndef QT_VMMANAGER_ADDMACHINE_H #define QT_VMMANAGER_ADDMACHINE_H @@ -118,4 +115,4 @@ protected: void initializePage() override; }; -#endif // QT_VMMANAGER_ADDMACHINE_H \ No newline at end of file +#endif // QT_VMMANAGER_ADDMACHINE_H diff --git a/src/qt/qt_vmmanager_clientsocket.cpp b/src/qt/qt_vmmanager_clientsocket.cpp index 7f1587cb4..c8e5cbefe 100644 --- a/src/qt/qt_vmmanager_clientsocket.cpp +++ b/src/qt/qt_vmmanager_clientsocket.cpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* 86Box VM manager client socket module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * 86Box VM manager client socket module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #include "qt_vmmanager_clientsocket.hpp" #include "qt_vmmanager_protocol.hpp" #include diff --git a/src/qt/qt_vmmanager_clientsocket.hpp b/src/qt/qt_vmmanager_clientsocket.hpp index 1848749a3..8e063a79e 100644 --- a/src/qt/qt_vmmanager_clientsocket.hpp +++ b/src/qt/qt_vmmanager_clientsocket.hpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* Header file for 86Box VM manager client socket module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * Header file for 86Box VM manager client socket module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #ifndef QT_VMMANAGER_CLIENTSOCKET_HPP #define QT_VMMANAGER_CLIENTSOCKET_HPP diff --git a/src/qt/qt_vmmanager_config.cpp b/src/qt/qt_vmmanager_config.cpp index 41075799b..5690ea91a 100644 --- a/src/qt/qt_vmmanager_config.cpp +++ b/src/qt/qt_vmmanager_config.cpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* 86Box VM manager configuration module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * 86Box VM manager configuration module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #include #include #include "qt_vmmanager_config.hpp" diff --git a/src/qt/qt_vmmanager_config.hpp b/src/qt/qt_vmmanager_config.hpp index bc63aaa03..51ad3ecfe 100644 --- a/src/qt/qt_vmmanager_config.hpp +++ b/src/qt/qt_vmmanager_config.hpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* Header for the 86Box VM manager configuration module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * Header for the 86Box VM manager configuration module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #ifndef QT_VMMANAGER_CONFIG_H #define QT_VMMANAGER_CONFIG_H diff --git a/src/qt/qt_vmmanager_details.cpp b/src/qt/qt_vmmanager_details.cpp index 873da9083..2b36e3967 100644 --- a/src/qt/qt_vmmanager_details.cpp +++ b/src/qt/qt_vmmanager_details.cpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* 86Box VM manager system details module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * 86Box VM manager system details module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #include #include #include diff --git a/src/qt/qt_vmmanager_details.hpp b/src/qt/qt_vmmanager_details.hpp index ac7cda35b..3ef868f03 100644 --- a/src/qt/qt_vmmanager_details.hpp +++ b/src/qt/qt_vmmanager_details.hpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* Header for 86Box VM manager system details module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * Header for 86Box VM manager system details module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #ifndef QT_VMMANAGER_DETAILS_H #define QT_VMMANAGER_DETAILS_H @@ -101,6 +98,4 @@ protected: // QFrame *storageFrame; }; - - #endif //QT_VMMANAGER_DETAILS_H diff --git a/src/qt/qt_vmmanager_detailsection.cpp b/src/qt/qt_vmmanager_detailsection.cpp index ac321be1e..ffd8668b4 100644 --- a/src/qt/qt_vmmanager_detailsection.cpp +++ b/src/qt/qt_vmmanager_detailsection.cpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* 86Box VM manager system details section module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * 86Box VM manager system details section module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #include "qt_vmmanager_detailsection.hpp" #include "ui_qt_vmmanager_detailsection.h" @@ -304,4 +301,3 @@ void CollapseButton::showContent() { animator_.setDirection(QAbstractAnimation::Forward); animator_.start(); } - diff --git a/src/qt/qt_vmmanager_detailsection.hpp b/src/qt/qt_vmmanager_detailsection.hpp index 3df7ce64c..bca245275 100644 --- a/src/qt/qt_vmmanager_detailsection.hpp +++ b/src/qt/qt_vmmanager_detailsection.hpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* 86Box VM manager system details section module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * 86Box VM manager system details section module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed */ - #ifndef QT_VMMANAGER_DETAILSECTION_H #define QT_VMMANAGER_DETAILSECTION_H diff --git a/src/qt/qt_vmmanager_listviewdelegate.cpp b/src/qt/qt_vmmanager_listviewdelegate.cpp index c5d2e1dc9..67fb80bb7 100644 --- a/src/qt/qt_vmmanager_listviewdelegate.cpp +++ b/src/qt/qt_vmmanager_listviewdelegate.cpp @@ -1,32 +1,26 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. +* 86Box A hypervisor and IBM PC system emulator that specializes in +* running old operating systems and software designed for IBM +* PC systems and compatibles from 1981 through fairly recent +* system designs based on the PCI bus. * -* This file is part of the 86Box distribution. +* This file is part of the 86Box distribution. * -* 86Box VM manager list view delegate module +* 86Box VM manager list view delegate module * +* Authors: cold-brewed * -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed +* Copyright 2024 cold-brewed */ - - #include #include "qt_util.hpp" #include "qt_vmmanager_listviewdelegate.hpp" #include "qt_vmmanager_model.hpp" - // Thanks to scopchanov https://github.com/scopchanov/SO-MessageLog // from https://stackoverflow.com/questions/53105343/is-it-possible-to-add-a-custom-widget-into-a-qlistview - VMManagerListViewDelegate::VMManagerListViewDelegate(QObject *parent) : QStyledItemDelegate(parent), m_ptr(new VMManagerListViewDelegateStyle) @@ -228,7 +222,7 @@ VMManagerListViewDelegateStyle::VMManagerListViewDelegateStyle() : spacingHorizontal(8), spacingVertical(4) { - + // } QRect VMManagerListViewDelegateStyle::statusBox(const QStyleOptionViewItem &option, diff --git a/src/qt/qt_vmmanager_listviewdelegate.hpp b/src/qt/qt_vmmanager_listviewdelegate.hpp index 9e320653b..a561c89d2 100644 --- a/src/qt/qt_vmmanager_listviewdelegate.hpp +++ b/src/qt/qt_vmmanager_listviewdelegate.hpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* Header for 86Box VM manager list view delegate module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * Header for 86Box VM manager list view delegate module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #ifndef QT_VMMANAGER_LISTVIEWDELEGATE_H #define QT_VMMANAGER_LISTVIEWDELEGATE_H @@ -74,4 +71,4 @@ private: QColor bg_color; QColor highlight_color; }; -#endif // QT_VMMANAGER_LISTVIEWDELEGATE_H \ No newline at end of file +#endif // QT_VMMANAGER_LISTVIEWDELEGATE_H diff --git a/src/qt/qt_vmmanager_main.cpp b/src/qt/qt_vmmanager_main.cpp index 6ae455f8a..5bc936268 100644 --- a/src/qt/qt_vmmanager_main.cpp +++ b/src/qt/qt_vmmanager_main.cpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* 86Box VM manager main module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * 86Box VM manager main module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #include #include #include diff --git a/src/qt/qt_vmmanager_main.hpp b/src/qt/qt_vmmanager_main.hpp index 404a90fc6..07d1ff0c1 100644 --- a/src/qt/qt_vmmanager_main.hpp +++ b/src/qt/qt_vmmanager_main.hpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* Header for 86Box VM manager main module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * Header for 86Box VM manager main module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #ifndef QT_VMMANAGER_MAIN_H #define QT_VMMANAGER_MAIN_H diff --git a/src/qt/qt_vmmanager_mainwindow.cpp b/src/qt/qt_vmmanager_mainwindow.cpp index a4ae61577..864a2b17a 100644 --- a/src/qt/qt_vmmanager_mainwindow.cpp +++ b/src/qt/qt_vmmanager_mainwindow.cpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* 86Box VM manager main window -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * 86Box VM manager main window + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #include "qt_vmmanager_mainwindow.hpp" #include "qt_vmmanager_main.hpp" #include "qt_vmmanager_preferences.hpp" @@ -174,7 +171,6 @@ VMManagerMainWindow(QWidget *parent) } delete config; } - } VMManagerMainWindow::~ diff --git a/src/qt/qt_vmmanager_mainwindow.hpp b/src/qt/qt_vmmanager_mainwindow.hpp index be02c3095..055e61808 100644 --- a/src/qt/qt_vmmanager_mainwindow.hpp +++ b/src/qt/qt_vmmanager_mainwindow.hpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* Header for 86Box VM manager main window -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * Header for 86Box VM manager main window + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #ifndef VMM_MAINWINDOW_H #define VMM_MAINWINDOW_H diff --git a/src/qt/qt_vmmanager_model.cpp b/src/qt/qt_vmmanager_model.cpp index 6e74da82c..bd66862fd 100644 --- a/src/qt/qt_vmmanager_model.cpp +++ b/src/qt/qt_vmmanager_model.cpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* 86Box VM manager model module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * 86Box VM manager model module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed */ - #include #include "qt_vmmanager_model.hpp" diff --git a/src/qt/qt_vmmanager_model.hpp b/src/qt/qt_vmmanager_model.hpp index af72f3bc9..4e57dfd95 100644 --- a/src/qt/qt_vmmanager_model.hpp +++ b/src/qt/qt_vmmanager_model.hpp @@ -1,24 +1,20 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* Header for 86Box VM manager model module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * Header for 86Box VM manager model module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed */ - #ifndef QT_VMMANAGER_MODEL_H #define QT_VMMANAGER_MODEL_H - #include "qt_vmmanager_system.hpp" #include diff --git a/src/qt/qt_vmmanager_preferences.cpp b/src/qt/qt_vmmanager_preferences.cpp index d181119f4..d13fd8cdd 100644 --- a/src/qt/qt_vmmanager_preferences.cpp +++ b/src/qt/qt_vmmanager_preferences.cpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* 86Box VM manager preferences module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * 86Box VM manager preferences module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #include #include #include diff --git a/src/qt/qt_vmmanager_preferences.hpp b/src/qt/qt_vmmanager_preferences.hpp index d28ff79ac..ee5cf1fe8 100644 --- a/src/qt/qt_vmmanager_preferences.hpp +++ b/src/qt/qt_vmmanager_preferences.hpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. +* 86Box A hypervisor and IBM PC system emulator that specializes in +* running old operating systems and software designed for IBM +* PC systems and compatibles from 1981 through fairly recent +* system designs based on the PCI bus. * -* This file is part of the 86Box distribution. +* This file is part of the 86Box distribution. * -* Header for 86Box VM manager preferences module +* Header for 86Box VM manager preferences module * +* Authors: cold-brewed * -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed +* Copyright 2024 cold-brewed */ - #ifndef VMMANAGER_PREFERENCES_H #define VMMANAGER_PREFERENCES_H diff --git a/src/qt/qt_vmmanager_protocol.cpp b/src/qt/qt_vmmanager_protocol.cpp index d113ba203..3091b0254 100644 --- a/src/qt/qt_vmmanager_protocol.cpp +++ b/src/qt/qt_vmmanager_protocol.cpp @@ -1,23 +1,21 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* 86Box VM manager protocol module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * 86Box VM manager protocol module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed */ - #include "qt_vmmanager_protocol.hpp" #include #include + VMManagerProtocol::VMManagerProtocol(VMManagerProtocol::Sender sender) { message_class = sender; @@ -65,6 +63,7 @@ VMManagerProtocol::constructDefaultObject(VMManagerProtocol::Sender type) json_message["version"] = QStringLiteral(EMU_VERSION); return json_message; } + bool VMManagerProtocol::hasRequiredFields(const QJsonObject& json_document) { @@ -76,6 +75,7 @@ VMManagerProtocol::hasRequiredFields(const QJsonObject& json_document) } return true; } + VMManagerProtocol::ClientMessage VMManagerProtocol::getClientMessageType(const QJsonObject &json_document) { @@ -100,6 +100,7 @@ VMManagerProtocol::getClientMessageType(const QJsonObject &json_document) } return VMManagerProtocol::ClientMessage::UnknownMessage; } + VMManagerProtocol::ManagerMessage VMManagerProtocol::getManagerMessageType(const QJsonObject &json_document) { @@ -126,6 +127,7 @@ VMManagerProtocol::getManagerMessageType(const QJsonObject &json_document) } return VMManagerProtocol::ManagerMessage::UnknownMessage; } + QJsonObject VMManagerProtocol::getParams(const QJsonObject &json_document) { diff --git a/src/qt/qt_vmmanager_protocol.hpp b/src/qt/qt_vmmanager_protocol.hpp index 99c88d808..f852b23e6 100644 --- a/src/qt/qt_vmmanager_protocol.hpp +++ b/src/qt/qt_vmmanager_protocol.hpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* Header for 86Box VM manager protocol module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * Header for 86Box VM manager protocol module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed */ - #ifndef QT_VMMANAGER_PROTOCOL_H #define QT_VMMANAGER_PROTOCOL_H diff --git a/src/qt/qt_vmmanager_serversocket.cpp b/src/qt/qt_vmmanager_serversocket.cpp index edd1e6c02..36234feec 100644 --- a/src/qt/qt_vmmanager_serversocket.cpp +++ b/src/qt/qt_vmmanager_serversocket.cpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* 86Box VM manager server socket module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * 86Box VM manager server socket module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed */ - #include "qt_vmmanager_serversocket.hpp" #include #include @@ -210,9 +207,9 @@ VMManagerServerSocket::setupVars() QString VMManagerServerSocket::getSocketPath() const { - if (server) { + if (server) return server->fullServerName(); - } + return {}; } @@ -220,6 +217,6 @@ QString VMManagerServerSocket::serverTypeToString(VMManagerServerSocket::ServerType server_type_lookup) { QMetaEnum qme = QMetaEnum::fromType(); - return qme.valueToKey(static_cast(server_type_lookup)); + return qme.valueToKey(static_cast(server_type_lookup)); } diff --git a/src/qt/qt_vmmanager_serversocket.hpp b/src/qt/qt_vmmanager_serversocket.hpp index ff1950771..87baa1027 100644 --- a/src/qt/qt_vmmanager_serversocket.hpp +++ b/src/qt/qt_vmmanager_serversocket.hpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* Header for 86Box VM manager server socket module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * Header for 86Box VM manager server socket module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed */ - #ifndef QT_VMMANAGER_SERVERSOCKET_H #define QT_VMMANAGER_SERVERSOCKET_H diff --git a/src/qt/qt_vmmanager_system.cpp b/src/qt/qt_vmmanager_system.cpp index dec503fce..d3dfa2866 100644 --- a/src/qt/qt_vmmanager_system.cpp +++ b/src/qt/qt_vmmanager_system.cpp @@ -1,21 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* 86Box VM manager system module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * 86Box VM manager system module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #include #include #include @@ -38,7 +34,6 @@ #include #endif - extern "C" { #include <86box/86box.h> #include <86box/device.h> diff --git a/src/qt/qt_vmmanager_system.hpp b/src/qt/qt_vmmanager_system.hpp index e40e2d4e1..af6b30016 100644 --- a/src/qt/qt_vmmanager_system.hpp +++ b/src/qt/qt_vmmanager_system.hpp @@ -1,20 +1,17 @@ /* -* 86Box A hypervisor and IBM PC system emulator that specializes in -* running old operating systems and software designed for IBM -* PC systems and compatibles from 1981 through fairly recent -* system designs based on the PCI bus. -* -* This file is part of the 86Box distribution. -* -* Header for 86Box VM manager system module -* -* -* -* Authors: cold-brewed -* -* Copyright 2024 cold-brewed -*/ - + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. + * + * This file is part of the 86Box distribution. + * + * Header for 86Box VM manager system module + * + * Authors: cold-brewed + * + * Copyright 2024 cold-brewed + */ #ifndef QT_VMMANAGER_SYSTEM_H #define QT_VMMANAGER_SYSTEM_H @@ -29,8 +26,8 @@ // This macro helps give us the required `qHash()` function in order to use the // enum as a hash key -#define QHASH_FOR_CLASS_ENUM(T) \ -inline uint qHash(const T &t, uint seed) { \ +#define QHASH_FOR_CLASS_ENUM(T) \ +inline uint qHash(const T &t, uint seed) { \ return ::qHash(static_cast::type>(t), seed); \ } @@ -204,5 +201,4 @@ private: void statusRefresh(); }; - #endif //QT_VMMANAGER_SYSTEM_H diff --git a/src/qt/qt_vmmanager_windarkmodefilter.cpp b/src/qt/qt_vmmanager_windarkmodefilter.cpp index c95bc0c0f..4cba78b50 100644 --- a/src/qt/qt_vmmanager_windarkmodefilter.cpp +++ b/src/qt/qt_vmmanager_windarkmodefilter.cpp @@ -8,15 +8,12 @@ * * Generic Windows native event filter for dark mode handling * - * - * * Authors: Teemu Korhonen * Cacodemon345 * * Copyright 2021 Teemu Korhonen * Copyright 2024-2025 Cacodemon345. */ - #include "qt_vmmanager_windarkmodefilter.hpp" #include diff --git a/src/qt/qt_winmanagerfilter.cpp b/src/qt/qt_winmanagerfilter.cpp index cdb81fcd5..421498057 100644 --- a/src/qt/qt_winmanagerfilter.cpp +++ b/src/qt/qt_winmanagerfilter.cpp @@ -8,13 +8,10 @@ * * Windows VM-managers native messages filter * - * - * * Authors: Teemu Korhonen * * Copyright 2022 Teemu Korhonen */ - #include "qt_winmanagerfilter.hpp" #include diff --git a/src/qt/qt_winmanagerfilter.hpp b/src/qt/qt_winmanagerfilter.hpp index e8fb06d90..19382ffb0 100644 --- a/src/qt/qt_winmanagerfilter.hpp +++ b/src/qt/qt_winmanagerfilter.hpp @@ -8,13 +8,10 @@ * * Header file for Windows VM-managers native messages filter * - * - * * Authors: Teemu Korhonen * * Copyright 2022 Teemu Korhonen */ - #ifndef QT_WINDOWSMANAGERFILTER_HPP #define QT_WINDOWSMANAGERFILTER_HPP diff --git a/src/qt/qt_winrawinputfilter.cpp b/src/qt/qt_winrawinputfilter.cpp index 9029f4fcd..90d85e474 100644 --- a/src/qt/qt_winrawinputfilter.cpp +++ b/src/qt/qt_winrawinputfilter.cpp @@ -8,8 +8,6 @@ * * Windows raw input native filter for Qt * - * - * * Authors: Teemu Korhonen * Miran Grca, * Sam Latinga @@ -19,7 +17,7 @@ * Copyright 2016-2018 Miran Grca. * Copyright 1997-2025 Sam Latinga * Copyright 2024-2025 Cacodemon345. - * + * * See this header for SDL3 code license: * https://github.com/libsdl-org/SDL/blob/8e5fe0ea61dc87b29ca9a6119324221df0113bcf/src/video/windows/SDL_windowsrawinput.c#L1 * diff --git a/src/qt/qt_winrawinputfilter.hpp b/src/qt/qt_winrawinputfilter.hpp index 9d8d6ba0e..28b061ac0 100644 --- a/src/qt/qt_winrawinputfilter.hpp +++ b/src/qt/qt_winrawinputfilter.hpp @@ -8,8 +8,6 @@ * * Header file for windows raw input native filter for QT * - * - * * Authors: Teemu Korhonen * * Copyright 2021 Teemu Korhonen @@ -28,7 +26,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - #ifndef QT_WINDOWSRAWINPUTFILTER_HPP #define QT_WINDOWSRAWINPUTFILTER_HPP diff --git a/src/qt/win_cdrom_ioctl.c b/src/qt/win_cdrom_ioctl.c index 6bc2df27c..5388db8ef 100644 --- a/src/qt/win_cdrom_ioctl.c +++ b/src/qt/win_cdrom_ioctl.c @@ -8,8 +8,6 @@ * * Win32 CD-ROM support via IOCTL. * - * - * * Authors: TheCollector1995, , * Miran Grca, * @@ -39,14 +37,14 @@ #include <86box/scsi_device.h> typedef struct ioctl_t { - cdrom_t *dev; - void *log; - int is_dvd; - int has_audio; - int blocks_num; - uint8_t cur_rti[65536]; - HANDLE handle; - WCHAR path[256]; + cdrom_t *dev; + void *log; + int is_dvd; + int has_audio; + int blocks_num; + uint8_t cur_rti[65536]; + HANDLE handle; + WCHAR path[256]; } ioctl_t; typedef struct _CDROM_FULL_TOC { diff --git a/src/qt/win_dynld.c b/src/qt/win_dynld.c index e4d9d5a13..92c531b98 100644 --- a/src/qt/win_dynld.c +++ b/src/qt/win_dynld.c @@ -8,8 +8,6 @@ * * Try to load a support DLL. * - * - * * Authors: Fred N. van Kempen, * * Copyright 2017-2018 Fred N. van Kempen diff --git a/src/qt/win_opendir.c b/src/qt/win_opendir.c index 46c7eb21e..9dfe8e446 100644 --- a/src/qt/win_opendir.c +++ b/src/qt/win_opendir.c @@ -10,8 +10,6 @@ * * Based on old original code @(#)dir_win32.c 1.2.0 2007/04/19 * - * - * * Authors: Fred N. van Kempen, * * Copyright 1998-2007 MicroWalt Corporation diff --git a/src/qt/win_serial_passthrough.c b/src/qt/win_serial_passthrough.c index 87252e88d..58ebb7fcb 100644 --- a/src/qt/win_serial_passthrough.c +++ b/src/qt/win_serial_passthrough.c @@ -1,19 +1,18 @@ /* - * 86Box A hypervisor and IBM PC system emulator that specializes in - * running old operating systems and software designed for IBM - * PC systems and compatibles from 1981 through fairly recent - * system designs based on the PCI bus. + * 86Box A hypervisor and IBM PC system emulator that specializes in + * running old operating systems and software designed for IBM + * PC systems and compatibles from 1981 through fairly recent + * system designs based on the PCI bus. * - * This file is part of the 86Box distribution. + * This file is part of the 86Box distribution. * - * Definitions for platform specific serial to host passthrough + * Definitions for platform specific serial to host passthrough * + * Authors: Andreas J. Reichel , + * Jasmine Iwanek * - * Authors: Andreas J. Reichel , - * Jasmine Iwanek - * - * Copyright 2021 Andreas J. Reichel - * Copyright 2021-2025 Jasmine Iwanek + * Copyright 2021 Andreas J. Reichel + * Copyright 2021-2025 Jasmine Iwanek */ #define _XOPEN_SOURCE 500 diff --git a/src/qt/win_thread.c b/src/qt/win_thread.c index a4509892b..a21b32cbf 100644 --- a/src/qt/win_thread.c +++ b/src/qt/win_thread.c @@ -8,8 +8,6 @@ * * Implement threads and mutexes for the Win32 platform. * - * - * * Authors: Sarah Walker, * Fred N. van Kempen, * diff --git a/src/qt/wl_mouse.cpp b/src/qt/wl_mouse.cpp index 6f90bac18..a6dc7aa6d 100644 --- a/src/qt/wl_mouse.cpp +++ b/src/qt/wl_mouse.cpp @@ -8,8 +8,6 @@ * * Wayland mouse input module. * - * - * * Authors: Cacodemon345 * * Copyright 2021-2022 Cacodemon345 diff --git a/src/qt/xinput2_mouse.cpp b/src/qt/xinput2_mouse.cpp index 4d79ce66d..b901e7338 100644 --- a/src/qt/xinput2_mouse.cpp +++ b/src/qt/xinput2_mouse.cpp @@ -8,15 +8,12 @@ * * X11 Xinput2 mouse input module. * - * - * * Authors: Cacodemon345 * RichardG * * Copyright 2022 Cacodemon345. * Copyright 2023 RichardG. */ - #include #include #include diff --git a/src/qt/xkbcommon_keyboard.cpp b/src/qt/xkbcommon_keyboard.cpp index 969552229..f1a43621d 100644 --- a/src/qt/xkbcommon_keyboard.cpp +++ b/src/qt/xkbcommon_keyboard.cpp @@ -8,8 +8,6 @@ * * xkbcommon keyboard input module. * - * - * * Authors: RichardG, * * Copyright 2023 RichardG. diff --git a/src/qt/xkbcommon_keyboard.hpp b/src/qt/xkbcommon_keyboard.hpp index c3b28eeec..221a72228 100644 --- a/src/qt/xkbcommon_keyboard.hpp +++ b/src/qt/xkbcommon_keyboard.hpp @@ -8,8 +8,6 @@ * * Definitions for xkbcommon keyboard input module. * - * - * * Authors: RichardG, * * Copyright 2023 RichardG. diff --git a/src/qt/xkbcommon_wl_keyboard.cpp b/src/qt/xkbcommon_wl_keyboard.cpp index 8b7e6399a..6158476e1 100644 --- a/src/qt/xkbcommon_wl_keyboard.cpp +++ b/src/qt/xkbcommon_wl_keyboard.cpp @@ -10,8 +10,6 @@ * * Heavily inspired by libxkbcommon interactive-wayland.c * - * - * * Authors: RichardG, * * Copyright 2023 RichardG. diff --git a/src/qt/xkbcommon_wl_keyboard.hpp b/src/qt/xkbcommon_wl_keyboard.hpp index a70cb9e9b..9bd208905 100644 --- a/src/qt/xkbcommon_wl_keyboard.hpp +++ b/src/qt/xkbcommon_wl_keyboard.hpp @@ -8,8 +8,6 @@ * * Definitions for xkbcommon Wayland keyboard input module. * - * - * * Authors: RichardG, * * Copyright 2023 RichardG. diff --git a/src/qt/xkbcommon_x11_keyboard.cpp b/src/qt/xkbcommon_x11_keyboard.cpp index 8e0167518..fc39ad8a2 100644 --- a/src/qt/xkbcommon_x11_keyboard.cpp +++ b/src/qt/xkbcommon_x11_keyboard.cpp @@ -10,8 +10,6 @@ * * Heavily inspired by libxkbcommon interactive-x11.c * - * - * * Authors: RichardG, * * Copyright 2023 RichardG. diff --git a/src/qt/xkbcommon_x11_keyboard.hpp b/src/qt/xkbcommon_x11_keyboard.hpp index d8c063acb..0e4b18007 100644 --- a/src/qt/xkbcommon_x11_keyboard.hpp +++ b/src/qt/xkbcommon_x11_keyboard.hpp @@ -8,8 +8,6 @@ * * Definitions for xkbcommon-x11 keyboard input module. * - * - * * Authors: RichardG, * * Copyright 2023 RichardG.