|
|
|
@ -23,19 +23,9 @@ import org.isoron.uhabits.commands.*;
|
|
|
|
|
import org.isoron.uhabits.intents.*;
|
|
|
|
|
import org.isoron.uhabits.io.*;
|
|
|
|
|
import org.isoron.uhabits.models.*;
|
|
|
|
|
import org.isoron.uhabits.receivers.*;
|
|
|
|
|
import org.isoron.uhabits.tasks.*;
|
|
|
|
|
import org.isoron.uhabits.ui.*;
|
|
|
|
|
import org.isoron.uhabits.ui.common.dialogs.*;
|
|
|
|
|
import org.isoron.uhabits.ui.habits.edit.*;
|
|
|
|
|
import org.isoron.uhabits.ui.habits.list.*;
|
|
|
|
|
import org.isoron.uhabits.ui.habits.list.controllers.*;
|
|
|
|
|
import org.isoron.uhabits.ui.habits.list.model.*;
|
|
|
|
|
import org.isoron.uhabits.ui.habits.list.views.*;
|
|
|
|
|
import org.isoron.uhabits.ui.habits.show.*;
|
|
|
|
|
import org.isoron.uhabits.ui.widgets.*;
|
|
|
|
|
import org.isoron.uhabits.utils.*;
|
|
|
|
|
import org.isoron.uhabits.widgets.*;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Base component for dependency injection.
|
|
|
|
@ -44,81 +34,27 @@ public interface BaseComponent
|
|
|
|
|
{
|
|
|
|
|
CommandRunner getCommandRunner();
|
|
|
|
|
|
|
|
|
|
HabitList getHabitList();
|
|
|
|
|
|
|
|
|
|
IntentFactory getIntentFactory();
|
|
|
|
|
|
|
|
|
|
ReminderScheduler getReminderScheduler();
|
|
|
|
|
|
|
|
|
|
TaskRunner getTaskRunner();
|
|
|
|
|
|
|
|
|
|
void inject(CheckmarkButtonController checkmarkButtonController);
|
|
|
|
|
|
|
|
|
|
void inject(ListHabitsController listHabitsController);
|
|
|
|
|
|
|
|
|
|
void inject(CheckmarkPanelView checkmarkPanelView);
|
|
|
|
|
|
|
|
|
|
void inject(WidgetReceiver widgetReceiver);
|
|
|
|
|
|
|
|
|
|
void inject(ListHabitsSelectionMenu listHabitsSelectionMenu);
|
|
|
|
|
|
|
|
|
|
void inject(HintList hintList);
|
|
|
|
|
|
|
|
|
|
void inject(HabitCardListAdapter habitCardListAdapter);
|
|
|
|
|
|
|
|
|
|
void inject(ArchiveHabitsCommand archiveHabitsCommand);
|
|
|
|
|
|
|
|
|
|
void inject(ChangeHabitColorCommand changeHabitColorCommand);
|
|
|
|
|
|
|
|
|
|
void inject(UnarchiveHabitsCommand unarchiveHabitsCommand);
|
|
|
|
|
|
|
|
|
|
void inject(EditHabitCommand editHabitCommand);
|
|
|
|
|
DialogFactory getDialogFactory();
|
|
|
|
|
|
|
|
|
|
void inject(CreateHabitCommand createHabitCommand);
|
|
|
|
|
DirFinder getDirFinder();
|
|
|
|
|
|
|
|
|
|
void inject(HabitPickerDialog habitPickerDialog);
|
|
|
|
|
|
|
|
|
|
void inject(BaseWidgetProvider baseWidgetProvider);
|
|
|
|
|
|
|
|
|
|
void inject(ShowHabitActivity showHabitActivity);
|
|
|
|
|
|
|
|
|
|
void inject(DeleteHabitsCommand deleteHabitsCommand);
|
|
|
|
|
|
|
|
|
|
void inject(ListHabitsActivity listHabitsActivity);
|
|
|
|
|
|
|
|
|
|
void inject(BaseSystem baseSystem);
|
|
|
|
|
|
|
|
|
|
void inject(HabitsApplication application);
|
|
|
|
|
|
|
|
|
|
void inject(Habit habit);
|
|
|
|
|
|
|
|
|
|
void inject(AbstractImporter abstractImporter);
|
|
|
|
|
|
|
|
|
|
void inject(HabitsCSVExporter habitsCSVExporter);
|
|
|
|
|
|
|
|
|
|
void inject(BaseDialog baseDialog);
|
|
|
|
|
|
|
|
|
|
void inject(ShowHabitController showHabitController);
|
|
|
|
|
|
|
|
|
|
void inject(BaseWidget baseWidget);
|
|
|
|
|
|
|
|
|
|
void inject(WidgetUpdater widgetManager);
|
|
|
|
|
HabitList getHabitList();
|
|
|
|
|
|
|
|
|
|
void inject(ListHabitsMenu listHabitsMenu);
|
|
|
|
|
HabitLogger getHabitLogger();
|
|
|
|
|
|
|
|
|
|
void inject(PebbleReceiver receiver);
|
|
|
|
|
IntentFactory getIntentFactory();
|
|
|
|
|
|
|
|
|
|
void inject(HeaderView headerView);
|
|
|
|
|
IntentScheduler getIntentScheduler();
|
|
|
|
|
|
|
|
|
|
void inject(ReceiverActions receiverActions);
|
|
|
|
|
ModelFactory getModelFactory();
|
|
|
|
|
|
|
|
|
|
void inject(ReminderScheduler reminderScheduler);
|
|
|
|
|
PendingIntentFactory getPendingIntentFactory();
|
|
|
|
|
|
|
|
|
|
void inject(ListHabitsScreen listHabitsScreen);
|
|
|
|
|
Preferences getPreferences();
|
|
|
|
|
|
|
|
|
|
void inject(ShowHabitScreen showHabitScreen);
|
|
|
|
|
ReminderScheduler getReminderScheduler();
|
|
|
|
|
|
|
|
|
|
void inject(ConfirmDeleteDialog confirmDeleteDialog);
|
|
|
|
|
TaskRunner getTaskRunner();
|
|
|
|
|
|
|
|
|
|
void inject(PendingIntentFactory pendingIntentFactory);
|
|
|
|
|
WidgetPreferences getWidgetPreferences();
|
|
|
|
|
}
|
|
|
|
|