mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-16 05:12:39 +00:00
Code reformat and UI tweaks
This commit is contained in:
@@ -1,4 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
// Copyright © 2018 Marco Gavelli and Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
@@ -11,4 +28,4 @@ namespace VersOne.Epub.Schema
|
||||
public EpubNavigationPageList PageList { get; set; }
|
||||
public List<EpubNavigationList> NavLists { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,4 +1,19 @@
|
||||
using System;
|
||||
// Copyright © 2018 Marco Gavelli and Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
@@ -9,7 +24,7 @@ namespace VersOne.Epub.Schema
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return String.Concat("Source: " + Source);
|
||||
return string.Concat("Source: " + Source);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,8 +1,25 @@
|
||||
using System.Collections.Generic;
|
||||
// Copyright © 2018 Marco Gavelli and Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationDocAuthor : List<string>
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,8 +1,25 @@
|
||||
using System.Collections.Generic;
|
||||
// Copyright © 2018 Marco Gavelli and Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationDocTitle : List<string>
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,8 +1,25 @@
|
||||
using System.Collections.Generic;
|
||||
// Copyright © 2018 Marco Gavelli and Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationHead : List<EpubNavigationHeadMeta>
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,4 +1,21 @@
|
||||
namespace VersOne.Epub.Schema
|
||||
// Copyright © 2018 Marco Gavelli and Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationHeadMeta
|
||||
{
|
||||
@@ -6,4 +23,4 @@
|
||||
public string Content { get; set; }
|
||||
public string Scheme { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,4 +1,21 @@
|
||||
namespace VersOne.Epub.Schema
|
||||
// Copyright © 2018 Marco Gavelli and Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationLabel
|
||||
{
|
||||
@@ -9,4 +26,4 @@
|
||||
return Text;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,4 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
// Copyright © 2018 Marco Gavelli and Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
@@ -9,4 +26,4 @@ namespace VersOne.Epub.Schema
|
||||
public List<EpubNavigationLabel> NavigationLabels { get; set; }
|
||||
public List<EpubNavigationTarget> NavigationTargets { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,8 +1,25 @@
|
||||
using System.Collections.Generic;
|
||||
// Copyright © 2018 Marco Gavelli and Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationMap : List<EpubNavigationPoint>
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,8 +1,25 @@
|
||||
using System.Collections.Generic;
|
||||
// Copyright © 2018 Marco Gavelli and Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public class EpubNavigationPageList : List<EpubNavigationPageTarget>
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,4 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
// Copyright © 2018 Marco Gavelli and Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
@@ -12,4 +29,4 @@ namespace VersOne.Epub.Schema
|
||||
public List<EpubNavigationLabel> NavigationLabels { get; set; }
|
||||
public EpubNavigationContent Content { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,4 +1,21 @@
|
||||
namespace VersOne.Epub.Schema
|
||||
// Copyright © 2018 Marco Gavelli and Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
public enum EpubNavigationPageTargetType
|
||||
{
|
||||
@@ -6,4 +23,4 @@
|
||||
NORMAL,
|
||||
SPECIAL
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,4 +1,20 @@
|
||||
using System;
|
||||
// Copyright © 2018 Marco Gavelli and Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
@@ -14,7 +30,7 @@ namespace VersOne.Epub.Schema
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return String.Format("Id: {0}, Content.Source: {1}", Id, Content.Source);
|
||||
return string.Format("Id: {0}, Content.Source: {1}", Id, Content.Source);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,4 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
// Copyright © 2018 Marco Gavelli and Paddy Xu
|
||||
//
|
||||
// This file is part of QuickLook program.
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace VersOne.Epub.Schema
|
||||
{
|
||||
@@ -11,4 +28,4 @@ namespace VersOne.Epub.Schema
|
||||
public List<EpubNavigationLabel> NavigationLabels { get; set; }
|
||||
public EpubNavigationContent Content { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user