summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/include/iapplicationwindow.hxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-16 22:43:40 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-16 22:43:40 +0000
commit20958add7b2acc205e71569a3f318196baf7b7cf (patch)
tree5f479cc7c9a1bc538630ddaeae8c57b65b40e780 /NxWidgets/nxwm/include/iapplicationwindow.hxx
parent6d8337323f1d60e7845a83508d4bbd1e0318ec3b (diff)
downloadnuttx-20958add7b2acc205e71569a3f318196baf7b7cf.tar.gz
nuttx-20958add7b2acc205e71569a3f318196baf7b7cf.tar.bz2
nuttx-20958add7b2acc205e71569a3f318196baf7b7cf.zip
NxWM: Add IApplicationFactory so that we can create multiple instances of applications; And, as a result of that, re-vamp entire threading model. this is now buggier than it was before
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4742 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/include/iapplicationwindow.hxx')
-rw-r--r--NxWidgets/nxwm/include/iapplicationwindow.hxx19
1 files changed, 12 insertions, 7 deletions
diff --git a/NxWidgets/nxwm/include/iapplicationwindow.hxx b/NxWidgets/nxwm/include/iapplicationwindow.hxx
index b00a03fa2..fe8830c2f 100644
--- a/NxWidgets/nxwm/include/iapplicationwindow.hxx
+++ b/NxWidgets/nxwm/include/iapplicationwindow.hxx
@@ -42,13 +42,10 @@
#include <nuttx/config.h>
-#include "cnxtkwindow.hxx"
-#include "cnxtoolbar.hxx"
-#include "cwidgeteventargs.hxx"
-#include "cwidgeteventhandler.hxx"
-#include "cimage.hxx"
-#include "clabel.hxx"
-#include "crlepalettebitmap.hxx"
+#include "inxwindow.hxx"
+#include "cnxstring.hxx"
+
+#include "cwindowcontrol.hxx"
/****************************************************************************
* Pre-Processor Definitions
@@ -122,6 +119,14 @@ namespace NxWM
virtual NXWidgets::INxWindow *getWindow(void) const = 0;
/**
+ * Recover the contained window control
+ *
+ * @return. The window control used by this application
+ */
+
+ virtual CWindowControl *getWindowControl(void) const = 0;
+
+ /**
* Set the window label
*
* @param appname. The name of the application to place on the window