From 091efff17b36efa14b8d159b4fc43689433a0922 Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Mon, 3 Apr 2006 13:51:09 +0000 Subject: [PATCH] Originally committed to SVN as r294. --- avisynth_prs/draw_prs.cpp | 3 +-- core/subtitle_format_prs.cpp | 4 +--- prs/prs.h | 42 ++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 prs/prs.h diff --git a/avisynth_prs/draw_prs.cpp b/avisynth_prs/draw_prs.cpp index 3dae0df8c..bb140a8c8 100644 --- a/avisynth_prs/draw_prs.cpp +++ b/avisynth_prs/draw_prs.cpp @@ -37,8 +37,7 @@ /////////// // Headers #include "draw_prs.h" -#include "../prs/prs_file.h" -#include "../prs/prs_video_frame.h" +#include "../prs/prs.h" /////////////// diff --git a/core/subtitle_format_prs.cpp b/core/subtitle_format_prs.cpp index 473c27af4..30aae8d40 100644 --- a/core/subtitle_format_prs.cpp +++ b/core/subtitle_format_prs.cpp @@ -54,9 +54,7 @@ #include "utils.h" #include "md5.h" #include "dialog_progress.h" -#include "../prs/prs_file.h" -#include "../prs/prs_image.h" -#include "../prs/prs_display.h" +#include "../prs/prs.h" ////////////////////// diff --git a/prs/prs.h b/prs/prs.h new file mode 100644 index 000000000..34901e749 --- /dev/null +++ b/prs/prs.h @@ -0,0 +1,42 @@ +// Copyright (c) 2006, Rodrigo Braz Monteiro +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// * Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// * Neither the name of the Aegisub Group nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// +// ----------------------------------------------------------------------------- +// +// AEGISUB +// +// Website: http://aegisub.cellosoft.com +// Contact: mailto:zeratul@cellosoft.com +// + +#pragma once + +/////////// +// Headers +#include "prs_file.h" +#include "prs_display.h" +#include "prs_image.h"