-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Specify location of SimConnect.cfg, option for using predefined config. * Added support for specifying config index in SimConnect.cfg
- Loading branch information
1 parent
da00377
commit 45c8fce
Showing
10 changed files
with
155 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace CTrue.FsConnect | ||
{ | ||
public enum SimConnectFileLocation | ||
{ | ||
/// <summary> | ||
/// The SimConnect.cfg file will be written to the MyDocuments location. | ||
/// </summary> | ||
MyDocuments, | ||
/// <summary> | ||
/// The SimConnect.cfg file will be written to the same location that the application was started from. | ||
/// </summary> | ||
/// <remarks> | ||
/// The application must have write access to this folder. | ||
/// </remarks> | ||
Local | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace CTrue.FsConnect | ||
{ | ||
/// <summary> | ||
/// Specifies the protocol to use to connect to Flight Simulator. | ||
/// </summary> | ||
public enum SimConnectProtocol | ||
{ | ||
/// <summary> | ||
/// Named pipes | ||
/// </summary> | ||
Pipe, | ||
|
||
/// <summary> | ||
/// TCP.IP v4 | ||
/// </summary> | ||
Ipv4, | ||
|
||
/// <summary> | ||
/// TCP.IP v6 | ||
/// </summary> | ||
Ipv6 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters