-
Notifications
You must be signed in to change notification settings - Fork 186
Expand file tree
/
Copy pathILogWindow.cs
More file actions
43 lines (26 loc) · 1.35 KB
/
ILogWindow.cs
File metadata and controls
43 lines (26 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using LogExpert.Core.Classes.Log;
using LogExpert.Core.Classes.Persister;
namespace LogExpert.Core.Interface;
//TODO: Add documentation
public interface ILogWindow
{
string GetCurrentFileName (int lineNum);
ILogLine GetLine (int lineNum);
ILogLine GetLogLineWithWait (int lineNum);
//TODO Find a way to not use a referenced int (https://github.com/LogExperts/LogExpert/issues/404)
DateTime GetTimestampForLineForward (ref int lineNum, bool roundToSeconds);
//TODO Find a way to not use a referenced int (https://github.com/LogExperts/LogExpert/issues/404)
DateTime GetTimestampForLine (ref int lastLineNum, bool roundToSeconds);
int FindTimestampLineInternal (int lineNum, int rangeStart, int rangeEnd, DateTime timestamp, bool roundToSeconds);
void SelectLine (int lineNum, bool triggerSyncCall, bool shouldScroll);
PersistenceData GetPersistenceData ();
void AddTempFileTab (string fileName, string title);
void WritePipeTab (IList<LineEntry> lineEntryList, string title);
void Activate ();
LogfileReader LogFileReader { get; }
string Text { get; }
string FileName { get; }
//event EventHandler<LogEventArgs> FileSizeChanged; //TODO: All handlers should be moved to Core
//event EventHandler TailFollowed;
//LogExpert.UI.Controls.LogTabWindow.LogTabWindow.LogWindowData Tag { get; }
}