00001 /* 00002 * Copyright (C) 2003-2005 Gabest 00003 * http://www.gabest.org 00004 * 00005 * This Program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2, or (at your option) 00008 * any later version. 00009 * 00010 * This Program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with GNU Make; see the file COPYING. If not, write to 00017 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 00018 * http://www.gnu.org/copyleft/gpl.html 00019 * 00020 */ 00021 00022 #pragma once 00023 00024 using namespace TreePropSheet; 00025 00026 #include "PPagePlayer.h" 00027 #include "PPageFormats.h" 00028 #include "PPageAccelTbl.h" 00029 #include "PPageLogo.h" 00030 #include "PPagePlayback.h" 00031 #include "PPageDVD.h" 00032 #include "PPageRealMediaQuickTime.h" 00033 #include "PPageOutput.h" 00034 #include "PPageWebServer.h" 00035 #include "PPageFilters.h" 00036 #include "PPageAudioSwitcher.h" 00037 #include "PPageMpegDecoder.h" 00038 #include "PPageAudioDecoder.h" 00039 #include "PPageOverrides.h" 00040 #include "PPageSubtitles.h" 00041 #include "PPageSubStyle.h" 00042 #include "PPageSubDB.h" 00043 #include "PPageTweaks.h" 00044 00045 // CTreePropSheetTreeCtrl 00046 00047 class CTreePropSheetTreeCtrl : public CTreeCtrl 00048 { 00049 DECLARE_DYNAMIC(CTreePropSheetTreeCtrl) 00050 00051 public: 00052 CTreePropSheetTreeCtrl(); 00053 virtual ~CTreePropSheetTreeCtrl(); 00054 00055 protected: 00056 DECLARE_MESSAGE_MAP() 00057 virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 00058 }; 00059 00060 // CPPageSheet 00061 00062 class CPPageSheet : public CTreePropSheet 00063 { 00064 DECLARE_DYNAMIC(CPPageSheet) 00065 00066 private: 00067 CPPagePlayer m_player; 00068 CPPageFormats m_formats; 00069 CPPageAccelTbl m_acceltbl; 00070 CPPageLogo m_logo; 00071 CPPagePlayback m_playback; 00072 CPPageDVD m_dvd; 00073 CPPageRealMediaQuickTime m_realmediaquicktime; 00074 CPPageOutput m_output; 00075 CPPageWebServer m_webserver; 00076 CPPageSubtitles m_subtitles; 00077 CPPageSubStyle m_substyle; 00078 CPPageSubDB m_subdb; 00079 CPPageFilters m_filters; 00080 CPPageAudioSwitcher m_audioswitcher; 00081 CPPageMpegDecoder m_mpegdecoder; 00082 CPPageAudioDecoder m_audiodecoder; 00083 CPPageOverrides m_overrides; 00084 CPPageTweaks m_tweaks; 00085 00086 CTreeCtrl* CreatePageTreeObject(); 00087 00088 public: 00089 CPPageSheet(LPCTSTR pszCaption, IFilterGraph* pFG, CWnd* pParentWnd, UINT idPage = 0); 00090 virtual ~CPPageSheet(); 00091 00092 protected: 00093 DECLARE_MESSAGE_MAP() 00094 public: 00095 virtual BOOL OnInitDialog(); 00096 };