Skip to content

Commit 5860401

Browse files
author
Haroon Khan
committed
Add Automation interfaces
1 parent d36787a commit 5860401

File tree

14 files changed

+199
-0
lines changed

14 files changed

+199
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using System;
2+
namespace Sln2NMake.VisualStudioAutomation.Interfaces
3+
{
4+
public interface IDTE
5+
{
6+
void Quit();
7+
ISolution Solution { get; }
8+
string Version { get; }
9+
}
10+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
using System;
2+
namespace Sln2NMake.VisualStudioAutomation.Interfaces
3+
{
4+
public interface IDTEFactory
5+
{
6+
IDTE CreateDTE();
7+
}
8+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using System;
2+
using System.Collections.Generic;
3+
namespace Sln2NMake.VisualStudioAutomation.Interfaces
4+
{
5+
public interface IProject
6+
{
7+
string FullName { get; }
8+
string Kind { get; }
9+
string Name { get; }
10+
IEnumerable<IProjectItem> ProjectItems { get; }
11+
}
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using System;
2+
using System.Collections.Generic;
3+
namespace Sln2NMake.VisualStudioAutomation.Interfaces
4+
{
5+
public interface IProjectItem
6+
{
7+
string Kind { get; }
8+
string Name { get; }
9+
IEnumerable<IProjectItem> ProjectItems { get; }
10+
IProject SubProject { get; }
11+
}
12+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using System;
2+
namespace Sln2NMake.VisualStudioAutomation.Interfaces
3+
{
4+
public interface ISolution
5+
{
6+
void Close();
7+
void Open(string solutionPath);
8+
System.Collections.Generic.IEnumerable<IProject> Projects { get; }
9+
}
10+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
6+
namespace Sln2NMake.VisualStudioAutomation.Interfaces
7+
{
8+
public interface IVCConfiguration
9+
{
10+
11+
}
12+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
6+
namespace Sln2NMake.VisualStudioAutomation.Interfaces
7+
{
8+
public interface IVCFile
9+
{
10+
string FullPath { get; }
11+
IEnumerable<IVCFileConfiguration> FileConfigurations { get; }
12+
}
13+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
6+
namespace Sln2NMake.VisualStudioAutomation.Interfaces
7+
{
8+
public interface IVCFileConfiguration
9+
{
10+
IVCTool Tool { get; }
11+
bool ExcludedFromBuild { get; }
12+
string Name { get; }
13+
IVCConfiguration ProjectConfiguration { get; }
14+
}
15+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
6+
namespace Sln2NMake.VisualStudioAutomation.Interfaces
7+
{
8+
public interface IVCRuntimeProperty
9+
{
10+
string Name { get; }
11+
string Value { get; }
12+
}
13+
}

0 commit comments

Comments
 (0)