1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Halofreak1990 1c277b2038 Fixed a couple of errors, removed Dictionary references from the ContentManager to get it to compile.
Now, the only thing keeping XFX from a full compile is my stupid attempt at Asynchronous IO. Will look at that, but most likely, I will comment it out and just get a new Demo out before New Year.
2010-12-27 01:01:25 +00:00

51 lines
1.7 KiB
C++

/********************************************************
* Guide.h *
* *
* XFX Guide definition file *
* Copyright © XFX Team. All Rights Reserved *
********************************************************/
#ifndef _XFX_GAMERSERVICES_GUIDE_
#define _XFX_GAMERSERVICES_GUIDE_
#include <System/Delegates.h>
#include <System/Interfaces.h>
#include <System/Types.h>
#include <Storage/StorageDevice.h>
#include "Enums.h"
using namespace System;
using namespace XFX::Storage;
namespace XFX
{
namespace GamerServices
{
/// <summary>
/// Provides access to the Guide user interface.
/// </summary>
class Guide
{
private:
static bool _isVisible;
// Private constructor to prevent instantiation
Guide();
public:
static bool IsScreenSaverEnabled();
static bool IsVisible();
static NotificationPosition_t notificationPosition;
static IAsyncResult* BeginShowKeyboardInput(PlayerIndex_t player, char* title, char* description, char* defaultText, ASyncCallback callback, Object* state);
static IAsyncResult* BeginShowStorageDeviceSelector(int sizeInBytes, int directoryCount, ASyncCallback callback, Object* state);
static IAsyncResult* BeginShowStorageDeviceSelector(ASyncCallback callback, Object* state);
static IAsyncResult* BeginShowStorageDeviceSelector(PlayerIndex_t player, int sizeInBytes, int directoryCount, ASyncCallback callback, object state);
static IAsyncResult* BeginShowStorageDeviceSelector(PlayerIndex_t player, ASyncCallback callback, Object* state);
static char* EndShowKeyboardInput(IAsyncResult* result);
static StorageDevice EndShowStorageDeviceSelector(IAsyncResult* result);
};
}
}
#endif //_XFX_GAMERSERVICES_GUIDE_