/** * Wire * Copyright (C) 2016 Wire Swiss GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package com.waz.zclient.controllers; import android.app.Activity; import android.view.View; import com.waz.zclient.controllers.accentcolor.IAccentColorController; import com.waz.zclient.controllers.background.IBackgroundController; import com.waz.zclient.controllers.background.IDialogBackgroundImageController; import com.waz.zclient.controllers.calling.ICallingController; import com.waz.zclient.controllers.camera.ICameraController; import com.waz.zclient.controllers.confirmation.IConfirmationController; import com.waz.zclient.controllers.conversationlist.IConversationListController; import com.waz.zclient.controllers.currentfocus.IFocusController; import com.waz.zclient.controllers.deviceuser.IDeviceUserController; import com.waz.zclient.controllers.drawing.IDrawingController; import com.waz.zclient.controllers.giphy.IGiphyController; import com.waz.zclient.controllers.globallayout.IGlobalLayoutController; import com.waz.zclient.controllers.loadtimelogger.ILoadTimeLoggerController; import com.waz.zclient.controllers.location.ILocationController; import com.waz.zclient.controllers.mentioning.IMentioningController; import com.waz.zclient.controllers.navigation.INavigationController; import com.waz.zclient.controllers.onboarding.IOnboardingController; import com.waz.zclient.controllers.orientation.IOrientationController; import com.waz.zclient.controllers.password.IPasswordController; import com.waz.zclient.controllers.permission.IRequestPermissionsController; import com.waz.zclient.controllers.sharing.ISharingController; import com.waz.zclient.controllers.singleimage.ISingleImageController; import com.waz.zclient.controllers.theme.IThemeController; import com.waz.zclient.controllers.usernames.IUsernamesController; import com.waz.zclient.controllers.userpreferences.IUserPreferencesController; import com.waz.zclient.controllers.verification.IVerificationController; import com.waz.zclient.controllers.vibrator.IVibratorController; import com.waz.zclient.pages.main.conversation.controller.IConversationScreenController; import com.waz.zclient.pages.main.conversationpager.controller.ISlidingPaneController; import com.waz.zclient.pages.main.pickuser.controller.IPickUserController; public interface IControllerFactory { IGlobalLayoutController getGlobalLayoutController(); IConfirmationController getConfirmationController(); ISharingController getSharingController(); INavigationController getNavigationController(); IOrientationController getOrientationController(); IFocusController getFocusController(); IGiphyController getGiphyController(); IPickUserController getPickUserController(); boolean isTornDown(); IMentioningController getMentioningController(); ISingleImageController getSingleImageController(); IVerificationController getVerificationController(); ILoadTimeLoggerController getLoadTimeLoggerController(); IRequestPermissionsController getRequestPermissionsController(); IConversationScreenController getConversationScreenController(); IBackgroundController getBackgroundController(); ILocationController getLocationController(); IThemeController getThemeController(); IUserPreferencesController getUserPreferencesController(); void setGlobalLayout(View globalLayoutView); IPasswordController getPasswordController(); ISlidingPaneController getSlidingPaneController(); IDialogBackgroundImageController getDialogBackgroundImageController(); IAccentColorController getAccentColorController(); ICallingController getCallingController(); void setActivity(Activity activity); IDeviceUserController getDeviceUserController(); IConversationListController getConversationListController(); void tearDown(); IOnboardingController getOnboardingController(); ICameraController getCameraController(); IDrawingController getDrawingController(); IVibratorController getVibratorController(); IUsernamesController getUsernameController(); }