DayZ 1.24
Loading...
Searching...
No Matches
SVNShowLogPlugin Class Reference
Inheritance diagram for SVNShowLogPlugin:
[legend]
Collaboration diagram for SVNShowLogPlugin:
[legend]

Private Member Functions

override void Run ()
 
override void Configure ()
 
void OkButton ()
 

Private Attributes

string CommandLine
 

Detailed Description

Definition at line 2 of file ShowLog.c.

Member Function Documentation

◆ Configure()

override void SVNShowLogPlugin::Configure ( )
inlineprivate

Definition at line 25 of file ShowLog.c.

26 {
27 Workbench.ScriptDialog("Configure SVN ShowLog", "Usage: \n$path - will be replaced with file name", this);
28 }
static proto int ScriptDialog(string caption, string text, Class data)

References Workbench::ScriptDialog().

◆ OkButton()

void SVNShowLogPlugin::OkButton ( )
inlineprivate

Definition at line 31 of file ShowLog.c.

31{}

◆ Run()

override void SVNShowLogPlugin::Run ( )
inlineprivate

Definition at line 7 of file ShowLog.c.

8 {
9 ScriptEditor mod = Workbench.GetModule("ScriptEditor");
10 if (mod)
11 {
12 string file;
13 string absPath;
14 if (mod.GetCurrentFile(file) && Workbench.GetAbsolutePath(file, absPath))
15 {
16 string command = CommandLine;
17 command.Replace("$path", absPath);
19 //Print( command );
20 //Print( absPath );
21 }
22 }
23 }
string CommandLine
Definition ShowLog.c:5
static proto native int RunCmd(string command, bool wait=false)
static proto native WBModuleDef GetModule(string type)
static proto bool GetAbsolutePath(string relativePath, out string absPath)

References Workbench::GetAbsolutePath(), Workbench::GetModule(), and Workbench::RunCmd().

Member Data Documentation

◆ CommandLine

string SVNShowLogPlugin::CommandLine
private

Definition at line 5 of file ShowLog.c.


The documentation for this class was generated from the following file: