new structs
This commit is contained in:
parent
c2f9d4a782
commit
5136773351
@ -1,4 +1,4 @@
|
|||||||
/*Copyright(c) 2018 Hesham Systems LLC.
|
/*Copyright(c) 2018 Hesham Systems LLC.
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@ -46,6 +46,15 @@ namespace OWTrack
|
|||||||
public bool TrackOW = true;
|
public bool TrackOW = true;
|
||||||
public bool TrackSR = true;
|
public bool TrackSR = true;
|
||||||
|
|
||||||
|
struct ProgramFiles
|
||||||
|
{
|
||||||
|
public static readonly string C = "C:\\Program Files";
|
||||||
|
public static readonly string D = "D:\\Program Files";
|
||||||
|
public static readonly string E = "E:\\Program Files";
|
||||||
|
public static readonly string F = "F:\\Program Files";
|
||||||
|
public static readonly string G = "G:\\Program Files";
|
||||||
|
}
|
||||||
|
|
||||||
public bool owRunning()
|
public bool owRunning()
|
||||||
{
|
{
|
||||||
if (TrackOW)
|
if (TrackOW)
|
||||||
@ -123,4 +132,10 @@ namespace OWTrack
|
|||||||
return Directory.Exists(drive+":\\Program Files");
|
return Directory.Exists(drive+":\\Program Files");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct Settings
|
||||||
|
{
|
||||||
|
bool TrackSR, TrackOW;
|
||||||
|
string OWpath;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user