Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

oleinplaceactiveobject.cpp

00001 /*****************************************************************************
00002  * oleinplaceactiveobject.cpp: ActiveX control for VLC
00003  *****************************************************************************
00004  * Copyright (C) 2005 the VideoLAN team
00005  *
00006  * Authors: Damien Fouilleul <[email protected]>
00007  *
00008  * This program is free software; you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation; either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
00021  *****************************************************************************/
00022 
00023 #include "plugin.h"
00024 #include "oleinplaceactiveobject.h"
00025 
00026 using namespace std;
00027 
00028 STDMETHODIMP VLCOleInPlaceActiveObject::GetWindow(HWND *pHwnd)
00029 {
00030     if( NULL == pHwnd )
00031         return E_POINTER;
00032 
00033     *pHwnd = NULL;
00034     if( _p_instance->isInPlaceActive() )
00035     {
00036         if( NULL != (*pHwnd = _p_instance->getInPlaceWindow()) )
00037             return S_OK;
00038     }
00039     return E_FAIL;
00040 };
00041 
00042 STDMETHODIMP VLCOleInPlaceActiveObject::EnableModeless(BOOL fEnable)
00043 {
00044     return E_NOTIMPL;
00045 };
00046 
00047 STDMETHODIMP VLCOleInPlaceActiveObject::ContextSensitiveHelp(BOOL fEnterMode)
00048 {
00049     return E_NOTIMPL;
00050 };
00051 
00052 STDMETHODIMP VLCOleInPlaceActiveObject::TranslateAccelerator(LPMSG lpmsg)
00053 {
00054     return E_NOTIMPL;
00055 };
00056 
00057 STDMETHODIMP VLCOleInPlaceActiveObject::OnFrameWindowActivate(BOOL fActivate)
00058 {
00059     return E_NOTIMPL;
00060 };
00061 
00062 STDMETHODIMP VLCOleInPlaceActiveObject::OnDocWindowActivate(BOOL fActivate)
00063 {
00064     return E_NOTIMPL;
00065 };
00066 
00067 STDMETHODIMP VLCOleInPlaceActiveObject::ResizeBorder(LPCRECT prcBorder, LPOLEINPLACEUIWINDOW pUIWindow, BOOL fFrameWindow)
00068 {
00069     return E_NOTIMPL;
00070 };
00071 

Generated on Tue Dec 20 10:14:18 2005 for vlc-0.8.4a by  doxygen 1.4.2