htmlbrowserpeer.h

来自「这是VCF框架的代码」· C头文件 代码 · 共 148 行

H
148
字号
#ifndef _VCF_HTMLBROWSERPEER_H__#define _VCF_HTMLBROWSERPEER_H__//HTMLBrowserPeer.h/*Copyright 2000-2004 The VCF Project.Please see License.txt in the top level directorywhere you installed the VCF.*/#if _MSC_VER > 1000#   pragma once#endif#ifndef _VCF_HTMLDOMELEMENTS_H__#include "vcf/HTMLKit/HTMLDOMElements.h"#endifnamespace VCF  {/**\class HTMLBrowserPeer HTMLBrowserPeer.h "vcf/HTMLKit/HTMLBrowserPeer.h"*HTMLBrowserPeer describes*a generic interface for a browser control.*Since browsers have become so common, as well as useful,*it has been added to the set of peers for the ApplicationKit.*/class HTMLKIT_API HTMLBrowserPeer : public VCF::Interface {public:	virtual ~HTMLBrowserPeer(){};	virtual String getCurrentURL() = 0;	virtual void setCurrentURL( const String& url ) = 0;	virtual void goBack() = 0;	virtual void goForward() = 0;	virtual void goHome() = 0;	virtual void refresh() = 0;	virtual bool isLoadingURL() = 0;	virtual void stopLoadingURL() = 0;	virtual void setFromHTML( const String& html ) = 0;	virtual String getTitle() = 0;	virtual void edit( const bool& val ) = 0;	virtual void copy() = 0;	virtual void selectAll() = 0;	virtual void setAllowsPopupWindows( bool val ) = 0;	virtual void setAllowsScrollbars( bool val ) = 0;	virtual void setAllowsTextSelection( bool val ) = 0;	virtual String getElementHTMLText( const String& elementName ) = 0;	virtual void setElementHTMLText( const String& elementName, const String& html ) = 0;	virtual String getElementText( const String& elementName ) = 0;	virtual void setElementText( const String& elementName, const String& text ) = 0;	virtual String getActiveElementID() = 0;	virtual String getElementIDFromPoint( Point* pt ) = 0;	virtual bool setElementClickedEventHandler( const String& elementName, EventHandler* handler ) = 0;	virtual HTMLDocument getDocument() = 0;};}; //end of namespace VCF/***CVS Log info*$Log$*Revision 1.2  2006/04/07 02:35:42  ddiego*initial checkin of merge from 0.6.9 dev branch.**Revision 1.1.2.2  2006/03/14 03:40:22  ddiego*updated htmlkit and internetkit source docs.**Revision 1.1.2.1  2006/03/06 03:48:31  ddiego*more docs, plus update add-ins, plus migrated HTML browser code to a new kit called HTMLKit.**Revision 1.2.6.3  2006/02/15 05:14:33  ddiego*more browser code.**Revision 1.2.6.2  2006/02/14 05:13:09  ddiego*more browser updates.**Revision 1.2.6.1  2006/02/13 05:10:32  ddiego*added better html browser support.**Revision 1.2  2004/08/07 02:49:08  ddiego*merged in the devmain-0-6-5 branch to stable**Revision 1.1.2.3  2004/06/06 07:05:30  marcelloptr*changed macros, text reformatting, copyright sections**Revision 1.1.2.2  2004/04/29 03:43:13  marcelloptr*reformatting of source files: macros and csvlog and copyright sections**Revision 1.1.2.1  2004/04/28 00:28:17  ddiego*migration towards new directory structure**Revision 1.4.4.1  2004/04/26 21:58:41  marcelloptr*changes for dir reorganization: _VCF_MACRO_H__**Revision 1.4  2003/12/18 05:15:58  ddiego*merge from devmain-0-6-2 branch into the stable branch**Revision 1.3.26.2  2003/09/21 04:15:35  ddiego*moved the cvs info data to teh bottom of the header instead of the*top so it is easier to get to the actual header class declarations*instead of having to wade through all the cvs info stuff.**Revision 1.3.26.1  2003/09/12 00:09:33  ddiego*added better tabbing behaviour - fixed an earlier bug.*Code is easier to understand and it simplified the implementation*a bit as well*Moved around the RTTI definitions for various Appkit classes to a*single inline and stripped them from the various class headers**Revision 1.3  2002/01/24 01:46:48  ddiego*added a cvs "log" comment to the top of all files in vcf/src and vcf/include*to facilitate change tracking**/#endif // _VCF_HTMLBROWSERPEER_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?