Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetsuo55 <tetsuo55@users.sourceforge.net>2010-04-09 01:14:58 +0400
committertetsuo55 <tetsuo55@users.sourceforge.net>2010-04-09 01:14:58 +0400
commita9b7bf3fb3e1334d8defd05ca4cfae870b4912e5 (patch)
tree2dab453d94d5e003379a6cc895eceb84c80e23ec /src/filters/transform/MpaDecFilter/MpaDecSettingsWnd.h
parentaafd49a91f7c2fa9c7103971c16fa6e1b29e8bfd (diff)
astyle formatting cleanup to make the sourcecode more accessible
switch used: astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren http://astyle.sourceforge.net/ git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1783 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/MpaDecFilter/MpaDecSettingsWnd.h')
-rw-r--r--src/filters/transform/MpaDecFilter/MpaDecSettingsWnd.h110
1 files changed, 58 insertions, 52 deletions
diff --git a/src/filters/transform/MpaDecFilter/MpaDecSettingsWnd.h b/src/filters/transform/MpaDecFilter/MpaDecSettingsWnd.h
index cf459b705..e48163385 100644
--- a/src/filters/transform/MpaDecFilter/MpaDecSettingsWnd.h
+++ b/src/filters/transform/MpaDecFilter/MpaDecSettingsWnd.h
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright (C) 2003-2006 Gabest
* http://www.gabest.org
*
@@ -6,15 +6,15 @@
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, 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 GNU Make; see the file COPYING. If not, write to
- * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
* http://www.gnu.org/copyleft/gpl.html
*
*/
@@ -28,59 +28,65 @@
[uuid("24103041-884B-4772-B0D3-A600E7CBFEC7")]
class CMpaDecSettingsWnd : public CInternalPropertyPageWnd
{
- CComQIPtr<IMpaDecFilter> m_pMDF;
+ CComQIPtr<IMpaDecFilter> m_pMDF;
- int m_outputformat;
- int m_ac3spkcfg;
- bool m_ac3drc;
- int m_dtsspkcfg;
- bool m_dtsdrc;
- bool m_aacdownmix;
- DolbyDigitalMode m_ddmode;
+ int m_outputformat;
+ int m_ac3spkcfg;
+ bool m_ac3drc;
+ int m_dtsspkcfg;
+ bool m_dtsdrc;
+ bool m_aacdownmix;
+ DolbyDigitalMode m_ddmode;
- enum
- {
- IDC_PP_RADIO1 = 10000,
- IDC_PP_RADIO2,
- IDC_PP_RADIO3,
- IDC_PP_RADIO4,
- IDC_PP_COMBO1,
- IDC_PP_COMBO2,
- IDC_PP_COMBO3,
- IDC_PP_CHECK1,
- IDC_PP_CHECK2,
- IDC_PP_CHECK3,
- IDC_PP_CHECK4,
- IDC_PP_CHECK5
- };
+ enum
+ {
+ IDC_PP_RADIO1 = 10000,
+ IDC_PP_RADIO2,
+ IDC_PP_RADIO3,
+ IDC_PP_RADIO4,
+ IDC_PP_COMBO1,
+ IDC_PP_COMBO2,
+ IDC_PP_COMBO3,
+ IDC_PP_CHECK1,
+ IDC_PP_CHECK2,
+ IDC_PP_CHECK3,
+ IDC_PP_CHECK4,
+ IDC_PP_CHECK5
+ };
- CStatic m_outputformat_static;
- CComboBox m_outputformat_combo;
- CStatic m_ac3spkcfg_static;
- CButton m_ac3spkcfg_radio[2];
- CComboBox m_ac3spkcfg_combo;
- CButton m_ac3spkcfg_check;
- CButton m_ac3lfe_check;
- CStatic m_dtsspkcfg_static;
- CButton m_dtsspkcfg_radio[2];
- CComboBox m_dtsspkcfg_combo;
- CButton m_dtsspkcfg_check;
- CStatic m_aacspkcfg_static;
- CButton m_dtslfe_check;
- CButton m_aacdownmix_check;
+ CStatic m_outputformat_static;
+ CComboBox m_outputformat_combo;
+ CStatic m_ac3spkcfg_static;
+ CButton m_ac3spkcfg_radio[2];
+ CComboBox m_ac3spkcfg_combo;
+ CButton m_ac3spkcfg_check;
+ CButton m_ac3lfe_check;
+ CStatic m_dtsspkcfg_static;
+ CButton m_dtsspkcfg_radio[2];
+ CComboBox m_dtsspkcfg_combo;
+ CButton m_dtsspkcfg_check;
+ CStatic m_aacspkcfg_static;
+ CButton m_dtslfe_check;
+ CButton m_aacdownmix_check;
public:
- CMpaDecSettingsWnd();
-
- bool OnConnect(const CInterfaceList<IUnknown, &IID_IUnknown>& pUnks);
- void OnDisconnect();
- bool OnActivate();
- void OnDeactivate();
- bool OnApply();
- LPCTSTR GetDolbyMode (DolbyDigitalMode ddmode);
+ CMpaDecSettingsWnd();
+
+ bool OnConnect(const CInterfaceList<IUnknown, &IID_IUnknown>& pUnks);
+ void OnDisconnect();
+ bool OnActivate();
+ void OnDeactivate();
+ bool OnApply();
+ LPCTSTR GetDolbyMode(DolbyDigitalMode ddmode);
- static LPCTSTR GetWindowTitle() {return _T("Settings");}
- static CSize GetWindowSize() {return CSize(320, 320);}
+ static LPCTSTR GetWindowTitle()
+ {
+ return _T("Settings");
+ }
+ static CSize GetWindowSize()
+ {
+ return CSize(320, 320);
+ }
- DECLARE_MESSAGE_MAP()
+ DECLARE_MESSAGE_MAP()
}; \ No newline at end of file