Line | Branch | Exec | Source |
---|---|---|---|
1 | /* | ||
2 | * Copyright (c) 2023 Mario Limonciello <superm1@gmail.com> | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify it | ||
5 | * under the terms of the GNU General Public License version 3 as published by | ||
6 | * the Free Software Foundation. | ||
7 | * | ||
8 | */ | ||
9 | |||
10 | #pragma once | ||
11 | |||
12 | #include "ppd-driver.h" | ||
13 | |||
14 | #define PPD_TYPE_DRIVER_PLATFORM (ppd_driver_platform_get_type ()) | ||
15 |
4/6✓ Branch 1 taken 756 times.
✓ Branch 2 taken 486 times.
✓ Branch 3 taken 756 times.
✗ Branch 4 not taken.
✓ Branch 5 taken 756 times.
✗ Branch 6 not taken.
|
1242 | G_DECLARE_DERIVABLE_TYPE (PpdDriverPlatform, ppd_driver_platform, PPD, DRIVER_PLATFORM, PpdDriver) |
16 | |||
17 | /** | ||
18 | * PpdDriverPlatformClass: | ||
19 | * @parent_class: The parent class. | ||
20 | * | ||
21 | * New Platform drivers should derive from #PpdDriverPlatform and implement | ||
22 | * at least one of @probe () and @activate_profile. | ||
23 | */ | ||
24 | struct _PpdDriverPlatformClass | ||
25 | { | ||
26 | PpdDriverClass parent_class; | ||
27 | }; | ||
28 |