Revision eeee29e3 trunk/Pithos.ShellExtensions/Menus/DisplayFlags.cs

b/trunk/Pithos.ShellExtensions/Menus/DisplayFlags.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
1
// <copyright file="DisplayFlags.cs" company="GRNet">
2
// This project is open source. Released under the XYZ license
3
// </copyright>
5 4

  
6 5
namespace Pithos.ShellExtensions.Menus
7 6
{
7
    using System;
8

  
9
    /// <summary>
10
    /// Specifies whether a context menu item is displayed for files, folders or both.
11
    /// </summary>
8 12
    [Flags]
9
    enum DisplayFlags
13
    public enum DisplayFlags
10 14
    {
15
        /// <summary>
16
        /// Don't display the item at all
17
        /// </summary>
11 18
        None,
19

  
20
        /// <summary>
21
        /// Display the item only on folders
22
        /// </summary>
12 23
        Folder,
24

  
25
        /// <summary>
26
        /// Display the item only on files
27
        /// </summary>
13 28
        File,
29

  
30
        /// <summary>
31
        /// Display the item both on folders and files
32
        /// </summary>
14 33
        All
15 34
    }
16

  
17 35
}

Also available in: Unified diff