diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-06-27 15:10:16 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-06-27 15:10:16 +0400 |
commit | e245f1dcf0b79c3b73e1882cd87adc8d8abda46a (patch) | |
tree | b9b2442aacb3feb0a988179d3af583a04d92bd97 /src/filters/InternalPropertyPage.h | |
parent | df99757cf19f203a962b96ae7c57d3e6df0c9bce (diff) |
indentation cosmetics, break a few long lines, keep a few one line blocks
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5297 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/InternalPropertyPage.h')
-rw-r--r-- | src/filters/InternalPropertyPage.h | 30 |
1 files changed, 7 insertions, 23 deletions
diff --git a/src/filters/InternalPropertyPage.h b/src/filters/InternalPropertyPage.h index 7f6798295..96b451786 100644 --- a/src/filters/InternalPropertyPage.h +++ b/src/filters/InternalPropertyPage.h @@ -55,23 +55,15 @@ public: }
}
}
- bool GetDirty() {
- return m_fDirty;
- }
+ bool GetDirty() { return m_fDirty; }
virtual BOOL Create(IPropertyPageSite* pPageSite, LPCRECT pRect, CWnd* pParentWnd);
- virtual bool OnConnect(const CInterfaceList<IUnknown, &IID_IUnknown>& pUnks) {
- return true;
- }
+ virtual bool OnConnect(const CInterfaceList<IUnknown, &IID_IUnknown>& pUnks) { return true; }
virtual void OnDisconnect() {}
- virtual bool OnActivate() {
- return true;
- }
+ virtual bool OnActivate() { return true; }
virtual void OnDeactivate() {}
- virtual bool OnApply() {
- return true;
- }
+ virtual bool OnApply() { return true; }
DECLARE_MESSAGE_MAP()
};
@@ -115,17 +107,9 @@ public: template<class WndClass>
class CInternalPropertyPageTempl : public CInternalPropertyPage
{
- virtual CInternalPropertyPageWnd* GetWindow() {
- return DNew WndClass();
- }
-
- virtual LPCTSTR GetWindowTitle() {
- return WndClass::GetWindowTitle();
- }
-
- virtual CSize GetWindowSize() {
- return WndClass::GetWindowSize();
- }
+ virtual CInternalPropertyPageWnd* GetWindow() { return DNew WndClass(); }
+ virtual LPCTSTR GetWindowTitle() { return WndClass::GetWindowTitle(); }
+ virtual CSize GetWindowSize() { return WndClass::GetWindowSize(); }
public:
CInternalPropertyPageTempl(LPUNKNOWN lpunk, HRESULT* phr)
|