2000-03-12 10:36:28 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
|
|
|
|
#ifndef TOOLBARDEFAULTS_H
|
|
|
|
#define TOOLBARDEFAULTS_H
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include "LString.h"
|
|
|
|
|
|
|
|
class LyXLex;
|
|
|
|
|
|
|
|
///
|
|
|
|
class ToolbarDefaults {
|
|
|
|
public:
|
|
|
|
///
|
2000-04-04 00:19:15 +00:00
|
|
|
typedef std::vector<int> Defaults;
|
2000-03-12 10:36:28 +00:00
|
|
|
///
|
|
|
|
typedef Defaults::iterator iterator;
|
|
|
|
///
|
|
|
|
typedef Defaults::const_iterator const_iterator;
|
|
|
|
///
|
|
|
|
ToolbarDefaults();
|
|
|
|
///
|
|
|
|
iterator begin() {
|
|
|
|
return defaults.begin();
|
|
|
|
}
|
|
|
|
///
|
|
|
|
const_iterator begin() const {
|
|
|
|
return defaults.begin();
|
|
|
|
}
|
|
|
|
///
|
|
|
|
iterator end() {
|
|
|
|
return defaults.end();
|
|
|
|
}
|
|
|
|
///
|
|
|
|
const_iterator end() const {
|
|
|
|
return defaults.end();
|
|
|
|
}
|
|
|
|
///
|
|
|
|
void read(LyXLex &);
|
|
|
|
private:
|
|
|
|
///
|
|
|
|
void init();
|
|
|
|
/// This func is just to make it easy for me...
|
|
|
|
void add(int);
|
|
|
|
///
|
|
|
|
void add(string const &);
|
|
|
|
///
|
|
|
|
Defaults defaults;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|