mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Mac gcc compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25608 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0915d57aa2
commit
9055871c15
@ -40,10 +40,6 @@ static CacheType preview_cache_;
|
||||
}
|
||||
|
||||
|
||||
Previews::Previews()
|
||||
{}
|
||||
|
||||
|
||||
PreviewLoader & Previews::loader(Buffer const & buffer) const
|
||||
{
|
||||
CacheType::iterator it = preview_cache_.find(&buffer);
|
||||
|
@ -26,6 +26,9 @@ class PreviewLoader;
|
||||
|
||||
class Previews {
|
||||
public:
|
||||
/// This should be a singleton class only instanciated in LyX.cpp.
|
||||
Previews() {}
|
||||
|
||||
/// a wrapper for lyxrc.preview
|
||||
static LyXRC_PreviewStatus status();
|
||||
|
||||
@ -44,15 +47,9 @@ public:
|
||||
void generateBufferPreviews(Buffer const & buffer) const;
|
||||
|
||||
private:
|
||||
friend class LyX;
|
||||
/// noncopyable
|
||||
Previews(Previews const &);
|
||||
void operator=(Previews const &);
|
||||
|
||||
/** Make the c-tor, d-tor private so we can control how many objects
|
||||
* are instantiated.
|
||||
*/
|
||||
Previews();
|
||||
};
|
||||
|
||||
} // namespace graphics
|
||||
|
Loading…
Reference in New Issue
Block a user