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
|
|
|
|
|
{
|
2012-03-29 22:02:43 +00:00
|
|
|
|
// Provides access to the Guide user interface.
|
2010-12-04 16:14:34 +00:00
|
|
|
|
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
|
|
|
|
|
2012-09-28 20:36:02 +00:00
|
|
|
|
static IAsyncResult* BeginShowKeyboardInput(const PlayerIndex_t player, String& title, String& description, String& defaultText, AsyncCallback callback, Object* state);
|
|
|
|
|
static IAsyncResult* BeginShowMessageBox(const PlayerIndex_t player, String& title, String& text, IEnumerable<String>* buttons, const int focusButton, const 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);
|
2012-09-28 20:36:02 +00:00
|
|
|
|
static IAsyncResult* BeginShowStorageDeviceSelector(const PlayerIndex_t player, const int sizeInBytes, const int directoryCount, AsyncCallback callback, Object* state);
|
|
|
|
|
static IAsyncResult* BeginShowStorageDeviceSelector(const PlayerIndex_t player, AsyncCallback callback, Object* state);
|
|
|
|
|
static void DelayNotifications(const TimeSpan timespan);
|
|
|
|
|
static const 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_
|