new structs

This commit is contained in:
HeshamTB 2018-12-08 08:41:46 +03:00
parent c2f9d4a782
commit 5136773351

View File

@ -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
of this software and associated documentation files (the "Software"), to deal
@ -46,6 +46,15 @@ namespace OWTrack
public bool TrackOW = 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()
{
if (TrackOW)
@ -123,4 +132,10 @@ namespace OWTrack
return Directory.Exists(drive+":\\Program Files");
}
}
struct Settings
{
bool TrackSR, TrackOW;
string OWpath;
}
}