mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-26 21:42:11 +00:00
18 lines
488 B
C#
18 lines
488 B
C#
using System;
|
|
|
|
namespace Cosmos.HAL
|
|
{
|
|
public abstract class SATA {
|
|
public abstract string GetSomething();
|
|
|
|
// In final impl, this would be done better with a real registration list etc.
|
|
static public Type mSataHalType;
|
|
static public SATA New() {
|
|
return (SATA)Activator.CreateInstance(mSataHalType);
|
|
}
|
|
|
|
public string GetSomethingNonPlatform() {
|
|
return GetSomething() + " from Platform.SATA";
|
|
}
|
|
}
|
|
}
|