Browse Source

added second main method (change entry point in project properties)

Alexander Hendrich 10 years ago
parent
commit
a90e944268
4 changed files with 17 additions and 0 deletions
  1. 6 0
      bbiwarg.sln
  2. BIN
      bbiwarg.v11.suo
  3. 8 0
      bbiwarg/OutputTest.cs
  4. 3 0
      bbiwarg/bbiwarg.csproj

+ 6 - 0
bbiwarg.sln

@@ -3,6 +3,8 @@ Microsoft Visual Studio Solution File, Format Version 12.00
 # Visual Studio 2012
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "bbiwarg", "bbiwarg\bbiwarg.csproj", "{12271049-82D6-436D-A51E-E6614C8E9C50}"
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "bbiwargOutputTest", "bbiwargOutputTest\bbiwargOutputTest.csproj", "{81A86DAA-B131-4974-8F02-56B5005ABE90}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -13,6 +15,10 @@ Global
 		{12271049-82D6-436D-A51E-E6614C8E9C50}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{12271049-82D6-436D-A51E-E6614C8E9C50}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{12271049-82D6-436D-A51E-E6614C8E9C50}.Release|Any CPU.Build.0 = Release|Any CPU
+		{81A86DAA-B131-4974-8F02-56B5005ABE90}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{81A86DAA-B131-4974-8F02-56B5005ABE90}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{81A86DAA-B131-4974-8F02-56B5005ABE90}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{81A86DAA-B131-4974-8F02-56B5005ABE90}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE

BIN
bbiwarg.v11.suo


+ 8 - 0
bbiwarg/OutputTest.cs

@@ -8,5 +8,13 @@ namespace bbiwarg
 {
     class OutputTest
     {
+        static void Main(string[] args)
+        {
+            IVideoDataSource source = new IIsuDataSource("..\\..\\videos\\1.skv");
+
+            source.init();
+            source.start();
+
+        }
     }
 }

+ 3 - 0
bbiwarg/bbiwarg.csproj

@@ -31,6 +31,9 @@
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
+  <PropertyGroup>
+    <StartupObject>bbiwarg.OutputTest</StartupObject>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="iisuNet, Version=3.0.0.0, Culture=neutral, processorArchitecture=x86">
       <SpecificVersion>False</SpecificVersion>