summaryrefslogtreecommitdiff
path: root/include/sfx2/lokhelper.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-09-16 09:30:41 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-09-21 07:30:20 +0200
commit46588c42a546d4517b773853856b9c8f8c2e5ece (patch)
treeee35d297a358b2f28a388003e48920d7929535b9 /include/sfx2/lokhelper.hxx
parent855e1bac1d5155352706c7d849942f5dc453c67d (diff)
lok::Document: add get/setView()
Change-Id: Ic3bce8f01d7e048e853c063c4bce1255845c60d0
Diffstat (limited to 'include/sfx2/lokhelper.hxx')
-rw-r--r--include/sfx2/lokhelper.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sfx2/lokhelper.hxx b/include/sfx2/lokhelper.hxx
index b57cb7d75b23..a05cd5d4b210 100644
--- a/include/sfx2/lokhelper.hxx
+++ b/include/sfx2/lokhelper.hxx
@@ -21,6 +21,10 @@ public:
static int createView(SfxViewShell* pViewShell);
/// Destroy a view shell from the global shell list.
static void destroyView(size_t nId);
+ /// Set a view shell as current one.
+ static void setView(size_t nId);
+ /// Get the currently active view.
+ static size_t getView();
/// Total number of view shells.
static int getViews();