mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
reintrodoce operator<< fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1162 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b79364e5ae
commit
a235c8b10f
@ -23,6 +23,8 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <boost/utility.hpp>
|
#include <boost/utility.hpp>
|
||||||
|
|
||||||
|
#include "support/LOstream.h"
|
||||||
|
|
||||||
/** An abstract base class for button policies.
|
/** An abstract base class for button policies.
|
||||||
A state machine implementation of the various button policies used by the
|
A state machine implementation of the various button policies used by the
|
||||||
dialogs. Only the policy is implemented here. Separate ButtonController
|
dialogs. Only the policy is implemented here. Separate ButtonController
|
||||||
@ -158,6 +160,22 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
inline
|
||||||
|
std::ostream & operator<<(std::ostream & os, ButtonPolicy::State st)
|
||||||
|
{
|
||||||
|
os << int(st);
|
||||||
|
return os;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
inline
|
||||||
|
std::ostream & operator<<(std::ostream & os, ButtonPolicy::SMInput smi)
|
||||||
|
{
|
||||||
|
os << int(smi);
|
||||||
|
return os;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//--------------------- Actual Policy Classes -----------------------------
|
//--------------------- Actual Policy Classes -----------------------------
|
||||||
|
|
||||||
/** Ok and Cancel buttons for dialogs with read-only operation.
|
/** Ok and Cancel buttons for dialogs with read-only operation.
|
||||||
|
Loading…
Reference in New Issue
Block a user