mirror of
https://github.com/znc/znc.git
synced 2026-07-05 09:21:31 +02:00
Modules can now embed web stuff directly to other web pages which support this feature.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2128 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -313,6 +313,16 @@ public:
|
||||
* @return The List.
|
||||
*/
|
||||
virtual VWebSubPages& GetSubPages() { return m_vSubPages; }
|
||||
/** Using this hook, module can embed web stuff directly to different places.
|
||||
* This method is called whenever embededded modules I/O happens.
|
||||
* Name of used .tmpl file (if any) is up to caller.
|
||||
* @param WebSock Socket for web connection, don't do bad things with it.
|
||||
* @param sPageName Describes the place where web stuff is embedded to.
|
||||
* @param Tmpl Template. Depending on context, you can do various stuff with it.
|
||||
* @return If you don't need to embed web stuff to the specified place, just return false.
|
||||
* Exact meaning of return value is up to caller, and depends on context.
|
||||
*/
|
||||
virtual bool OnEmbeddedWebRequest(CWebSock& WebSock, const CString& sPageName, CTemplate& Tmpl);
|
||||
|
||||
|
||||
/** Called just before znc.conf is rehashed */
|
||||
|
||||
Reference in New Issue
Block a user