mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
[libcalamares] Remove Typedefs.h
- This small header file contained a few unrelated typedefs. Move those typedefs to the classes they relate to. This **does** mean that some consumers need to #include something else instead. - Use type names more consistently. Editorial: why are **pages** responsible for creating the jobs?
This commit is contained in:
parent
a99eccf19d
commit
9331a25905
18 changed files with 22 additions and 71 deletions
|
@ -50,7 +50,6 @@
|
|||
#ifdef DEBUG_PARTITION_LAME
|
||||
#include "JobExample.h"
|
||||
#endif
|
||||
#include "Typedefs.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
// KPMcore
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
#include "core/KPMHelpers.h"
|
||||
#include "core/PartitionLayout.h"
|
||||
#include "core/PartitionModel.h"
|
||||
#include "Typedefs.h"
|
||||
|
||||
#include "Job.h"
|
||||
|
||||
// KPMcore
|
||||
#include <kpmcore/core/lvmdevice.h>
|
||||
|
@ -172,7 +173,7 @@ public:
|
|||
* requested by the user.
|
||||
* @return a list of jobs.
|
||||
*/
|
||||
QList< Calamares::job_ptr > jobs() const;
|
||||
Calamares::JobList jobs() const;
|
||||
|
||||
bool hasRootMountPoint() const;
|
||||
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
|
||||
#include "core/PartUtils.h"
|
||||
|
||||
#include "Typedefs.h"
|
||||
|
||||
// KPMcore
|
||||
#include <kpmcore/core/partitiontable.h>
|
||||
#include <kpmcore/fs/filesystem.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue