From 5136773351d3ed2c20399f00b9c2c9eb6a250d38 Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Sat, 8 Dec 2018 08:41:46 +0300 Subject: [PATCH] new structs --- OWTrack/Tracker.cs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/OWTrack/Tracker.cs b/OWTrack/Tracker.cs index 3ade965..5152479 100644 --- a/OWTrack/Tracker.cs +++ b/OWTrack/Tracker.cs @@ -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; + } }