diff --git a/sc/source/ui/inc/datastreams.hxx b/sc/source/ui/inc/datastreams.hxx index 124ebefc5c35..8233be1f492e 100644 --- a/sc/source/ui/inc/datastreams.hxx +++ b/sc/source/ui/inc/datastreams.hxx @@ -16,7 +16,6 @@ #include namespace datastreams { class CallerThread; } -namespace { class DataStreamsDlg; } class ScDocShell; class ScDocument; class ScRange; @@ -25,8 +24,19 @@ class Window; class DataStreams : boost::noncopyable { - friend DataStreamsDlg; +public: enum MoveEnum { NO_MOVE, RANGE_DOWN, MOVE_DOWN, MOVE_UP }; + DataStreams(ScDocShell *pScDocShell); + ~DataStreams(); + bool ImportData(); + void MoveData(); + void Set(const OUString& rUrl, bool bIsScript, const OUString& rRange, + sal_Int32 nLimit, MoveEnum eMove); + void ShowDialog(Window *pParent); + void Start(); + void Stop(); + +private: ScDocShell *mpScDocShell; ScDocument *mpScDocument; MoveEnum meMove; @@ -37,19 +47,6 @@ class DataStreams : boost::noncopyable boost::scoped_ptr mpEndRange; boost::scoped_ptr mpStream; rtl::Reference mxThread; - -public: - DataStreams(ScDocShell *pScDocShell); - ~DataStreams(); - bool ImportData(); - void ShowDialog(Window *pParent); - void Start(); - void Stop(); - -private: - void MoveData(); - void Set(const OUString& rUrl, bool bIsScript, const OUString& rRange, - sal_Int32 nLimit, MoveEnum eMove); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */