Include Partition.h header everywhere it's used

Lots of files which use the Partition class relied on the declaration
being included via other header files.  This is bad practice.

Add #include "Partition.h" into every file which uses the Partition
class which doesn't already include it.  Header file #include guards are
specifically to allow this.
This commit is contained in:
Mike Fleetwood 2015-11-25 14:55:19 +00:00 committed by Curtis Gedak
parent fae909897e
commit 48d898ebfd
39 changed files with 39 additions and 0 deletions

View file

@ -19,6 +19,7 @@
#define GPARTED_DIALOG_PARTITION_COPY_H
#include "../include/Dialog_Base_Partition.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -20,6 +20,7 @@
#include "../include/Dialog_Base_Partition.h"
#include "../include/Device.h"
#include "../include/Partition.h"
#include <gtkmm/optionmenu.h>

View file

@ -20,6 +20,7 @@
#define GPARTED_FILESYSTEM_H
#include "../include/Operation.h"
#include "../include/Partition.h"
#include "../include/PipeCapture.h"
#include <fstream>

View file

@ -20,6 +20,7 @@
#define GPARTED_BTRFS_H
#include "../include/FileSystem.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -20,6 +20,7 @@
#define GPARTED_EXT2_H
#include "../include/FileSystem.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -19,6 +19,7 @@
#define GPARTED_F2FS_H
#include "../include/FileSystem.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -20,6 +20,7 @@
#define GPARTED_FAT16_H
#include "../include/FileSystem.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -20,6 +20,7 @@
#define GPARTED_HFS_H
#include "../include/FileSystem.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -20,6 +20,7 @@
#define GPARTED_HFSPLUS_H
#include "../include/FileSystem.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -20,6 +20,7 @@
#define GPARTED_JFS_H
#include "../include/FileSystem.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -20,6 +20,7 @@
#define GPARTED_LINUX_SWAP_H
#include "../include/FileSystem.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -19,6 +19,7 @@
#define GPARTED_LVM2_PV_H
#include "../include/FileSystem.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -19,6 +19,7 @@
#define GPARTED_NILFS2_H
#include "../include/FileSystem.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -20,6 +20,7 @@
#define GPARTED_NTFS_H
#include "../include/FileSystem.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -20,6 +20,7 @@
#define GPARTED_REISER4_H
#include "../include/FileSystem.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -20,6 +20,7 @@
#define GPARTED_REISERFS_H
#include "../include/FileSystem.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -20,6 +20,7 @@
#define GPARTED_XFS_H
#include "../include/FileSystem.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -15,6 +15,7 @@
*/
#include "../include/DMRaid.h"
#include "../include/Partition.h"
#include <stdlib.h> //atoi function

View file

@ -15,6 +15,7 @@
*/
#include "../include/DialogManageFlags.h"
#include "../include/Partition.h"
#include <gtkmm/main.h>
#include <gtkmm/stock.h>

View file

@ -16,6 +16,7 @@
*/
#include "../include/Dialog_Base_Partition.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -15,6 +15,7 @@
*/
#include "../include/Dialog_FileSystem_Label.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -17,6 +17,7 @@
#include "../include/Dialog_Partition_Copy.h"
#include "../include/GParted_Core.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -17,6 +17,7 @@
#include "../include/Dialog_Partition_Info.h"
#include "../include/LVM2_PV_Info.h"
#include "../include/Partition.h"
#include "../include/btrfs.h"
#include <gtk/gtk.h>

View file

@ -15,6 +15,7 @@
*/
#include "../include/Dialog_Partition_Name.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -17,6 +17,7 @@
#include "../include/Dialog_Partition_New.h"
#include "../include/GParted_Core.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -18,6 +18,7 @@
#include "../include/btrfs.h"
#include "../include/GParted_Core.h"
#include "../include/Partition.h"
#include <ctype.h>

View file

@ -16,6 +16,7 @@
*/
#include "../include/ext2.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -16,6 +16,7 @@
#include "../include/f2fs.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -17,6 +17,7 @@
#include "../include/fat16.h"
#include "../include/Partition.h"
/*****
//For some reason unknown, this works without these include statements.

View file

@ -17,6 +17,7 @@
#include "../include/hfs.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -17,6 +17,7 @@
#include "../include/hfsplus.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -17,6 +17,7 @@
#include "../include/jfs.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -17,6 +17,7 @@
#include "../include/linux_swap.h"
#include "../include/Partition.h"
#include <cerrno>

View file

@ -17,6 +17,7 @@
#include "../include/LVM2_PV_Info.h"
#include "../include/lvm2_pv.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -16,6 +16,7 @@
#include "../include/nilfs2.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -17,6 +17,7 @@
#include "../include/ntfs.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -17,6 +17,7 @@
#include "../include/reiser4.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -17,6 +17,7 @@
#include "../include/reiserfs.h"
#include "../include/Partition.h"
namespace GParted
{

View file

@ -17,6 +17,7 @@
#include "../include/xfs.h"
#include "../include/Partition.h"
namespace GParted
{