-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c11fe6
commit 9cac95c
Showing
3 changed files
with
25 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
using System; | ||
|
||
namespace SmartCommander.TcPlugins | ||
namespace SmartCommander.Plugins; | ||
|
||
public static class PluginManager | ||
{ | ||
public static class PluginManager | ||
public static ListerPluginWrapper CreateListerWrapper() | ||
{ | ||
public static ListerPluginWrapper CreateListerWrapper() | ||
{ | ||
//string pluginPath = "C:\\totalcmd\\plugins\\CodeViewer\\CodeViewer.wlx64"; | ||
string pluginPath = "C:\\totalcmd\\plugins\\wlx\\CodeViewer\\CodeViewer.wlx64"; | ||
return new ListerPluginWrapper(pluginPath); | ||
} | ||
|
||
public static IntPtr CreateListerWindow(this ListerPluginWrapper listerWrapper,IntPtr parentWindowHandle,string fileToLoad) | ||
{ | ||
int showFlags = 1; | ||
return listerWrapper.LoadFile(parentWindowHandle, fileToLoad, showFlags); | ||
} | ||
//string pluginPath = "C:\\totalcmd\\plugins\\CodeViewer\\CodeViewer.wlx64"; | ||
string pluginPath = "C:\\totalcmd\\plugins\\wlx\\CodeViewer\\CodeViewer.wlx64"; | ||
return new ListerPluginWrapper(pluginPath); | ||
} | ||
|
||
public static IntPtr CreateListerWindow(this ListerPluginWrapper listerWrapper, IntPtr parentWindowHandle, string fileToLoad) | ||
{ | ||
int showFlags = 1; | ||
return listerWrapper.LoadFile(parentWindowHandle, fileToLoad, showFlags); | ||
} | ||
|
||
} | ||
|
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