Tracker Settings: Re-factor includes
* Remove includes from header and use bare class definitions instead * Add the includes from the header to the cpp file * Remove Alert.h include from cpp file, not used. * Remove TextControl.h include from header, not used. * Add Point.h include to cpp file, we do use that. * Reorder includes according to style guidelines
This commit is contained in:
parent
64c6122863
commit
62bcb75c72
@ -32,26 +32,29 @@ names are registered trademarks or trademarks of their respective holders.
|
||||
All rights reserved.
|
||||
*/
|
||||
|
||||
#include <Alert.h>
|
||||
|
||||
#include "Commands.h"
|
||||
#include "DeskWindow.h"
|
||||
#include "Model.h"
|
||||
#include "SettingsViews.h"
|
||||
#include "Tracker.h"
|
||||
#include "WidgetAttributeText.h"
|
||||
|
||||
#include <Box.h>
|
||||
#include <Button.h>
|
||||
#include <Catalog.h>
|
||||
#include <CheckBox.h>
|
||||
#include <ColorControl.h>
|
||||
#include <ControlLook.h>
|
||||
#include <LayoutBuilder.h>
|
||||
#include <Locale.h>
|
||||
#include <MenuField.h>
|
||||
#include <ColorControl.h>
|
||||
#include <NodeMonitor.h>
|
||||
#include <Point.h>
|
||||
#include <RadioButton.h>
|
||||
#include <StringView.h>
|
||||
|
||||
#include "Commands.h"
|
||||
#include "DeskWindow.h"
|
||||
#include "Model.h"
|
||||
#include "Tracker.h"
|
||||
#include "WidgetAttributeText.h"
|
||||
|
||||
|
||||
static const uint32 kSpaceBarSwitchColor = 'SBsc';
|
||||
static const float kItemExtraSpacing = 2.0f;
|
||||
|
@ -35,19 +35,19 @@ All rights reserved.
|
||||
#define _SETTINGS_VIEWS
|
||||
|
||||
|
||||
#include <CheckBox.h>
|
||||
#include <GroupView.h>
|
||||
#include <RadioButton.h>
|
||||
#include <TextControl.h>
|
||||
#include <ColorControl.h>
|
||||
|
||||
#include "TrackerSettings.h"
|
||||
|
||||
|
||||
const uint32 kSettingsContentsModified = 'Scmo';
|
||||
|
||||
|
||||
class BButton;
|
||||
class BCheckBox;
|
||||
class BColorControl;
|
||||
class BMenuField;
|
||||
class BRadioButton;
|
||||
class BStringView;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user