mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
24 lines
408 B
C#
24 lines
408 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using AssetStudio;
|
|
|
|
namespace AssetStudioGUI
|
|
{
|
|
class GUIProgress : IProgress
|
|
{
|
|
private Action<int> action;
|
|
|
|
public GUIProgress(Action<int> action)
|
|
{
|
|
this.action = action;
|
|
}
|
|
|
|
public void Report(int value)
|
|
{
|
|
action(value);
|
|
}
|
|
}
|
|
}
|