inherit privately from noncopyable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1926 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2001-04-17 14:00:20 +00:00
parent 57b5d0651c
commit 0b98ee5f2e
7 changed files with 13 additions and 6 deletions

View File

@ -1,5 +1,12 @@
2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lastfiles.h: inherit privately from noncopyable
* layout.h: ditto
* lyx_gui.h: ditto
* lyx_main.h: ditto
* lyxlex.h: ditto
* lyxlex_pimpl.h: ditto
* commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP

View File

@ -27,7 +27,7 @@
kept are user defined, but defaults to four.
@author Lars Gullik Bjønnes
*/
class LastFiles : public boost::noncopyable {
class LastFiles : boost::noncopyable {
public:
///
typedef std::deque<string> Files;

View File

@ -547,7 +547,7 @@ std::ostream & operator<<(std::ostream & os, LyXTextClass::PageSides p);
///
class LyXTextClassList : public boost::noncopyable {
class LyXTextClassList : boost::noncopyable {
public:
///
typedef std::vector<LyXTextClass> ClassList;

View File

@ -28,7 +28,7 @@ class Buffer;
have not clearly figured out how this class is going to be, suggestions
are welcome. (Lgb)
*/
class LyXGUI : public boost::noncopyable {
class LyXGUI : boost::noncopyable {
public:
/** The only constructor allowed.
If gui is false, LyX will operate in non-X mode

View File

@ -44,7 +44,7 @@ extern LastFiles * lastfiles; /* we should hopefully be able to move this
/**
This is the main LyX object it encapsulates most of the other objects.
*/
class LyX : public boost::noncopyable {
class LyX : boost::noncopyable {
public:
/// the only allowed constructor
LyX(int * argc, char * argv[]); // constructor

View File

@ -29,7 +29,7 @@ struct keyword_item {
texclass and others to come.
@see lyxrc.C for an example of usage.
*/
class LyXLex : public boost::noncopyable {
class LyXLex : boost::noncopyable {
public:
///
LyXLex (keyword_item *, int);

View File

@ -14,7 +14,7 @@
#endif
///
struct LyXLex::Pimpl : public boost::noncopyable {
struct LyXLex::Pimpl : boost::noncopyable {
///
enum {
///