2010-12-04 16:14:34 +00:00
|
|
|
|
/********************************************************
|
2010-12-27 01:01:25 +00:00
|
|
|
|
* Guide.h *
|
2010-12-04 16:14:34 +00:00
|
|
|
|
* *
|
2010-12-27 01:01:25 +00:00
|
|
|
|
* XFX Guide definition file *
|
2010-12-04 16:14:34 +00:00
|
|
|
|
* Copyright <EFBFBD> XFX Team. All Rights Reserved *
|
|
|
|
|
********************************************************/
|
2010-12-27 01:01:25 +00:00
|
|
|
|
#ifndef _XFX_GAMERSERVICES_GUIDE_
|
|
|
|
|
#define _XFX_GAMERSERVICES_GUIDE_
|
|
|
|
|
|
2011-06-09 12:57:16 +00:00
|
|
|
|
#include <System/Collections/Generic/Interfaces.h>
|
2010-12-27 01:01:25 +00:00
|
|
|
|
#include <System/Delegates.h>
|
|
|
|
|
#include <System/Interfaces.h>
|
2011-06-09 12:57:16 +00:00
|
|
|
|
#include <System/TimeSpan.h>
|
2010-12-27 01:01:25 +00:00
|
|
|
|
#include <System/Types.h>
|
2010-12-04 16:14:34 +00:00
|
|
|
|
#include <Storage/StorageDevice.h>
|
2010-12-27 01:01:25 +00:00
|
|
|
|
#include "Enums.h"
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
|
|
|
|
using namespace System;
|
2011-06-09 12:57:16 +00:00
|
|
|
|
using namespace System::Collections::Generic;
|
2010-12-04 16:14:34 +00:00
|
|
|
|
using namespace XFX::Storage;
|
|
|
|
|
|
|
|
|
|
namespace XFX
|
|
|
|
|
{
|
|
|
|
|
namespace GamerServices
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Provides access to the Guide user interface.
|
|
|
|
|
/// </summary>
|
|
|
|
|
class Guide
|
|
|
|
|
{
|
|
|
|
|
private:
|
2010-12-27 01:01:25 +00:00
|
|
|
|
static bool _isVisible;
|
|
|
|
|
|
|
|
|
|
// Private constructor to prevent instantiation
|
|
|
|
|
Guide();
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
|
|
|
|
public:
|
2011-06-09 12:57:16 +00:00
|
|
|
|
static bool IsScreenSaverEnabled;
|
2010-12-27 01:01:25 +00:00
|
|
|
|
static bool IsVisible();
|
2011-06-09 12:57:16 +00:00
|
|
|
|
static NotificationPosition_t NotificationPosition;
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
2011-03-10 22:55:43 +00:00
|
|
|
|
static IAsyncResult* BeginShowKeyboardInput(PlayerIndex_t player, char* title, char* description, char* defaultText, AsyncCallback callback, Object* state);
|
2011-06-09 12:57:16 +00:00
|
|
|
|
static IAsyncResult* BeginShowMessageBox(PlayerIndex_t player, char* title, char* text, IEnumerable<char*>* buttons, int focusButton, MessageBoxIcon_t icon, AsyncCallback callback, Object* state);
|
2011-03-10 22:55:43 +00:00
|
|
|
|
static IAsyncResult* BeginShowStorageDeviceSelector(int sizeInBytes, int directoryCount, AsyncCallback callback, Object* state);
|
|
|
|
|
static IAsyncResult* BeginShowStorageDeviceSelector(AsyncCallback callback, Object* state);
|
2011-05-02 17:33:24 +00:00
|
|
|
|
static IAsyncResult* BeginShowStorageDeviceSelector(PlayerIndex_t player, int sizeInBytes, int directoryCount, AsyncCallback callback, Object* state);
|
2011-03-10 22:55:43 +00:00
|
|
|
|
static IAsyncResult* BeginShowStorageDeviceSelector(PlayerIndex_t player, AsyncCallback callback, Object* state);
|
2011-06-09 12:57:16 +00:00
|
|
|
|
static void DelayNotifications(TimeSpan timespan);
|
2010-12-27 01:01:25 +00:00
|
|
|
|
static char* EndShowKeyboardInput(IAsyncResult* result);
|
2011-06-09 12:57:16 +00:00
|
|
|
|
static int EndShowMessageBox(IAsyncResult* result);
|
2010-12-27 01:01:25 +00:00
|
|
|
|
static StorageDevice EndShowStorageDeviceSelector(IAsyncResult* result);
|
2010-12-04 16:14:34 +00:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2010-12-27 01:01:25 +00:00
|
|
|
|
#endif //_XFX_GAMERSERVICES_GUIDE_
|