summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/include/cwindowmessenger.hxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-19 01:01:00 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-19 01:01:00 +0000
commita591b9ca86b86684f2804cedf5d0c17a3614e913 (patch)
treeb60235b0a038088298aa0f5497411fcb453c424d /NxWidgets/nxwm/include/cwindowmessenger.hxx
parent6cf694d2da5a661373a58c70e3d8e07cc8223eed (diff)
downloadpx4-nuttx-a591b9ca86b86684f2804cedf5d0c17a3614e913.tar.gz
px4-nuttx-a591b9ca86b86684f2804cedf5d0c17a3614e913.tar.bz2
px4-nuttx-a591b9ca86b86684f2804cedf5d0c17a3614e913.zip
NxWM: Add a missing part of the message blocking logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4748 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/include/cwindowmessenger.hxx')
-rw-r--r--NxWidgets/nxwm/include/cwindowmessenger.hxx18
1 files changed, 8 insertions, 10 deletions
diff --git a/NxWidgets/nxwm/include/cwindowmessenger.hxx b/NxWidgets/nxwm/include/cwindowmessenger.hxx
index 645e750cb..0aa8961bb 100644
--- a/NxWidgets/nxwm/include/cwindowmessenger.hxx
+++ b/NxWidgets/nxwm/include/cwindowmessenger.hxx
@@ -98,6 +98,14 @@ namespace NxWM
void handleKeyboardEvent(void);
#endif
+ /**
+ * Handle a NX window blocked event
+ *
+ * @param arg - User provided argument (see nx_block or nxtk_block)
+ */
+
+ void handleBlockedEvent(FAR void *arg);
+
public:
/**
@@ -111,16 +119,6 @@ namespace NxWM
*/
~CWindowMessenger(void);
-
- /**
- * Destroy the application window and everything in it. This is
- * handled by CWindowMessenger (vs just calling the destructors) because
- * in the case where an application destroys itself (because of pressing
- * the stop button), then we need to unwind and get out of the application
- * logic before destroying all of its objects.
- */
-
- void destroy(IApplication *app);
};
}
#endif // __cplusplus