*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <vlc/vlc.h>
-#include <vlc/vout.h>
-#include <vlc/intf.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <vlc_common.h>
+#include <vlc_vout.h>
+#include <vlc_interface.h>
#include "wince.h"
unsigned int * );
void ReleaseWindow( void * );
int ControlWindow( void *, int, va_list );
-
+
HWND p_child_window; // public because of menu
private:
p_parent = _p_parent;
p_child_window = NULL;
- vlc_mutex_init( p_intf, &lock );
+ vlc_mutex_init( &lock );
p_vout = NULL;
- p_intf->pf_request_window = ::GetWindow;
- p_intf->pf_release_window = ::ReleaseWindow;
- p_intf->pf_control_window = ::ControlWindow;
+ // Changeset 138da19...
+ //p_intf->pf_request_window = ::GetWindow;
+ //p_intf->pf_release_window = ::ReleaseWindow;
+ //p_intf->pf_control_window = ::ControlWindow;
p_intf->p_sys->p_video_window = this;
FUNCTION:
WndProc
-PURPOSE:
+PURPOSE:
Processes messages sent to the main window.
***********************************************************************/
switch( msg )
{
case WM_KILLFOCUS:
- if( p_vout )
- vout_Control( p_vout, VOUT_SET_FOCUS, (vlc_bool_t)VLC_FALSE );
return TRUE;
case WM_SETFOCUS:
- if( p_vout )
- vout_Control( p_vout, VOUT_SET_FOCUS, (vlc_bool_t)VLC_TRUE );
return TRUE;
default: