summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-08-01 08:23:22 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-08-01 08:23:22 +0000
commitd6b309854a391a056d158446a326e861df21a1e2 (patch)
tree954a39695a4a7a06bee01dbfd1af24e0f9c54f63 /sd/source
parente8d2daae13baedb471e2c846860f89b7325b6ab5 (diff)
INTEGRATION: CWS impress99 (1.2.62); FILE MERGED
2006/07/05 09:38:34 af 1.2.62.1: #137393# Referencing MasterPageContainer::Implementation instead of MasterPageContainer.
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPageContainerQueue.hxx21
1 files changed, 16 insertions, 5 deletions
diff --git a/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.hxx b/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.hxx
index 5660482a5863..4a2f6b84c01a 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: MasterPageContainerQueue.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kz $ $Date: 2006-04-26 20:50:01 $
+ * last change: $Author: ihi $ $Date: 2006-08-01 09:23:22 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -40,9 +40,11 @@
#include "MasterPageDescriptor.hxx"
#include <boost/scoped_ptr.hpp>
+#include <boost/weak_ptr.hpp>
namespace sd { namespace toolpanel { namespace controls {
+
/** The queue stores and processes all requests from a MasterPageContainer
for the creation of previews.
The order of request processing and its timing is controlled by a
@@ -52,7 +54,16 @@ namespace sd { namespace toolpanel { namespace controls {
class MasterPageContainerQueue
{
public:
- static MasterPageContainerQueue* Create (MasterPageContainer& rContainer);
+ class ContainerAdapter { public:
+ virtual bool UpdateDescriptor (
+ const SharedMasterPageDescriptor& rpDescriptor,
+ bool bForcePageObject,
+ bool bForcePreview,
+ bool bSendEvents) = 0;
+ };
+
+ static MasterPageContainerQueue* Create (
+ const ::boost::weak_ptr<ContainerAdapter>& rpContainer);
virtual ~MasterPageContainerQueue (void);
/** This method is typically called for entries in the container for
@@ -80,7 +91,7 @@ public:
void ProcessAllRequests (void);
private:
- MasterPageContainer& mrContainer;
+ ::boost::weak_ptr<ContainerAdapter> mpWeakContainer;
class PreviewCreationRequest;
class RequestQueue;
::boost::scoped_ptr<RequestQueue> mpRequestQueue;
@@ -117,7 +128,7 @@ private:
*/
static sal_uInt32 snWaitForMoreRequestsCount;
- MasterPageContainerQueue (MasterPageContainer& rContainer);
+ MasterPageContainerQueue (const ::boost::weak_ptr<ContainerAdapter>& rpContainer);
void LateInit (void);
/** Calculate the priority that defines the order in which requests