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:
authorXhmikosR <xhmikosr@users.sourceforge.net>2010-09-16 14:24:14 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2010-09-16 14:24:14 +0400
commit1cba01c08b61ee81033bfdfdc3cf6d65dd91d9f7 (patch)
tree545648e6867a7bb88a5fbced2e361613b38d57c7 /src/CmdUI/CmdUI.h
parent41735446a0e29866794583674dcd2973efead7f1 (diff)
moved thirdparty UI code in the thirdparty/ui dir and CmdUI in the src dir
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2569 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/CmdUI/CmdUI.h')
-rw-r--r--src/CmdUI/CmdUI.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/CmdUI/CmdUI.h b/src/CmdUI/CmdUI.h
new file mode 100644
index 000000000..6b58d31f1
--- /dev/null
+++ b/src/CmdUI/CmdUI.h
@@ -0,0 +1,67 @@
+/*
+ * Copyright (C) 2003-2006 Gabest
+ * http://www.gabest.org
+ *
+ * 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 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.
+ * http://www.gnu.org/copyleft/gpl.html
+ *
+ */
+
+#pragma once
+
+// CCmdUIDialog dialog
+
+#include <afxdlgs.h>
+
+class CCmdUIDialog : public CDialog
+{
+ DECLARE_DYNAMIC(CCmdUIDialog)
+
+public:
+ CCmdUIDialog();
+ CCmdUIDialog(UINT nIDTemplate, CWnd* pParent = NULL);
+ CCmdUIDialog(LPCTSTR lpszTemplateName, CWnd* pParent = NULL);
+ virtual ~CCmdUIDialog();
+
+protected:
+ virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
+
+ DECLARE_MESSAGE_MAP()
+
+public:
+ afx_msg void OnKickIdle();
+ afx_msg void OnInitMenuPopup(CMenu *pPopupMenu, UINT nIndex,BOOL bSysMenu);
+};
+
+
+// CCmdUIPropertyPage
+
+class CCmdUIPropertyPage : public CPropertyPage
+{
+ DECLARE_DYNAMIC(CCmdUIPropertyPage)
+
+public:
+ CCmdUIPropertyPage(UINT nIDTemplate, UINT nIDCaption = 0); // standard constructor
+ virtual ~CCmdUIPropertyPage();
+
+protected:
+ virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
+
+ DECLARE_MESSAGE_MAP()
+
+public:
+ afx_msg void OnKickIdle();
+};
+