[apps] Clean unnecessary AppsContainer class declarations and header inclusions

This commit is contained in:
Ruben Dashyan
2019-05-17 14:58:04 +02:00
committed by EmilieNumworks
parent 5548767809
commit 62cec10b46
28 changed files with 3 additions and 39 deletions

View File

@@ -1,5 +1,4 @@
#include "app.h"
#include "../apps_container.h"
#include "calculation_icon.h"
#include <apps/i18n.h>
#include <poincare/symbol.h>

View File

@@ -1,6 +1,5 @@
#include "edit_expression_controller.h"
#include "app.h"
#include "../apps_container.h"
#include <ion/display.h>
#include <poincare/preferences.h>
#include <assert.h>

View File

@@ -1,6 +1,5 @@
#include "history_controller.h"
#include "app.h"
#include "../apps_container.h"
#include <assert.h>
using namespace Shared;

View File

@@ -1,5 +1,4 @@
#include "app.h"
#include "../apps_container.h"
#include "code_icon.h"
#include <apps/i18n.h>
#include "helpers.h"

View File

@@ -1,5 +1,4 @@
#include "app.h"
#include "../apps_container.h"
extern "C" {
#include <assert.h>

View File

@@ -8,8 +8,6 @@
#include "battery_test_controller.h"
#include "serial_number_controller.h"
class AppsContainer;
namespace HardwareTest {
class App : public ::App {

View File

@@ -4,8 +4,6 @@
#include <escher.h>
#include "controller.h"
class AppsContainer;
namespace Home {
class App : public ::App {

View File

@@ -4,8 +4,6 @@
#include <escher.h>
#include "app_cell.h"
class AppsContainer;
namespace Home {
class Controller : public ViewController, public SimpleTableViewDataSource, public SelectableTableViewDelegate {

View File

@@ -1,6 +1,5 @@
#include "calculation_controller.h"
#include "../constant.h"
#include "../apps_container.h"
#include "../shared/poincare_helpers.h"
#include "app.h"
#include "calculation/discrete_calculation.h"

View File

@@ -1,6 +1,5 @@
#include "store.h"
#include "linear_model_helper.h"
#include "apps/apps_container.h"
#include <poincare/preferences.h>
#include <assert.h>
#include <float.h>

View File

@@ -1,7 +1,6 @@
#include "list_parameter_controller.h"
#include "list_controller.h"
#include "../app.h"
#include "../../apps_container.h"
#include "../../shared/poincare_helpers.h"
using namespace Poincare;

View File

@@ -1,10 +1,7 @@
#include "about_controller.h"
#include "../../apps_container.h"
#include <assert.h>
#include <cmath>
using namespace Shared;
namespace Settings {
AboutController::AboutController(Responder * parentResponder) :

View File

@@ -1,10 +1,8 @@
#include "generic_sub_controller.h"
#include "../../apps_container.h"
#include <assert.h>
#include <cmath>
using namespace Poincare;
using namespace Shared;
namespace Settings {

View File

@@ -1,5 +1,4 @@
#include "editable_cell_table_view_controller.h"
#include "../apps_container.h"
#include "../shared/poincare_helpers.h"
#include "../constant.h"
#include "text_field_delegate_app.h"

View File

@@ -1,7 +1,7 @@
#include "expression_field_delegate_app.h"
#include <escher.h>
#include <apps/i18n.h>
#include "../apps_container.h"
#include <poincare/expression.h>
using namespace Poincare;

View File

@@ -1,6 +1,5 @@
#include "float_parameter_controller.h"
#include "../constant.h"
#include "../apps_container.h"
#include "../shared/poincare_helpers.h"
#include "text_field_delegate_app.h"
#include <assert.h>

View File

@@ -1,5 +1,4 @@
#include "function_app.h"
#include "../apps_container.h"
using namespace Poincare;

View File

@@ -6,8 +6,6 @@
#include "curve_view_cursor.h"
#include "interval.h"
class AppsContainer;
namespace Shared {
class FunctionApp : public ExpressionFieldDelegateApp {

View File

@@ -3,8 +3,6 @@
#include <escher.h>
class AppsContainer;
namespace Shared {
class InputEventHandlerDelegateApp : public ::App, public InputEventHandlerDelegate {

View File

@@ -1,5 +1,4 @@
#include "message_controller.h"
#include "../apps_container.h"
MessageController::MessageController(I18n::Message * messages, KDColor * colors, uint8_t numberOfMessages) :
ViewController(nullptr),

View File

@@ -1,6 +1,5 @@
#include "range_parameter_controller.h"
#include "text_field_delegate_app.h"
#include "../apps_container.h"
#include <assert.h>
using namespace Poincare;
@@ -124,4 +123,3 @@ int RangeParameterController::reusableParameterCellCount(int type) {
}
}

View File

@@ -1,6 +1,5 @@
#include "sum_graph_controller.h"
#include "function_app.h"
#include "../apps_container.h"
#include <poincare/empty_layout.h>
#include <poincare/condensed_sum_layout.h>
#include <poincare/layout_helper.h>

View File

@@ -6,8 +6,6 @@
#include "input_event_handler_delegate_app.h"
#include <apps/i18n.h>
class AppsContainer;
namespace Shared {
class TextFieldDelegateApp : public InputEventHandlerDelegateApp, public TextFieldDelegate {

View File

@@ -1,7 +1,6 @@
#include "values_controller.h"
#include "function_app.h"
#include "../constant.h"
#include "../apps_container.h"
#include "poincare_helpers.h"
#include <assert.h>
@@ -342,4 +341,3 @@ FunctionStore * ValuesController::functionStore() const {
}
}

View File

@@ -1,7 +1,6 @@
#include "box_controller.h"
#include "app.h"
#include "../shared/poincare_helpers.h"
#include "../apps_container.h"
using namespace Poincare;
using namespace Shared;

View File

@@ -1,5 +1,5 @@
#include "calculation_controller.h"
#include "../apps_container.h"
#include <apps/i18n.h>
#include "../shared/poincare_helpers.h"
#include <assert.h>

View File

@@ -1,5 +1,4 @@
#include "histogram_controller.h"
#include "../apps_container.h"
#include "../shared/poincare_helpers.h"
#include "../shared/text_helpers.h"
#include "app.h"

View File

@@ -1,5 +1,5 @@
#include "app.h"
#include "../apps_container.h"
#include <apps/i18n.h>
#include <assert.h>
namespace USB {