Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ChangeLogs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT UNLESS YOU KNOW WHAT YOU ARE DOING.
# CHANGE LOG

[Next version (1c79119a32265750560d58a0202021fe34953a75)]
- Added: Plugin Lifecycle event system
- Added: Lifecycle events to ISuperMemoAssistant
- Added: non-generic InvokeRemote extension method
Expand Down
3 changes: 3 additions & 0 deletions src/SuperMemoAssistant.Interop/Interop/SMConst.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ public static class UI
/// <summary>The element window class name</summary>
public const string ElementWindowClassName = "TElWind";

/// <summary>The content window class name</summary>
public const string ContentsWindowClassName = "TContents";

/// <summary>The tree view class name (which coincides with the main window)</summary>
public const string SMMainClassName = "TSMMain";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
using SuperMemoAssistant.Interop.SuperMemo.Elements;
using SuperMemoAssistant.Interop.SuperMemo.Registry.Types;
using SuperMemoAssistant.Interop.SuperMemo.UI.Element;
using SuperMemoAssistant.Interop.SuperMemo.UI.Content;

namespace SuperMemoAssistant.Interop.SuperMemo
{
Expand Down Expand Up @@ -68,5 +69,6 @@ public interface ISuperMemoRegistry
public interface ISuperMemoUI
{
IElementWdw ElementWdw { get; }
IContentWdw ContentWdw { get; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SuperMemoAssistant.Interop.SuperMemo.UI.Content
{
public interface IContentWdw : IWdw
{
/// <summary>
/// Moves an Element of it's respective id into a target Concept ID
/// </summary>
/// <param name="elementId">The ID of the element to move.</param>
/// <param name="conceptId">The target concpet the element is moved to.</param>
/// <returns></returns>
public bool MoveElementToConcept(int elementId, int conceptId);

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
namespace SuperMemoAssistant.Interop.SuperMemo.UI.Element
{
using System;
using Content.Components;
using Content.Controls;
using SuperMemoAssistant.Interop.SuperMemo.Content.Components;
using SuperMemoAssistant.Interop.SuperMemo.Content.Controls;
using Core;
using Elements.Models;
using Elements.Types;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>D:\Users\polit\Projects\C#\SuperMemoAssistant\build\SuperMemoAssistant.Interop\Release\AnyCPU\publish\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_LastSelectedProfileId>D:\Users\polit\Projects\C#\SuperMemoAssistant\src\Interop\src\SuperMemoAssistant.Interop\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion src/SuperMemoAssistant.Interop/version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "2.0.5"
"version": "2.0.5-alpha"
}