summaryrefslogtreecommitdiff
path: root/basctl/source/inc/baside3.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/baside3.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/baside3.hxx')
-rw-r--r--basctl/source/inc/baside3.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/basctl/source/inc/baside3.hxx b/basctl/source/inc/baside3.hxx
index dda678b7c395..feb679dbcdb7 100644
--- a/basctl/source/inc/baside3.hxx
+++ b/basctl/source/inc/baside3.hxx
@@ -33,19 +33,20 @@
class Printer;
class StarBASIC;
class SfxItemSet;
-class DlgEditor;
-class DlgEdModel;
-class DlgEdPage;
-class DlgEdView;
class SfxUndoManager;
namespace basctl
{
+class DlgEditor;
+class DlgEdModel;
+class DlgEdPage;
+class DlgEdView;
+
class DialogWindowLayout;
class ObjectCatalog;
-class DialogWindow: public IDEBaseWindow
+class DialogWindow: public BaseWindow
{
private:
DialogWindowLayout& rLayout;
@@ -91,7 +92,7 @@ public:
bool ImportDialog();
virtual ::rtl::OUString GetTitle();
- virtual BasicEntryDescriptor CreateEntryDescriptor();
+ virtual EntryDescriptor CreateEntryDescriptor();
virtual void SetReadOnly (bool bReadOnly);
virtual bool IsReadOnly();
@@ -99,8 +100,7 @@ public:
virtual bool IsModified();
virtual bool IsPasteAllowed();
- virtual ::svl::IUndoManager*
- GetUndoManager();
+ virtual svl::IUndoManager* GetUndoManager();
// return number of pages to be printed
virtual sal_Int32 countPages( Printer* pPrinter );
// print page
@@ -112,7 +112,7 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible();
virtual char const* GetHid () const;
- virtual BasicIDEType GetType () const;
+ virtual ItemType GetType () const;
};
//
@@ -124,7 +124,7 @@ public:
DialogWindowLayout (Window* pParent, ObjectCatalog&);
public:
// Layout:
- virtual void Activating (IDEBaseWindow&);
+ virtual void Activating (BaseWindow&);
virtual void Deactivating ();
virtual void GetState (SfxItemSet&, unsigned nWhich);
virtual void UpdateDebug (bool){};
@@ -143,6 +143,6 @@ private:
} // namespace basctl
-#endif // BASCTL_BASIDE3_HXX
+#endif // BASCTL_BASIDE3_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */