]>
Commit | Line | Data |
---|---|---|
716cd410 KB |
1 | /**************************************************************************** |
2 | * | |
3 | * wxWindows HTML Applet Package | |
4 | * | |
5 | * Copyright (C) 1991-2001 SciTech Software, Inc. | |
6 | * All rights reserved. | |
7 | * | |
8 | * ======================================================================== | |
9 | * | |
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 | |
14 | * | |
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. | |
19 | * | |
20 | * ======================================================================== | |
21 | * | |
22 | * Language: ANSI C++ | |
23 | * Environment: Any | |
24 | * | |
25 | * Description: Header file for the Preprocessor of the #include directive | |
26 | * in wxHTML. | |
27 | * | |
28 | ****************************************************************************/ | |
29 | ||
30 | #ifndef __WX_PREPINCLUDE_H | |
31 | #define __WX_PREPINCLUDE_H | |
32 | ||
574c939e | 33 | #include "wx/object.h" |
716cd410 KB |
34 | #include "wx/html/htmlproc.h" |
35 | ||
574c939e KB |
36 | /*------------------------------- Prototypes ------------------------------*/ |
37 | ||
38 | class wxFileSystem; | |
39 | ||
716cd410 KB |
40 | /*--------------------------- Class Definitions ---------------------------*/ |
41 | ||
42 | /**************************************************************************** | |
43 | REMARKS: | |
44 | wxIncludePrep class Definition | |
45 | ****************************************************************************/ | |
46 | class wxIncludePrep : public wxHtmlProcessor { | |
47 | private: | |
48 | //DECLARE_DYNAMIC_CLASS(wxIncludePrep); | |
19193a2c | 49 | wxFileSystem *m_FS; |
716cd410 | 50 | public: |
19193a2c | 51 | wxIncludePrep() : wxHtmlProcessor() {} |
716cd410 KB |
52 | ~wxIncludePrep() {} |
53 | ||
54 | // Process input text and return processed result | |
55 | wxString Process(const wxString& text) const; | |
56 | ||
57 | // Return priority value of this processor. The higher, the sooner | |
58 | // is the processor applied to the text. | |
59 | int GetPriority() const { return wxHTML_PRIORITY_SYSTEM; } | |
60 | ||
19193a2c | 61 | void ChangeDirectory(wxFileSystem *); |
716cd410 KB |
62 | }; |
63 | ||
64 | ||
65 | #endif // __WX_PREPINCLUDE_H | |
66 |