summary refs log tree commit diff stats
path: root/plugins/wmpa/wmpsettings.cpp
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-11 19:46:46 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-11 19:46:46 +0200
commit1ea726a91809340451c7a05ede34e7be00ba7863 (patch)
tree936bb6fce5c26b3876a7324ec82ee0bb232875d7 /plugins/wmpa/wmpsettings.cpp
parentd81619cca95831e2fd444d71cd078201f3db0e39 (diff)
parent9d9c24c8d347aa44efbd63e8f8c8dfb5b3cddedb (diff)
Merge branch 'wdk'
Diffstat (limited to 'plugins/wmpa/wmpsettings.cpp')
-rw-r--r--plugins/wmpa/wmpsettings.cpp193
1 files changed, 193 insertions, 0 deletions
diff --git a/plugins/wmpa/wmpsettings.cpp b/plugins/wmpa/wmpsettings.cpp
new file mode 100644
index 00000000..662a336a
--- /dev/null
+++ b/plugins/wmpa/wmpsettings.cpp
@@ -0,0 +1,193 @@
+// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

+

+// NOTE: Do not modify the contents of this file.  If this class is regenerated by

+//  Microsoft Visual C++, your modifications will be overwritten.

+

+

+#include "stdafx.h"

+#include "wmpsettings.h"

+

+

+/////////////////////////////////////////////////////////////////////////////

+// CWMPSettings properties

+

+/////////////////////////////////////////////////////////////////////////////

+// CWMPSettings operations

+

+BOOL CWMPSettings::GetIsAvailable(LPCTSTR bstrItem)

+{

+	BOOL result;

+	static BYTE parms[] =

+		VTS_BSTR;

+	InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,

+		bstrItem);

+	return result;

+}

+

+BOOL CWMPSettings::GetAutoStart()

+{

+	BOOL result;

+	InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);

+	return result;

+}

+

+void CWMPSettings::SetAutoStart(BOOL bNewValue)

+{

+	static BYTE parms[] =

+		VTS_BOOL;

+	InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,

+		 bNewValue);

+}

+

+CString CWMPSettings::GetBaseURL()

+{

+	CString result;

+	InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);

+	return result;

+}

+

+void CWMPSettings::SetBaseURL(LPCTSTR lpszNewValue)

+{

+	static BYTE parms[] =

+		VTS_BSTR;

+	InvokeHelper(0x6c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,

+		 lpszNewValue);

+}

+

+CString CWMPSettings::GetDefaultFrame()

+{

+	CString result;

+	InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);

+	return result;

+}

+

+void CWMPSettings::SetDefaultFrame(LPCTSTR lpszNewValue)

+{

+	static BYTE parms[] =

+		VTS_BSTR;

+	InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,

+		 lpszNewValue);

+}

+

+BOOL CWMPSettings::GetInvokeURLs()

+{

+	BOOL result;

+	InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);

+	return result;

+}

+

+void CWMPSettings::SetInvokeURLs(BOOL bNewValue)

+{

+	static BYTE parms[] =

+		VTS_BOOL;

+	InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,

+		 bNewValue);

+}

+

+BOOL CWMPSettings::GetMute()

+{

+	BOOL result;

+	InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);

+	return result;

+}

+

+void CWMPSettings::SetMute(BOOL bNewValue)

+{

+	static BYTE parms[] =

+		VTS_BOOL;

+	InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,

+		 bNewValue);

+}

+

+long CWMPSettings::GetPlayCount()

+{

+	long result;

+	InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);

+	return result;

+}

+

+void CWMPSettings::SetPlayCount(long nNewValue)

+{

+	static BYTE parms[] =

+		VTS_I4;

+	InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,

+		 nNewValue);

+}

+

+double CWMPSettings::GetRate()

+{

+	double result;

+	InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);

+	return result;

+}

+

+void CWMPSettings::SetRate(double newValue)

+{

+	static BYTE parms[] =

+		VTS_R8;

+	InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,

+		 newValue);

+}

+

+long CWMPSettings::GetBalance()

+{

+	long result;

+	InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);

+	return result;

+}

+

+void CWMPSettings::SetBalance(long nNewValue)

+{

+	static BYTE parms[] =

+		VTS_I4;

+	InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,

+		 nNewValue);

+}

+

+long CWMPSettings::GetVolume()

+{

+	long result;

+	InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);

+	return result;

+}

+

+void CWMPSettings::SetVolume(long nNewValue)

+{

+	static BYTE parms[] =

+		VTS_I4;

+	InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,

+		 nNewValue);

+}

+

+BOOL CWMPSettings::getMode(LPCTSTR bstrMode)

+{

+	BOOL result;

+	static BYTE parms[] =

+		VTS_BSTR;

+	InvokeHelper(0x6e, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,

+		bstrMode);

+	return result;

+}

+

+void CWMPSettings::setMode(LPCTSTR bstrMode, BOOL varfMode)

+{

+	static BYTE parms[] =

+		VTS_BSTR VTS_BOOL;

+	InvokeHelper(0x6f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,

+		 bstrMode, varfMode);

+}

+

+BOOL CWMPSettings::GetEnableErrorDialogs()

+{

+	BOOL result;

+	InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);

+	return result;

+}

+

+void CWMPSettings::SetEnableErrorDialogs(BOOL bNewValue)

+{

+	static BYTE parms[] =

+		VTS_BOOL;

+	InvokeHelper(0x70, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,

+		 bNewValue);

+}