This commit is contained in:
BlubbFish 2011-01-27 17:39:32 +00:00
parent 7489be3b79
commit f72d0b01cd
6 changed files with 189 additions and 0 deletions

View File

@ -0,0 +1,75 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Virtuoso.Miranda.Plugins;
using Miranda;
using Virtuoso.Miranda.Plugins.Collections;
[assembly: ExposingPluginAttribute(typeof(AutoConnect))]
namespace Miranda
{
public class AutoConnect : MirandaPlugin
{
#region -= [ Plugin Info ]=-
public override Version Version
{
get { return new Version(0, 0, 0, 1); }
}
public override string Name
{
get { return "AutoConnect"; }
}
public override string Author
{
get { return "BlubbFish"; }
}
public override string Description
{
get { return "Plugin to Reconnect Miranda"; }
}
public override bool HasOptions
{
get { return true; }
}
public override Uri HomePage
{
get { return new Uri("http://www.blubbfish.net/miranda/autoconnect"); }
}
#endregion
public AutoConnect()
{
}
protected override void AfterPluginInitialization()
{
base.AfterPluginInitialization();
}
protected override void AfterPluginEnable()
{
base.AfterPluginEnable();
}
protected override void AfterMenuItemsPopulation(MenuItemDeclarationCollection items)
{
base.AfterMenuItemsPopulation(items);
}
protected override void BeforePluginDisable()
{
base.BeforePluginDisable();
}
protected override void BeforeMirandaShutdown()
{
base.BeforeMirandaShutdown();
}
public override object InitializeLifetimeService()
{
return base.InitializeLifetimeService();
}
}
}

View File

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{70C2891E-C542-4F0D-8FBD-865351B7A718}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AutoConnect</RootNamespace>
<AssemblyName>AutoConnect</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\library\Managed\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\library\Managed\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Hyphen">
<HintPath>..\library\Hyphen.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="AutoConnect.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: AssemblyTitle("AutoConnect")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AutoConnect")]
[assembly: AssemblyCopyright("Copyright © 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar
// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von
// COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest.
[assembly: ComVisible(false)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
[assembly: Guid("db4c565e-8b5d-4cd3-b4f7-93cc035d198f")]
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Revision
//
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

20
Miranda.sln Normal file
View File

@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutoConnect", "AutoConnect\AutoConnect.csproj", "{70C2891E-C542-4F0D-8FBD-865351B7A718}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{70C2891E-C542-4F0D-8FBD-865351B7A718}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{70C2891E-C542-4F0D-8FBD-865351B7A718}.Debug|Any CPU.Build.0 = Debug|Any CPU
{70C2891E-C542-4F0D-8FBD-865351B7A718}.Release|Any CPU.ActiveCfg = Release|Any CPU
{70C2891E-C542-4F0D-8FBD-865351B7A718}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

BIN
library/Hyphen.dll Symbolic link

Binary file not shown.

Binary file not shown.