mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 19:59:46 +00:00
9ce32d63e5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@529 a592a061-630c-0410-9148-cb99ea01b6c8
50 lines
780 B
C++
50 lines
780 B
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995-2000 The LyX Team.
|
|
*
|
|
* This file is Copyright 1999
|
|
* Kayvan A. Sylvan
|
|
*
|
|
* ======================================================
|
|
*/
|
|
|
|
#ifndef IMPORTNOWEB_H
|
|
#define IMPORTNOWEB_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "LString.h"
|
|
|
|
class Buffer;
|
|
|
|
///
|
|
class ImportNoweb {
|
|
public:
|
|
/**
|
|
file = name and path of the noweb file to import
|
|
*/
|
|
ImportNoweb(string const & file) : file(file) {}
|
|
|
|
/** Imports the document.
|
|
Return 0 if fail.
|
|
*/
|
|
Buffer * run();
|
|
private:
|
|
///
|
|
string file;
|
|
///
|
|
string documentclass();
|
|
///
|
|
enum {
|
|
BUFSIZE = 512
|
|
};
|
|
};
|
|
|
|
#endif
|