//----------------------------------------------------------------------------
//
// Copyright © 2009-2010, Intel Corporation. All rights reserved.
//
// File: IUserConsentFlow.cs
//
//----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
namespace UCT
{
public interface IUserConsentFlow
{
#region - User Consent Flow -
///
/// Indicaes if user consent is required for any operation
///
///
bool CheckIfConsentIsRequired();
///
/// Indicate if user consent was already obtain
///
///
bool CheckIfConsentAlreadyObtain();
///
/// Check if system power state is in Sx - if so reboot the system
///
///
void PerformSxFlow();
///
/// Start the user consent flow
///
///
bool StartUserConsentProcess();
///
/// Detecting if sprite is supported
///
void DetectingIfSpriteIsSupported();
///
/// If system interface is wireless perform wireless flow.
///
void ExecuteWirelessFlow();
///
/// If sprite is not supported and interface is wired - perform the regular non sprite flow
///
void ExecuteNonSpriteFlow();
///
/// Execute full user consent flow
///
void RunFullFlow();
#endregion
#region - Help Methods -
bool PerformGracefulShutdown();
bool PerformAMTShutDown(PowerState pState);
#endregion
}
}