[xiph-commits] r8073 - in trunk/oggdsf: docs src/lib/plugin/axAnxOggPlayer

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Sat Oct 23 23:51:00 PDT 2004


Author: illiminable
Date: 2004-10-23 23:50:59 -0700 (Sat, 23 Oct 2004)
New Revision: 8073

Added:
   trunk/oggdsf/docs/activeX.txt
   trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/ControlDialog.cpp
   trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/ControlDialog.h
   trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer.aps
   trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer_i.c
   trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayeridl.h
Modified:
   trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/Resource.h
   trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer.rc
   trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer.vcproj
   trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.cpp
   trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.h
   trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/stdafx.h
Log:
* Added the code to display an empty child dialog as the control is loaded.

Added: trunk/oggdsf/docs/activeX.txt
===================================================================
--- trunk/oggdsf/docs/activeX.txt	2004-10-24 06:07:26 UTC (rev 8072)
+++ trunk/oggdsf/docs/activeX.txt	2004-10-24 06:50:59 UTC (rev 8073)
@@ -0,0 +1,38 @@
+Writing the ActiveX control
+===========================
+
+Start a new MFC ActiveX C++ project.
+Use all the default settings except in Control Settings, change the control to be based on STATIC.
+Add a dialog resource...
+Get rid of the existing widgets on the dialog.
+Set the following properties...
+Broder = Thin
+caption = ""
+Control = true
+Style = Child
+title bar = false
+Leave the ID as IDD_DIALOG1
+
+Create a new MFC class... call it CControlDialog
+Set the base class to CDialog
+Set the Dialog ID to IDD_DIALOG1
+
+Go to class view...
+Right click the ctrl class...
+Add variable.
+Set the following
+Access = proteced
+Variable type = CControlDialog
+Variable name = mDialog
+Click finish
+
+Go to class view.
+Click on the ctrl class
+Show properties.
+Click on messages icon
+In the WM_CREATE message section add the text "OnCreate"
+A new OnCreate function has been produced.
+
+At minimum add the following code after the autogenerated code...
+  mDialog.Create(IDD_DIALOG1, this);
+  mDialog.ShowWindow(TRUE);

Added: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/ControlDialog.cpp
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/ControlDialog.cpp	2004-10-24 06:07:26 UTC (rev 8072)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/ControlDialog.cpp	2004-10-24 06:50:59 UTC (rev 8073)
@@ -0,0 +1,31 @@
+// ControlDialog.cpp : implementation file
+//
+
+#include "stdafx.h"
+#include "axAnxOggPlayer.h"
+#include "ControlDialog.h"
+
+
+// CControlDialog dialog
+
+IMPLEMENT_DYNAMIC(CControlDialog, CDialog)
+CControlDialog::CControlDialog(CWnd* pParent /*=NULL*/)
+	: CDialog(CControlDialog::IDD, pParent)
+{
+}
+
+CControlDialog::~CControlDialog()
+{
+}
+
+void CControlDialog::DoDataExchange(CDataExchange* pDX)
+{
+	CDialog::DoDataExchange(pDX);
+}
+
+
+BEGIN_MESSAGE_MAP(CControlDialog, CDialog)
+END_MESSAGE_MAP()
+
+
+// CControlDialog message handlers

Added: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/ControlDialog.h
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/ControlDialog.h	2004-10-24 06:07:26 UTC (rev 8072)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/ControlDialog.h	2004-10-24 06:50:59 UTC (rev 8073)
@@ -0,0 +1,21 @@
+#pragma once
+
+
+// CControlDialog dialog
+
+class CControlDialog : public CDialog
+{
+	DECLARE_DYNAMIC(CControlDialog)
+
+public:
+	CControlDialog(CWnd* pParent = NULL);   // standard constructor
+	virtual ~CControlDialog();
+
+// Dialog Data
+	enum { IDD = IDD_DIALOG1 };
+
+protected:
+	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
+
+	DECLARE_MESSAGE_MAP()
+};

Modified: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/Resource.h
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/Resource.h	2004-10-24 06:07:26 UTC (rev 8072)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/Resource.h	2004-10-24 06:50:59 UTC (rev 8073)
@@ -2,21 +2,22 @@
 // Microsoft Visual C++ generated include file.
 // Used by axAnxOggPlayer.rc
 //
+#define IDS_AXANXOGGPLAYER              1
+#define IDD_ABOUTBOX_AXANXOGGPLAYER     1
+#define IDB_AXANXOGGPLAYER              1
+#define IDI_ABOUTDLL                    1
+#define IDS_AXANXOGGPLAYER_PPG          2
+#define IDS_AXANXOGGPLAYER_PPG_CAPTION  200
+#define IDD_PROPPAGE_AXANXOGGPLAYER     200
+#define IDD_DIALOG1                     201
 
-#define IDS_AXANXOGGPLAYER               1
-#define IDS_AXANXOGGPLAYER_PPG           2
-
-#define IDS_AXANXOGGPLAYER_PPG_CAPTION   200
-
-#define IDD_PROPPAGE_AXANXOGGPLAYER      200
-
-#define IDD_ABOUTBOX_AXANXOGGPLAYER      1
-
-#define IDB_AXANXOGGPLAYER               1
-
-#define IDI_ABOUTDLL				1
-
-#define _APS_NEXT_RESOURCE_VALUE        201
+// Next default values for new objects
+// 
+#ifdef APSTUDIO_INVOKED
+#ifndef APSTUDIO_READONLY_SYMBOLS
+#define _APS_NEXT_RESOURCE_VALUE        202
+#define _APS_NEXT_COMMAND_VALUE         32768
 #define _APS_NEXT_CONTROL_VALUE         201
 #define _APS_NEXT_SYMED_VALUE           101
-#define _APS_NEXT_COMMAND_VALUE         32768
+#endif
+#endif

Added: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer.aps
===================================================================
(Binary files differ)


Property changes on: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer.aps
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer.rc
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer.rc	2004-10-24 06:07:26 UTC (rev 8072)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer.rc	2004-10-24 06:50:59 UTC (rev 8073)
@@ -1,4 +1,4 @@
-//Microsoft Visual C++ generated resource script.
+// Microsoft Visual C++ generated resource script.
 //
 #include "resource.h"
 
@@ -12,6 +12,15 @@
 /////////////////////////////////////////////////////////////////////////////
 #undef APSTUDIO_READONLY_SYMBOLS
 
+/////////////////////////////////////////////////////////////////////////////
+// English (Australia) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENA)
+#ifdef _WIN32
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_AUS
+#pragma code_page(1252)
+#endif //_WIN32
+
 #ifdef APSTUDIO_INVOKED
 /////////////////////////////////////////////////////////////////////////////
 //
@@ -20,22 +29,21 @@
 
 1 TEXTINCLUDE 
 BEGIN
-	"resource.h\0"
+    "resource.h\0"
 END
 
 2 TEXTINCLUDE 
 BEGIN
-	"#include ""afxres.h""\r\n"
-	"\0"
+    "#include ""afxres.h""\r\n"
+    "\0"
 END
 
-3 TEXTINCLUDE  
+3 TEXTINCLUDE 
 BEGIN
-	"1 TYPELIB ""axAnxOggPlayer.tlb""\r\n"
+    "1 TYPELIB ""axAnxOggPlayer.tlb""\r\n"
     "\0"
 END
 
-/////////////////////////////////////////////////////////////////////////////
 #endif    // APSTUDIO_INVOKED
 
 
@@ -69,15 +77,15 @@
             VALUE "OriginalFilename", "axAnxOggPlayer.ocx"
             VALUE "ProductName", "TODO: <Product name>"
             VALUE "ProductVersion", "1.0.0.1"
-            VALUE "OLESelfRegister", ""
         END
     END
     BLOCK "VarFileInfo"
     BEGIN
-		VALUE "Translation", 0x0409, 1252
+        VALUE "Translation", 0x409, 1252
     END
 END
 
+
 /////////////////////////////////////////////////////////////////////////////
 //
 // Icon
@@ -85,47 +93,56 @@
 
 // Icon with lowest ID value placed first to ensure application icon
 // remains consistent on all systems.
-IDI_ABOUTDLL    ICON         "axAnxOggPlayer.ico"
+IDI_ABOUTDLL            ICON                    "axAnxOggPlayer.ico"
 
 /////////////////////////////////////////////////////////////////////////////
 //
 // Bitmap
 //
 
-IDB_AXANXOGGPLAYER   BITMAP   "axAnxOggPlayerCtrl.bmp"
+IDB_AXANXOGGPLAYER      BITMAP                  "axAnxOggPlayerCtrl.bmp"
 
 /////////////////////////////////////////////////////////////////////////////
 //
 // Dialog
 //
 
-IDD_ABOUTBOX_AXANXOGGPLAYER DIALOG   34, 22, 260, 55
+IDD_ABOUTBOX_AXANXOGGPLAYER DIALOG  34, 22, 260, 55
+STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
 CAPTION "About axAnxOggPlayer Control"
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
 FONT 8, "MS Sans Serif"
 BEGIN
-	ICON            IDI_ABOUTDLL,IDC_STATIC,10,10,20,20
-	LTEXT           "axAnxOggPlayer Control, Version 1.0",IDC_STATIC,40,10,170,8
-	LTEXT           "Copyright (C) 2004, ",IDC_STATIC,40,25,170,8
-	DEFPUSHBUTTON   "OK",IDOK,221,7,32,16,WS_GROUP
+    ICON            IDI_ABOUTDLL,IDC_STATIC,10,10,20,20
+    LTEXT           "axAnxOggPlayer Control, Version 1.0",IDC_STATIC,40,10,
+                    170,8
+    LTEXT           "Copyright (C) 2004, ",IDC_STATIC,40,25,170,8
+    DEFPUSHBUTTON   "OK",IDOK,221,7,32,16,WS_GROUP
 END
 
-IDD_PROPPAGE_AXANXOGGPLAYER DIALOG   0, 0, 250, 62
-STYLE WS_CHILD
+IDD_PROPPAGE_AXANXOGGPLAYER DIALOG  0, 0, 250, 62
+STYLE DS_SETFONT | WS_CHILD
 FONT 8, "MS Sans Serif"
 BEGIN
     LTEXT           "TODO: Place controls to manipulate properties of axAnxOggPlayer Control on this dialog.",
                     IDC_STATIC,7,25,229,16
 END
 
+IDD_DIALOG1 DIALOGEX 0, 0, 356, 265
+STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_BORDER | 
+    WS_SYSMENU
+FONT 8, "MS Shell Dlg", 400, 0, 0x1
+BEGIN
+    LTEXT           "Static",IDC_STATIC,27,20,80,18
+END
 
+
 /////////////////////////////////////////////////////////////////////////////
 //
 // DESIGNINFO
 //
 
 #ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO  
+GUIDELINES DESIGNINFO 
 BEGIN
     IDD_ABOUTBOX_AXANXOGGPLAYER, DIALOG
     BEGIN
@@ -134,6 +151,7 @@
         TOPMARGIN, 7
         BOTTOMMARGIN, 48
     END
+
     IDD_PROPPAGE_AXANXOGGPLAYER, DIALOG
     BEGIN
         LEFTMARGIN, 7
@@ -141,9 +159,18 @@
         TOPMARGIN, 7
         BOTTOMMARGIN, 55
     END
+
+    IDD_DIALOG1, DIALOG
+    BEGIN
+        LEFTMARGIN, 7
+        RIGHTMARGIN, 349
+        TOPMARGIN, 7
+        BOTTOMMARGIN, 258
+    END
 END
 #endif    // APSTUDIO_INVOKED
 
+
 /////////////////////////////////////////////////////////////////////////////
 //
 // String Table
@@ -151,13 +178,20 @@
 
 STRINGTABLE 
 BEGIN
-	IDS_AXANXOGGPLAYER               "axAnxOggPlayer Control"
-	IDS_AXANXOGGPLAYER_PPG           "axAnxOggPlayer Property Page"
-	IDS_AXANXOGGPLAYER_PPG_CAPTION   "General"
+    IDS_AXANXOGGPLAYER      "axAnxOggPlayer Control"
+    IDS_AXANXOGGPLAYER_PPG  "axAnxOggPlayer Property Page"
+END
 
+STRINGTABLE 
+BEGIN
+    IDS_AXANXOGGPLAYER_PPG_CAPTION "General"
 END
 
+#endif    // English (Australia) resources
+/////////////////////////////////////////////////////////////////////////////
 
+
+
 #ifndef APSTUDIO_INVOKED
 /////////////////////////////////////////////////////////////////////////////
 //

Modified: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer.vcproj
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer.vcproj	2004-10-24 06:07:26 UTC (rev 8072)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer.vcproj	2004-10-24 06:50:59 UTC (rev 8073)
@@ -153,6 +153,9 @@
 				RelativePath=".\axAnxOggPlayerPropPage.cpp">
 			</File>
 			<File
+				RelativePath=".\ControlDialog.cpp">
+			</File>
+			<File
 				RelativePath=".\stdafx.cpp">
 				<FileConfiguration
 					Name="Debug|Win32">
@@ -182,6 +185,9 @@
 				RelativePath=".\axAnxOggPlayerPropPage.h">
 			</File>
 			<File
+				RelativePath=".\ControlDialog.h">
+			</File>
+			<File
 				RelativePath=".\Resource.h">
 			</File>
 			<File
@@ -207,5 +213,8 @@
 		</File>
 	</Files>
 	<Globals>
+		<Global
+			Name="RESOURCE_FILE"
+			Value="axAnxOggPlayer.rc"/>
 	</Globals>
 </VisualStudioProject>

Modified: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.cpp
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.cpp	2004-10-24 06:07:26 UTC (rev 8072)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.cpp	2004-10-24 06:50:59 UTC (rev 8073)
@@ -4,6 +4,7 @@
 #include "axAnxOggPlayer.h"
 #include "axAnxOggPlayerCtrl.h"
 #include "axAnxOggPlayerPropPage.h"
+#include ".\axanxoggplayerctrl.h"
 
 
 #ifdef _DEBUG
@@ -20,6 +21,7 @@
 BEGIN_MESSAGE_MAP(CaxAnxOggPlayerCtrl, COleControl)
 	ON_MESSAGE(OCM_COMMAND, OnOcmCommand)
 	ON_OLEVERB(AFX_IDS_VERB_PROPERTIES, OnProperties)
+	ON_WM_CREATE()
 END_MESSAGE_MAP()
 
 
@@ -214,3 +216,14 @@
 
 
 // CaxAnxOggPlayerCtrl message handlers
+
+int CaxAnxOggPlayerCtrl::OnCreate(LPCREATESTRUCT lpCreateStruct)
+{
+	if (COleControl::OnCreate(lpCreateStruct) == -1)
+		return -1;
+
+	// TODO:  Add your specialized creation code here
+	mDialog.Create(IDD_DIALOG1, this);
+	mDialog.ShowWindow(TRUE);
+	return 0;
+}

Modified: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.h
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.h	2004-10-24 06:07:26 UTC (rev 8072)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayerCtrl.h	2004-10-24 06:50:59 UTC (rev 8073)
@@ -1,4 +1,5 @@
 #pragma once
+#include "controldialog.h"
 
 // axAnxOggPlayerCtrl.h : Declaration of the CaxAnxOggPlayerCtrl ActiveX Control class.
 
@@ -48,5 +49,9 @@
 public:
 	enum {
 	};
+protected:
+	CControlDialog mDialog;
+public:
+	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
 };
 

Added: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer_i.c
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer_i.c	2004-10-24 06:07:26 UTC (rev 8072)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayer_i.c	2004-10-24 06:50:59 UTC (rev 8073)
@@ -0,0 +1,93 @@
+
+
+/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
+
+/* link this file in with the server and any clients */
+
+
+ /* File created by MIDL compiler version 6.00.0361 */
+/* at Sun Oct 24 15:14:10 2004
+ */
+/* Compiler settings for .\axAnxOggPlayer.idl:
+    Oicf, W1, Zp8, env=Win32 (32b run)
+    protocol : dce , ms_ext, c_ext, robust
+    error checks: allocation ref bounds_check enum stub_data 
+    VC __declspec() decoration level: 
+         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
+         DECLSPEC_UUID(), MIDL_INTERFACE()
+*/
+//@@MIDL_FILE_HEADING(  )
+
+#if !defined(_M_IA64) && !defined(_M_AMD64)
+
+
+#pragma warning( disable: 4049 )  /* more than 64k source lines */
+
+
+#ifdef __cplusplus
+extern "C"{
+#endif 
+
+
+#include <rpc.h>
+#include <rpcndr.h>
+
+#ifdef _MIDL_USE_GUIDDEF_
+
+#ifndef INITGUID
+#define INITGUID
+#include <guiddef.h>
+#undef INITGUID
+#else
+#include <guiddef.h>
+#endif
+
+#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
+        DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
+
+#else // !_MIDL_USE_GUIDDEF_
+
+#ifndef __IID_DEFINED__
+#define __IID_DEFINED__
+
+typedef struct _IID
+{
+    unsigned long x;
+    unsigned short s1;
+    unsigned short s2;
+    unsigned char  c[8];
+} IID;
+
+#endif // __IID_DEFINED__
+
+#ifndef CLSID_DEFINED
+#define CLSID_DEFINED
+typedef IID CLSID;
+#endif // CLSID_DEFINED
+
+#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
+        const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
+
+#endif !_MIDL_USE_GUIDDEF_
+
+MIDL_DEFINE_GUID(IID, LIBID_axAnxOggPlayerLib,0x375E2E46,0x3968,0x41FA,0x99,0xBE,0x35,0x52,0x3D,0xC5,0x7B,0x4E);
+
+
+MIDL_DEFINE_GUID(IID, DIID__DaxAnxOggPlayer,0xB878657F,0xFA23,0x4915,0x8E,0x80,0x66,0x64,0xF1,0x73,0x8B,0xEF);
+
+
+MIDL_DEFINE_GUID(IID, DIID__DaxAnxOggPlayerEvents,0x380DE0F9,0x05B8,0x4D01,0x92,0x21,0xC6,0x48,0xBC,0x43,0x24,0x23);
+
+
+MIDL_DEFINE_GUID(CLSID, CLSID_axAnxOggPlayer,0x9B80DAA5,0xBCFA,0x44F8,0xB2,0xAA,0xB2,0xEC,0xF8,0x06,0x02,0xA1);
+
+#undef MIDL_DEFINE_GUID
+
+#ifdef __cplusplus
+}
+#endif
+
+
+
+#endif /* !defined(_M_IA64) && !defined(_M_AMD64)*/
+

Added: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayeridl.h
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayeridl.h	2004-10-24 06:07:26 UTC (rev 8072)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/axAnxOggPlayeridl.h	2004-10-24 06:50:59 UTC (rev 8073)
@@ -0,0 +1,316 @@
+
+
+/* this ALWAYS GENERATED file contains the definitions for the interfaces */
+
+
+ /* File created by MIDL compiler version 6.00.0361 */
+/* at Sun Oct 24 15:14:10 2004
+ */
+/* Compiler settings for .\axAnxOggPlayer.idl:
+    Oicf, W1, Zp8, env=Win32 (32b run)
+    protocol : dce , ms_ext, c_ext, robust
+    error checks: allocation ref bounds_check enum stub_data 
+    VC __declspec() decoration level: 
+         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
+         DECLSPEC_UUID(), MIDL_INTERFACE()
+*/
+//@@MIDL_FILE_HEADING(  )
+
+#pragma warning( disable: 4049 )  /* more than 64k source lines */
+
+
+/* verify that the <rpcndr.h> version is high enough to compile this file*/
+#ifndef __REQUIRED_RPCNDR_H_VERSION__
+#define __REQUIRED_RPCNDR_H_VERSION__ 475
+#endif
+
+#include "rpc.h"
+#include "rpcndr.h"
+
+#ifndef __RPCNDR_H_VERSION__
+#error this stub requires an updated version of <rpcndr.h>
+#endif // __RPCNDR_H_VERSION__
+
+
+#ifndef __axAnxOggPlayeridl_h__
+#define __axAnxOggPlayeridl_h__
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+#pragma once
+#endif
+
+/* Forward Declarations */ 
+
+#ifndef ___DaxAnxOggPlayer_FWD_DEFINED__
+#define ___DaxAnxOggPlayer_FWD_DEFINED__
+typedef interface _DaxAnxOggPlayer _DaxAnxOggPlayer;
+#endif 	/* ___DaxAnxOggPlayer_FWD_DEFINED__ */
+
+
+#ifndef ___DaxAnxOggPlayerEvents_FWD_DEFINED__
+#define ___DaxAnxOggPlayerEvents_FWD_DEFINED__
+typedef interface _DaxAnxOggPlayerEvents _DaxAnxOggPlayerEvents;
+#endif 	/* ___DaxAnxOggPlayerEvents_FWD_DEFINED__ */
+
+
+#ifndef __axAnxOggPlayer_FWD_DEFINED__
+#define __axAnxOggPlayer_FWD_DEFINED__
+
+#ifdef __cplusplus
+typedef class axAnxOggPlayer axAnxOggPlayer;
+#else
+typedef struct axAnxOggPlayer axAnxOggPlayer;
+#endif /* __cplusplus */
+
+#endif 	/* __axAnxOggPlayer_FWD_DEFINED__ */
+
+
+#ifdef __cplusplus
+extern "C"{
+#endif 
+
+void * __RPC_USER MIDL_user_allocate(size_t);
+void __RPC_USER MIDL_user_free( void * ); 
+
+
+#ifndef __axAnxOggPlayerLib_LIBRARY_DEFINED__
+#define __axAnxOggPlayerLib_LIBRARY_DEFINED__
+
+/* library axAnxOggPlayerLib */
+/* [control][helpstring][helpfile][version][uuid] */ 
+
+
+EXTERN_C const IID LIBID_axAnxOggPlayerLib;
+
+#ifndef ___DaxAnxOggPlayer_DISPINTERFACE_DEFINED__
+#define ___DaxAnxOggPlayer_DISPINTERFACE_DEFINED__
+
+/* dispinterface _DaxAnxOggPlayer */
+/* [helpstring][uuid] */ 
+
+
+EXTERN_C const IID DIID__DaxAnxOggPlayer;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+    MIDL_INTERFACE("B878657F-FA23-4915-8E80-6664F1738BEF")
+    _DaxAnxOggPlayer : public IDispatch
+    {
+    };
+    
+#else 	/* C style interface */
+
+    typedef struct _DaxAnxOggPlayerVtbl
+    {
+        BEGIN_INTERFACE
+        
+        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
+            _DaxAnxOggPlayer * This,
+            /* [in] */ REFIID riid,
+            /* [iid_is][out] */ void **ppvObject);
+        
+        ULONG ( STDMETHODCALLTYPE *AddRef )( 
+            _DaxAnxOggPlayer * This);
+        
+        ULONG ( STDMETHODCALLTYPE *Release )( 
+            _DaxAnxOggPlayer * This);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
+            _DaxAnxOggPlayer * This,
+            /* [out] */ UINT *pctinfo);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
+            _DaxAnxOggPlayer * This,
+            /* [in] */ UINT iTInfo,
+            /* [in] */ LCID lcid,
+            /* [out] */ ITypeInfo **ppTInfo);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
+            _DaxAnxOggPlayer * This,
+            /* [in] */ REFIID riid,
+            /* [size_is][in] */ LPOLESTR *rgszNames,
+            /* [in] */ UINT cNames,
+            /* [in] */ LCID lcid,
+            /* [size_is][out] */ DISPID *rgDispId);
+        
+        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
+            _DaxAnxOggPlayer * This,
+            /* [in] */ DISPID dispIdMember,
+            /* [in] */ REFIID riid,
+            /* [in] */ LCID lcid,
+            /* [in] */ WORD wFlags,
+            /* [out][in] */ DISPPARAMS *pDispParams,
+            /* [out] */ VARIANT *pVarResult,
+            /* [out] */ EXCEPINFO *pExcepInfo,
+            /* [out] */ UINT *puArgErr);
+        
+        END_INTERFACE
+    } _DaxAnxOggPlayerVtbl;
+
+    interface _DaxAnxOggPlayer
+    {
+        CONST_VTBL struct _DaxAnxOggPlayerVtbl *lpVtbl;
+    };
+
+    
+
+#ifdef COBJMACROS
+
+
+#define _DaxAnxOggPlayer_QueryInterface(This,riid,ppvObject)	\
+    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
+
+#define _DaxAnxOggPlayer_AddRef(This)	\
+    (This)->lpVtbl -> AddRef(This)
+
+#define _DaxAnxOggPlayer_Release(This)	\
+    (This)->lpVtbl -> Release(This)
+
+
+#define _DaxAnxOggPlayer_GetTypeInfoCount(This,pctinfo)	\
+    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
+
+#define _DaxAnxOggPlayer_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
+    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
+
+#define _DaxAnxOggPlayer_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
+    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
+
+#define _DaxAnxOggPlayer_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
+    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
+
+#endif /* COBJMACROS */
+
+
+#endif 	/* C style interface */
+
+
+#endif 	/* ___DaxAnxOggPlayer_DISPINTERFACE_DEFINED__ */
+
+
+#ifndef ___DaxAnxOggPlayerEvents_DISPINTERFACE_DEFINED__
+#define ___DaxAnxOggPlayerEvents_DISPINTERFACE_DEFINED__
+
+/* dispinterface _DaxAnxOggPlayerEvents */
+/* [helpstring][uuid] */ 
+
+
+EXTERN_C const IID DIID__DaxAnxOggPlayerEvents;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+    MIDL_INTERFACE("380DE0F9-05B8-4D01-9221-C648BC432423")
+    _DaxAnxOggPlayerEvents : public IDispatch
+    {
+    };
+    
+#else 	/* C style interface */
+
+    typedef struct _DaxAnxOggPlayerEventsVtbl
+    {
+        BEGIN_INTERFACE
+        
+        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
+            _DaxAnxOggPlayerEvents * This,
+            /* [in] */ REFIID riid,
+            /* [iid_is][out] */ void **ppvObject);
+        
+        ULONG ( STDMETHODCALLTYPE *AddRef )( 
+            _DaxAnxOggPlayerEvents * This);
+        
+        ULONG ( STDMETHODCALLTYPE *Release )( 
+            _DaxAnxOggPlayerEvents * This);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
+            _DaxAnxOggPlayerEvents * This,
+            /* [out] */ UINT *pctinfo);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
+            _DaxAnxOggPlayerEvents * This,
+            /* [in] */ UINT iTInfo,
+            /* [in] */ LCID lcid,
+            /* [out] */ ITypeInfo **ppTInfo);
+        
+        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
+            _DaxAnxOggPlayerEvents * This,
+            /* [in] */ REFIID riid,
+            /* [size_is][in] */ LPOLESTR *rgszNames,
+            /* [in] */ UINT cNames,
+            /* [in] */ LCID lcid,
+            /* [size_is][out] */ DISPID *rgDispId);
+        
+        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
+            _DaxAnxOggPlayerEvents * This,
+            /* [in] */ DISPID dispIdMember,
+            /* [in] */ REFIID riid,
+            /* [in] */ LCID lcid,
+            /* [in] */ WORD wFlags,
+            /* [out][in] */ DISPPARAMS *pDispParams,
+            /* [out] */ VARIANT *pVarResult,
+            /* [out] */ EXCEPINFO *pExcepInfo,
+            /* [out] */ UINT *puArgErr);
+        
+        END_INTERFACE
+    } _DaxAnxOggPlayerEventsVtbl;
+
+    interface _DaxAnxOggPlayerEvents
+    {
+        CONST_VTBL struct _DaxAnxOggPlayerEventsVtbl *lpVtbl;
+    };
+
+    
+
+#ifdef COBJMACROS
+
+
+#define _DaxAnxOggPlayerEvents_QueryInterface(This,riid,ppvObject)	\
+    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
+
+#define _DaxAnxOggPlayerEvents_AddRef(This)	\
+    (This)->lpVtbl -> AddRef(This)
+
+#define _DaxAnxOggPlayerEvents_Release(This)	\
+    (This)->lpVtbl -> Release(This)
+
+
+#define _DaxAnxOggPlayerEvents_GetTypeInfoCount(This,pctinfo)	\
+    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
+
+#define _DaxAnxOggPlayerEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
+    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
+
+#define _DaxAnxOggPlayerEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
+    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
+
+#define _DaxAnxOggPlayerEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
+    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
+
+#endif /* COBJMACROS */
+
+
+#endif 	/* C style interface */
+
+
+#endif 	/* ___DaxAnxOggPlayerEvents_DISPINTERFACE_DEFINED__ */
+
+
+EXTERN_C const CLSID CLSID_axAnxOggPlayer;
+
+#ifdef __cplusplus
+
+class DECLSPEC_UUID("9B80DAA5-BCFA-44F8-B2AA-B2ECF80602A1")
+axAnxOggPlayer;
+#endif
+#endif /* __axAnxOggPlayerLib_LIBRARY_DEFINED__ */
+
+/* Additional Prototypes for ALL interfaces */
+
+/* end of Additional Prototypes */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
+

Modified: trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/stdafx.h
===================================================================
--- trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/stdafx.h	2004-10-24 06:07:26 UTC (rev 8072)
+++ trunk/oggdsf/src/lib/plugin/axAnxOggPlayer/stdafx.h	2004-10-24 06:50:59 UTC (rev 8073)
@@ -39,4 +39,5 @@
 //  database classes
 #include <afxdb.h>			// MFC database classes
 #include <afxdao.h>			// MFC DAO database classes
+#include <afxwin.h>
 



More information about the commits mailing list