]> git.lyx.org Git - lyx.git/blob - src/ImportNoweb.h
white-space changes, removed definitions.h several enum changes because of this,...
[lyx.git] / src / ImportNoweb.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  * 
5  *           LyX, The Document Processor
6  *
7  *           Copyright (C) 1995-1999 The LyX Team.
8  *
9  *           This file is Copyright (C) 1999
10  *           Kayvan A. Sylvan
11  *
12  * ====================================================== 
13  */
14
15 #ifndef IMPORTNOWEB_H
16 #define IMPORTNOWEB_H
17
18 #ifdef __GNUG__
19 #pragma interface
20 #endif
21
22 #include "LString.h"
23
24 class Buffer;
25
26 ///
27 class ImportNoweb {
28 public:
29         /**
30           file = name and path of the noweb file to import
31           */
32         ImportNoweb(string const & file) : file(file) {};
33         
34         /** Imports the document.
35           Return 0 if fail.
36           */
37         Buffer * run();
38 private:
39         ///
40         string file;
41         ///
42         string documentclass();
43         ///
44         enum{ 
45                 BUFSIZE = 512 
46         };
47 };
48
49 #endif