mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Remove unused member function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7870 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fed3c901d1
commit
10cccff7c0
@ -1,3 +1,8 @@
|
||||
2003-10-07 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
|
||||
non-const member function.
|
||||
|
||||
2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
* Makefile.am:
|
||||
|
@ -154,13 +154,6 @@ TemplateManager & TemplateManager::get()
|
||||
}
|
||||
|
||||
|
||||
TemplateManager::Templates &
|
||||
TemplateManager::getTemplates()
|
||||
{
|
||||
return templates;
|
||||
}
|
||||
|
||||
|
||||
TemplateManager::Templates const &
|
||||
TemplateManager::getTemplates() const
|
||||
{
|
||||
|
@ -12,11 +12,11 @@
|
||||
#ifndef EXTERNALTEMPLATE_H
|
||||
#define EXTERNALTEMPLATE_H
|
||||
|
||||
#include <boost/function.hpp>
|
||||
#include <boost/utility.hpp>
|
||||
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class LyXLex;
|
||||
@ -24,7 +24,6 @@ class LyXLex;
|
||||
namespace lyx {
|
||||
namespace external {
|
||||
|
||||
///
|
||||
struct Template {
|
||||
/// We have to have default commands for safety reasons!
|
||||
Template();
|
||||
@ -52,7 +51,6 @@ struct Template {
|
||||
|
||||
/// This is the information needed to support a specific output format
|
||||
struct Format {
|
||||
/// This constructor has to default a command for safety reasons!
|
||||
Format();
|
||||
///
|
||||
void readFormat(LyXLex &);
|
||||
@ -76,7 +74,7 @@ struct Template {
|
||||
|
||||
|
||||
/**
|
||||
A singleton class that manages the external inset templates
|
||||
* A singleton class that manages the external inset templates
|
||||
*/
|
||||
class TemplateManager : boost::noncopyable {
|
||||
public:
|
||||
@ -88,7 +86,7 @@ public:
|
||||
typedef std::map<std::string, std::string> PreambleDefs;
|
||||
|
||||
static TemplateManager & get();
|
||||
Templates & getTemplates();
|
||||
|
||||
Templates const & getTemplates() const;
|
||||
/** return the template by LyX name.
|
||||
* If it isn't found, return 0.
|
||||
|
Loading…
Reference in New Issue
Block a user