diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/gallery1.hxx | 9 | ||||
-rw-r--r-- | include/svx/gallerybinaryengineentry.hxx | 6 | ||||
-rw-r--r-- | include/svx/galtheme.hxx | 1 |
3 files changed, 12 insertions, 4 deletions
diff --git a/include/svx/gallery1.hxx b/include/svx/gallery1.hxx index f9b83afe606e..69ec2728a6df 100644 --- a/include/svx/gallery1.hxx +++ b/include/svx/gallery1.hxx @@ -33,6 +33,7 @@ class GalleryBinaryEngineEntry; class GalleryStorageLocations; +class GalleryTheme; class GalleryThemeEntry { @@ -56,6 +57,10 @@ public: GalleryStorageLocations& getGalleryStorageLocations() const { return *mpGalleryStorageEngineEntry->getGalleryStorageLocations(); } + GalleryTheme* createGalleryTheme(Gallery* pGallery); + + std::unique_ptr<GalleryBinaryEngine> createGalleryStorageEngine(GalleryObjectCollection& mrGalleryObjectCollection); + const OUString& GetThemeName() const { return aName; } bool IsReadOnly() const { return bReadOnly; } @@ -75,7 +80,7 @@ public: void removeTheme(); - std::unique_ptr<GalleryTheme> getCachedTheme(Gallery* pGallery) const; + std::unique_ptr<GalleryTheme> getCachedTheme(Gallery* pGallery); void setStorageLocations(INetURLObject& rURL); }; @@ -102,7 +107,7 @@ private: GalleryThemeEntry* ImplGetThemeEntry( const OUString& rThemeName ); - SAL_DLLPRIVATE GalleryTheme* ImplGetCachedTheme( const GalleryThemeEntry* pThemeEntry ); + SAL_DLLPRIVATE GalleryTheme* ImplGetCachedTheme( GalleryThemeEntry* pThemeEntry ); SAL_DLLPRIVATE void ImplDeleteCachedTheme( GalleryTheme const * pTheme ); Gallery& operator=( Gallery const & ) = delete; // MSVC2015 workaround diff --git a/include/svx/gallerybinaryengineentry.hxx b/include/svx/gallerybinaryengineentry.hxx index eeb989257e3b..b1130127765c 100644 --- a/include/svx/gallerybinaryengineentry.hxx +++ b/include/svx/gallerybinaryengineentry.hxx @@ -28,6 +28,8 @@ #include <svx/galleryfilestorageentry.hxx> class GalleryBinaryStorageLocations; +class GalleryObjectCollection; +class GalleryBinaryEngine; class GalleryBinaryEngineEntry : public GalleryFileStorageEntry { @@ -46,7 +48,6 @@ public: const INetURLObject& GetStrURL() const { return mpGalleryStorageLocations->GetStrURL(); } const std::unique_ptr<GalleryBinaryStorageLocations>& getGalleryStorageLocations() const - { return mpGalleryStorageLocations; } @@ -58,6 +59,9 @@ public: std::unique_ptr<GalleryTheme>& getCachedTheme(std::unique_ptr<GalleryTheme>& pNewTheme); void setStorageLocations(INetURLObject& rURL); + + std::unique_ptr<GalleryBinaryEngine> + createGalleryStorageEngine(GalleryObjectCollection& mrGalleryObjectCollection, bool& bReadOnly); }; SvStream& ReadGalleryTheme(SvStream& rIn, GalleryTheme& rTheme); diff --git a/include/svx/galtheme.hxx b/include/svx/galtheme.hxx index dcf5e7f198e4..61d360158847 100644 --- a/include/svx/galtheme.hxx +++ b/include/svx/galtheme.hxx @@ -68,7 +68,6 @@ private: bool bDragging; bool bAbortActualize; - std::unique_ptr<GalleryBinaryEngine> createGalleryStorageEngine(bool bReadOnly); const std::unique_ptr<GalleryBinaryEngine>& getGalleryStorageEngine() const { return mpGalleryStorageEngine; } SAL_DLLPRIVATE void ImplSetModified( bool bModified ); |