/**
* Copyrights reserved to authors of this code (available from GitHub
* repository https://github.com/Letme/give-me-coinsMonitoringApp
*
* This file is part of Give-me-coins.com Dashboard Android App
*
* Give-me-coins.com Dashboard 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 give_me_coins.dashboard;
import android.content.ComponentName;
import android.content.Context;
public class Widget_mainLargeFTC extends Widget_mainLarge{
private final int currency = 2;
@Override
GmcStickyService openServiceInstance(GetInfoWorkerCallback callback)
{
return GmcStickyService.getInstance(null, null, callback,null,null);
}
@Override
ComponentName getComponentName(Context context) {
// TODO Auto-generated method stub
return new ComponentName(context, Widget_mainLargeFTC.class);
}
@Override
GiveMeCoinsInfo getCurrentInfo(GmcStickyService para_service) {
// TODO Auto-generated method stub
if( para_service != null)
return para_service.getFTCInfo();
else
return null;
}
@Override
int getCurrency() {
// TODO Auto-generated method stub
return currency;
}
}