summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/baside2.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/baside2.hxx')
-rw-r--r--basctl/source/basicide/baside2.hxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index fb48ae3202d4..774995de29dc 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -41,6 +41,7 @@ class SvxSearchItem;
#include <vcl/split.hxx>
#include <svl/lstner.hxx>
#include <svtools/colorcfg.hxx>
+#include "vcl/lstbox.hxx"
#include <sfx2/progress.hxx>
#include <unotools/options.hxx>
@@ -57,6 +58,7 @@ namespace basctl
{
class ObjectCatalog;
+class CodeCompleteListBox;
DBG_NAMEEX( ModulWindow )
@@ -109,6 +111,7 @@ private:
::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >
GetComponentInterface(sal_Bool bCreate = true);
std::vector< CodeCompleteData > aCodeCompleteCache;
+ CodeCompleteListBox* aListBox;
protected:
virtual void Paint( const Rectangle& );
@@ -463,6 +466,17 @@ private:
} aSyntaxColors;
};
+class CodeCompleteListBox: public ListBox
+{
+private:
+ EditorWindow* pParent; // parent window
+ DECL_LINK(ImplSelectHdl, void*);
+
+public:
+ CodeCompleteListBox(EditorWindow* pPar);
+ virtual ~CodeCompleteListBox();
+};
+
} // namespace basctl
#endif // BASCTL_BASIDE2_HXX