프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / MarkusAutoUpdate / src / NetSparkle / Interfaces / IUpdateAvailable.cs @ d8f5045e

이력 | 보기 | 이력해설 | 다운로드 (1.45 KB)

1
using NetSparkleUpdater.Enums;
2
using System;
3

    
4
namespace NetSparkleUpdater.Interfaces
5
{
6
    /// <summary>
7
    /// Interface for UI element that shows the release notes, 
8
    /// and the skip, install, and later buttons
9
    /// </summary>
10
    public interface IUpdateAvailable
11
    {
12
        /// <summary>
13
        /// Event fired when the user has responded to the 
14
        /// skip, later, install question.
15
        /// </summary>
16
        event UserRespondedToUpdate UserResponded;
17

    
18
        /// <summary>
19
        /// Show the UI
20
        /// </summary>
21
        void Show(bool IsOnMainThread);
22

    
23
        /// <summary>
24
        /// Hides the release notes 
25
        /// </summary>
26
        void HideReleaseNotes();
27

    
28
        /// <summary>
29
        /// Hides the remind me later button
30
        /// </summary>
31
        void HideRemindMeLaterButton();
32

    
33
        /// <summary>
34
        /// Hides the skip update button
35
        /// </summary>
36
        void HideSkipButton();
37

    
38
        /// <summary>
39
        /// Gets the result for skip, later, or install
40
        /// </summary>
41
        UpdateAvailableResult Result { get; }
42

    
43
        /// <summary>
44
        /// Gets or sets the current item being installed
45
        /// </summary>
46
        AppCastItem CurrentItem { get; }
47

    
48
        /// <summary>
49
        /// Brings the form to the front of all windows
50
        /// </summary>
51
        void BringToFront();
52

    
53
        /// <summary>
54
        /// Close the form
55
        /// </summary>
56
        void Close();
57
    }
58
}
클립보드 이미지 추가 (최대 크기: 500 MB)