Skip to content
Merged
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
11 changes: 6 additions & 5 deletions src/LogExpert.Core/Interface/ILogWindow.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using LogExpert.Core.Classes.Log;
using LogExpert.Core.Classes.Persister;
using LogExpert.Core.Entities;

namespace LogExpert.Core.Interface;

Expand All @@ -11,15 +10,17 @@ public interface ILogWindow

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 v);
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 v);
DateTime GetTimestampForLine (ref int lastLineNum, bool roundToSeconds);

int FindTimestampLine_Internal (int lineNum1, int lineNum2, int lastLineNum, DateTime searchTimeStamp, bool v);
int FindTimestampLineInternal (int lineNum, int rangeStart, int rangeEnd, DateTime timestamp, bool roundToSeconds);

void SelectLine (int lineNum, bool v1, bool v2);
void SelectLine (int lineNum, bool triggerSyncCall, bool shouldScroll);

PersistenceData GetPersistenceData ();

Expand Down
Loading
Loading