Home | History | Annotate | Download | only in basecomponent
      1 /*
      2  * Copyright (C) 2017 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License
     15  */
     16 
     17 package com.android.dialer.binary.basecomponent;
     18 
     19 import com.android.dialer.calllog.CallLogComponent;
     20 import com.android.dialer.calllog.database.CallLogDatabaseComponent;
     21 import com.android.dialer.common.concurrent.DialerExecutorComponent;
     22 import com.android.dialer.configprovider.ConfigProviderComponent;
     23 import com.android.dialer.enrichedcall.EnrichedCallComponent;
     24 import com.android.dialer.lightbringer.LightbringerComponent;
     25 import com.android.dialer.main.MainComponent;
     26 import com.android.dialer.simulator.SimulatorComponent;
     27 import com.android.incallui.calllocation.CallLocationComponent;
     28 import com.android.incallui.maps.MapsComponent;
     29 import com.android.voicemail.VoicemailComponent;
     30 
     31 /**
     32  * Base class for the core application-wide component. All variants of the Dialer app should extend
     33  * from this component.
     34  */
     35 public interface BaseDialerRootComponent
     36     extends CallLocationComponent.HasComponent,
     37         CallLogComponent.HasComponent,
     38         CallLogDatabaseComponent.HasComponent,
     39         ConfigProviderComponent.HasComponent,
     40         DialerExecutorComponent.HasComponent,
     41         MainComponent.HasComponent,
     42         EnrichedCallComponent.HasComponent,
     43         MapsComponent.HasComponent,
     44         SimulatorComponent.HasComponent,
     45         VoicemailComponent.HasComponent,
     46         LightbringerComponent.HasComponent {}
     47