[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:
Adriaan de Groot 2019-05-07 09:51:23 -04:00
parent a99eccf19d
commit 9331a25905
18 changed files with 22 additions and 71 deletions

View file

@ -50,7 +50,6 @@
#ifdef DEBUG_PARTITION_LAME
#include "JobExample.h"
#endif
#include "Typedefs.h"
#include "utils/Logger.h"
// KPMcore

View file

@ -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;

View file

@ -22,8 +22,6 @@
#include "core/PartUtils.h"
#include "Typedefs.h"
// KPMcore
#include <kpmcore/core/partitiontable.h>
#include <kpmcore/fs/filesystem.h>