summaryrefslogtreecommitdiff
path: root/basctl/source/inc/dlgeddef.hxx
diff options
context:
space:
mode:
authorUray M. János <uray.janos@gmail.com>2012-08-25 12:43:27 +0200
committerAndras Timar <atimar@suse.com>2012-08-29 20:48:28 +0000
commitc20f15c1ebf648c3ed71de0ac4771029c9bb59bb (patch)
treeda9f3dddc80492e7ea2435aa6e0bf02e8d40153e /basctl/source/inc/dlgeddef.hxx
parentcda156257003df673fa853a0a5ffcd1cb4848d43 (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/dlgeddef.hxx')
-rw-r--r--basctl/source/inc/dlgeddef.hxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/basctl/source/inc/dlgeddef.hxx b/basctl/source/inc/dlgeddef.hxx
index 044170e9ed54..9e190cba744a 100644
--- a/basctl/source/inc/dlgeddef.hxx
+++ b/basctl/source/inc/dlgeddef.hxx
@@ -17,11 +17,14 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef _BASCTL_DLGEDDEF_HXX
-#define _BASCTL_DLGEDDEF_HXX
+#ifndef BASCTL_DLGEDDEF_HXX
+#define BASCTL_DLGEDDEF_HXX
#include <sal/types.h>
+namespace basctl
+{
+
const sal_uInt32 DlgInventor = sal_uInt32('D')*0x00000001+
sal_uInt32('L')*0x00000100+
sal_uInt32('G')*0x00010000+
@@ -80,6 +83,8 @@ const sal_uInt32 DlgInventor = sal_uInt32('D')*0x00000001+
#define DLGED_PROP_DECORATION ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Decoration" ) )
-#endif // _BASCTL_DLGEDDEF_HXX
+} // namespace basctl
+
+#endif // BASCTL_DLGEDDEF_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */