backend: don't be inheritable explictly
This commit is contained in:
parent
91925b8827
commit
d5ec6472fd
|
@ -20,8 +20,6 @@ using System.IO;
|
||||||
|
|
||||||
namespace SparkleLib {
|
namespace SparkleLib {
|
||||||
|
|
||||||
// An inheritable class that contains information
|
|
||||||
// about a backend
|
|
||||||
public class SparkleBackend {
|
public class SparkleBackend {
|
||||||
|
|
||||||
public static SparkleBackend DefaultBackend;
|
public static SparkleBackend DefaultBackend;
|
||||||
|
@ -43,14 +41,14 @@ namespace SparkleLib {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
virtual public bool IsPresent {
|
public bool IsPresent {
|
||||||
get {
|
get {
|
||||||
return (Path != null);
|
return (Path != null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
virtual public bool IsUsablePath (string path)
|
public bool IsUsablePath (string path)
|
||||||
{
|
{
|
||||||
return (path.Length > 0);
|
return (path.Length > 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue