Home | History | Annotate | Download | only in data
      1 /*
      2  * Copyright (C) 2010 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.gallery3d.data;
     18 
     19 import com.android.gallery3d.app.GalleryApp;
     20 import com.android.gallery3d.app.StateManager;
     21 import com.android.gallery3d.ui.GLRoot;
     22 import com.android.gallery3d.util.ThreadPool;
     23 
     24 import android.content.ContentResolver;
     25 import android.content.Context;
     26 import android.content.res.Resources;
     27 import android.os.Looper;
     28 
     29 class GalleryAppStub implements GalleryApp {
     30     public ImageCacheService getImageCacheService() { return null; }
     31     public StateManager getStateManager() { return null; }
     32     public DataManager getDataManager() { return null; }
     33     public DownloadUtils getDownloadService() { return null; }
     34     public DecodeUtils getDecodeService() { return null; }
     35 
     36     public GLRoot getGLRoot() { return null; }
     37 
     38     public Context getAndroidContext() { return null; }
     39 
     40     public Looper getMainLooper() { return null; }
     41     public Resources getResources() { return null; }
     42     public ContentResolver getContentResolver() { return null; }
     43     public ThreadPool getThreadPool() { return null; }
     44     public DownloadCache getDownloadCache() { return null; }
     45 }
     46