package com.gh.gamecenter.energy.provider

import android.content.Context
import com.alibaba.android.arouter.facade.annotation.Route
import com.gh.gamecenter.common.constant.RouteConsts
import com.gh.gamecenter.core.provider.IConfigProvider
import com.gh.gamecenter.energy.BuildConfig

@Route(path = RouteConsts.provider.config, name = "Config暴露服务")
class ConfigProviderImpl : IConfigProvider {
    override fun getTencentAppId(): String {
        return BuildConfig.TENCENT_APPID
    }

    override fun getWechatAppId(): String {
        return BuildConfig.WECHAT_APPID
    }

    override fun getWechatSecret(): String {
        return BuildConfig.WECHAT_SECRET
    }

    override fun getUploadLimitSize(): Long {
        return 0L
    }

    override fun getSize(): Int {
        return 0
    }

    override fun getRatio(): Int {
        return 0
    }

    override fun getQuality(): Int {
        return 0
    }

    override fun getGif(): String {
        return ""
    }

    override fun getJpeg(): String? {
        return null
    }

    override fun getWebp(): String {
        return ""
    }

    override fun getGitThumb(): String {
        return ""
    }

    override fun getGifWaterMark(): String {
        return ""
    }

    override fun getQQ(): String {
        return ""
    }

    override fun getQuickLoginAppId(): String {
        return BuildConfig.QUICK_LOGIN_APPID
    }

    override fun getQuickLoginAppKey(): String {
        return BuildConfig.QUICK_LOGIN_APPKEY
    }

    override fun getWeiboAppKey(): String {
        return BuildConfig.WEIBO_APPKEY
    }

    override fun getNightModeSetting(): Boolean {
        return false
    }

    override fun init(context: Context?) {
        // Do nothing
    }
}