]> git.lyx.org Git - lyx.git/blobdiff - src/insets/graphicinset.h
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / graphicinset.h
index a111f44bd7f9a0dbc6ee5df5c7aedf9d11f325ef..cccc74b892f0adbad580e7cd6d0420db9e927ad4 100644 (file)
@@ -22,6 +22,7 @@
 #include <boost/signals/signal0.hpp>
 
 
+class BufferView;
 class MetricsInfo;
 class PainterInfo;
 
@@ -42,8 +43,6 @@ public:
        
        /// Refresh the info about which file to display and how to display it.
        void update(grfx::Params const & params);
-       /// File name, image size, rotation angle etc.
-       grfx::Params const & params() const;
 
        /// compute the size of the object returned in dim
        void metrics(MetricsInfo & mi, Dimension & dim) const;
@@ -52,8 +51,6 @@ public:
 
        /// Is the stored checksum different to that of the graphics loader?
        bool hasFileChanged() const;
-       /// Set the cached store.
-       void view(BufferView *) const;
        /// An accessor function to the cached store.
        BufferView * view() const;
 
@@ -63,10 +60,13 @@ public:
        typedef boost::signal0<void>::slot_type slot_type;
        boost::signals::connection connect(slot_type const &) const;
 
+private:
+       /// Not implemented.
+       GraphicInset & operator=(GraphicInset const &);
+
        /// The message to display instead of the graphic itself.
        string const statusMessage() const;
 
-private:
        enum DisplayType {
                IMAGE,
                STATUS_MESSAGE,