mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
44cd0fc9a1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
41 lines
981 B
C++
41 lines
981 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file ControlBibtex.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author John Levon
|
|
* \author Angus Leeming
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef CONTROLBIBTEX_H
|
|
#define CONTROLBIBTEX_H
|
|
|
|
|
|
#include "ControlCommand.h"
|
|
#include <vector>
|
|
|
|
|
|
/** A controller for Bibtex dialogs.
|
|
*/
|
|
class ControlBibtex : public ControlCommand {
|
|
public:
|
|
///
|
|
ControlBibtex(Dialog &);
|
|
|
|
/// Browse for a file
|
|
std::string const Browse(std::string const &, std::string const &, std::string const &);
|
|
/// get the list of bst files
|
|
void getBibStyles(std::vector<std::string> & data) const;
|
|
/// get the list of bib files
|
|
void getBibFiles(std::vector<std::string> & data) const;
|
|
/// build filelists of all availabe bib/bst/cls/sty-files. done through
|
|
/// kpsewhich and an external script, saved in *Files.lst
|
|
void rescanBibStyles() const;
|
|
};
|
|
|
|
|
|
#endif // CONTROLBIBTEX_H
|