Cloud save: more stubs, using Biniax as a sample app
This commit is contained in:
@@ -29,7 +29,8 @@ public class CloudSave implements GameHelper.GameHelperListener {
|
||||
|
||||
MainActivity parent;
|
||||
|
||||
/** Constructs a BaseGameActivity with default client (GamesClient). */
|
||||
// ===== Public API =====
|
||||
|
||||
public CloudSave(MainActivity p)
|
||||
{
|
||||
Log.i("SDL", "CloudSave: initializing");
|
||||
@@ -51,6 +52,32 @@ public class CloudSave implements GameHelper.GameHelperListener {
|
||||
mHelper.onStop();
|
||||
}
|
||||
|
||||
public boolean save(String filename, String description, String imageFile)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean load (String filename)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public class loadDialogResult
|
||||
{
|
||||
public boolean status = false;
|
||||
public String filename = "";
|
||||
}
|
||||
|
||||
public loadDialogResult loadDialog(String filename, String dialogTitle)
|
||||
{
|
||||
loadDialogResult res = new loadDialogResult();
|
||||
res.status = false;
|
||||
res.filename = "";
|
||||
return res;
|
||||
}
|
||||
|
||||
// ===== Private API =====
|
||||
|
||||
public void onActivityResult(int request, int response, Intent data) {
|
||||
mHelper.onActivityResult(request, response, data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user