]>
git.saurik.com Git - wxWidgets.git/blob - contrib/include/wx/applet/prepinclude.h
1 /****************************************************************************
3 * wxWindows HTML Applet Package
5 * Copyright (C) 1991-2001 SciTech Software, Inc.
8 * ========================================================================
10 * The contents of this file are subject to the wxWindows License
11 * Version 3.0 (the "License"); you may not use this file except in
12 * compliance with the License. You may obtain a copy of the License at
13 * http://www.wxwindows.org/licence3.txt
15 * Software distributed under the License is distributed on an
16 * "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
17 * implied. See the License for the specific language governing
18 * rights and limitations under the License.
20 * ========================================================================
25 * Description: Header file for the Preprocessor of the #include directive
28 ****************************************************************************/
30 #ifndef __WX_PREPINCLUDE_H
31 #define __WX_PREPINCLUDE_H
33 #include "wx/html/htmlproc.h"
35 /*--------------------------- Class Definitions ---------------------------*/
37 /****************************************************************************
39 wxIncludePrep class Definition
40 ****************************************************************************/
41 class wxIncludePrep
: public wxHtmlProcessor
{
43 //DECLARE_DYNAMIC_CLASS(wxIncludePrep);
47 wxIncludePrep() : wxHtmlProcessor() {DOC_ROOT
= wxString("");}
50 // Process input text and return processed result
51 wxString
Process(const wxString
& text
) const;
53 // Return priority value of this processor. The higher, the sooner
54 // is the processor applied to the text.
55 int GetPriority() const { return wxHTML_PRIORITY_SYSTEM
; }
57 void ChangeDirectory(const wxString
&dir
);
58 wxString
GetDirectory() { return DOC_ROOT
; }
62 #endif // __WX_PREPINCLUDE_H