diff options
author | Uray M. János <uray.janos@gmail.com> | 2012-08-25 12:43:27 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-08-29 20:48:28 +0000 |
commit | c20f15c1ebf648c3ed71de0ac4771029c9bb59bb (patch) | |
tree | da9f3dddc80492e7ea2435aa6e0bf02e8d40153e /basctl/source/inc/propbrw.hxx | |
parent | cda156257003df673fa853a0a5ffcd1cb4848d43 (diff) |
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'basctl/source/inc/propbrw.hxx')
-rw-r--r-- | basctl/source/inc/propbrw.hxx | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/basctl/source/inc/propbrw.hxx b/basctl/source/inc/propbrw.hxx index 0e7c2fc579cb..ccf2a9ad4768 100644 --- a/basctl/source/inc/propbrw.hxx +++ b/basctl/source/inc/propbrw.hxx @@ -17,8 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef _BASCTL_PROPBRW_HXX -#define _BASCTL_PROPBRW_HXX +#ifndef BASCTL_PROPBRW_HXX +#define BASCTL_PROPBRW_HXX #include <com/sun/star/beans/XPropertySet.hpp> #include <comphelper/stl_types.hxx> @@ -27,6 +27,12 @@ #include <svl/lstner.hxx> #include <svx/svdmark.hxx> +class SfxBindings; +class SdrView; + +namespace basctl +{ + //============================================================================ // PropBrwMgr //============================================================================ @@ -42,9 +48,6 @@ public: // PropBrw //============================================================================ -class SfxBindings; -class SdrView; - class PropBrw : public SfxDockingWindow , public SfxListener, public SfxBroadcaster { private: @@ -91,7 +94,7 @@ public: using Window::Update; // note: changing the Context document to an instance other than the one given in the ctor is not supported // currently - void Update( const SfxViewShell* _pShell ); + void Update( const SfxViewShell* pShell ); SdrView* GetCurView() const { return pView; } private: @@ -100,6 +103,8 @@ private: void ImplReCreateController(); }; -#endif // _BASCTL_PROPBRW_HXX +} // namespace basctl + +#endif // BASCTL_PROPBRW_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |