summaryrefslogtreecommitdiffstats
path: root/tools/Sandcastle/Source/ChmBuilder/ChmBuilderArgs.cs
blob: 7f21b83d1ca33948a361482562460c43cb3da3e9 (plain)
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
// Copyright © Microsoft Corporation.
// This source file is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.

using System;
using System.Collections;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Xml;
using System.Xml.XPath;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
using System.Reflection;
using Microsoft.Ddue.Tools.CommandLine;


namespace Microsoft.Ddue.Tools
{
    public class ChmBuilderArgs
    {
        public string configFile;
        public string htmlDirectory;
        public int langid;
        public bool metadata;
        public string outputDirectory;
        public string projectName;
        public string tocFile;

        public ChmBuilderArgs()
        {
            this.langid = 1033;
            this.tocFile = string.Empty;
            this.metadata = false;
            string configDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
            this.configFile = Path.Combine(configDirectory, "ChmBuilder.config");
        }

    }
}