////*****************************************************************************
//// This file is part of CheckIn4Me. Copyright � 2010 David Ivins
////
//// CheckIn4Me 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.
////
//// CheckIn4Me 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 CheckIn4Me. If not, see <http://www.gnu.org/licenses/>.
////*****************************************************************************
//package com.davidivins.checkin4me.brightkite;
//
//import java.io.InputStream;
//import java.util.Properties;
//
//import com.davidivins.checkin4me.core.GeneratedResources;
//import com.davidivins.checkin4me.interfaces.APIInterface;
//import com.davidivins.checkin4me.interfaces.ServiceInterface;
//import com.davidivins.checkin4me.oauth.OAuthConnector;
//
//import android.content.SharedPreferences;
//import android.content.res.Resources;
//import android.util.Log;
//
///**
// * BrightkiteService
// *
// * @author david ivins
// */
//public class BrightkiteService implements ServiceInterface
//{
// private static final String TAG = BrightkiteService.class.getSimpleName();
// private Properties config;
// private int service_id;
//
// /**
// * BrightkiteService
// *
// * @param resources
// */
// public BrightkiteService(int service_id, SharedPreferences persistent_storage, Resources resources)
// {
// this.service_id = service_id;
// config = new Properties();
//
// try
// {
// InputStream config_file = resources.openRawResource(GeneratedResources.getRaw("brightkite"));
// config.load(config_file);
// }
// catch (Exception e)
// {
// Log.e(TAG, "Failed to open config file");
// }
// }
//
// /**
// * getId
// *
// * @return int id
// */
// public int getId()
// {
// return service_id;
// }
//
// /**
// * getName
// *
// * @return String
// */
// public String getName()
// {
// return "Brightkite";
// }
//
// /**
// * getLogoDrawable
// *
// * @return int
// */
// public int getLogoDrawable()
// {
// return GeneratedResources.getDrawable("brightkite_logo_resized");
// }
//
// /**
// * getIconDrawable
// *
// * @return int
// */
// public int getIconDrawable()
// {
// return GeneratedResources.getDrawable("brightkite25x25");
// }
//
// /**
// * getOAuthConnector
// *
// * @return null
// */
// public OAuthConnector getOAuthConnector()
// {
// // brightkite doesn't work yet
// return null;
// }
//
// /**
// * getAPIInterface
// *
// * @return APIInterface
// */
// public APIInterface getAPIInterface()
// {
// // brightkite doesn't work yet
// return null;
// }
//
// /**
// * connected
// *
// * @param SharedPreferences
// * @return boolean
// */
// public boolean connected()
// {
// return false;
// }
//
// /**
// * hasSettings
// */
// public boolean hasSettings()
// {
// return false;
// }
//}